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
,unsigned char r
,unsigned char g
,unsigned char 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
,unsigned char red
,unsigned char green
,unsigned char 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 PyObject
* list
= PyList_New(count
);
2618 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2622 for (int i
=0; i
<count
; i
++) {
2623 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2629 static wxPyApp
*new_wxPyApp(){
2630 wxPythonApp
= new wxPyApp();
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 PyObject
* GetTopLevelWindows() {
2770 return wxPy_ConvertList(&wxTopLevelWindows
);
2774 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2775 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2778 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2780 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2781 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2782 wxMenuItemList
& list
= self
->GetMenuItems();
2783 return wxPy_ConvertList(&list
);
2785 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2786 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 return self
->Append(item
, data
);
2791 return self
->Append(item
);
2793 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2795 wxPyClientData
* data
= new wxPyClientData(clientData
);
2796 return self
->Insert(item
, pos
, data
);
2798 return self
->Insert(item
, pos
);
2800 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2801 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2803 Py_INCREF(data
->m_obj
);
2810 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2811 wxPyClientData
* data
= new wxPyClientData(clientData
);
2812 self
->SetClientObject(n
, data
);
2816 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2817 wxPyUserData
* data
= NULL
;
2819 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2820 data
= new wxPyUserData(userData
);
2821 wxPyEndBlockThreads(blocked
);
2823 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2825 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2826 wxPyUserData
* data
= NULL
;
2828 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2829 data
= new wxPyUserData(userData
);
2830 wxPyEndBlockThreads(blocked
);
2832 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2834 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2835 wxPyUserData
* data
= NULL
;
2837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2838 data
= new wxPyUserData(userData
);
2839 wxPyEndBlockThreads(blocked
);
2841 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2846 SWIG_CheckDoubleInRange(double value
, double min_value
,
2847 double max_value
, const char* errmsg
)
2849 if (value
< min_value
) {
2851 PyErr_Format(PyExc_OverflowError
,
2852 "value %g is less than %s minimum %g",
2853 value
, errmsg
, min_value
);
2856 } else if (value
> max_value
) {
2858 PyErr_Format(PyExc_OverflowError
,
2859 "value %g is greater than %s maximum %g",
2860 value
, errmsg
, max_value
);
2869 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2871 const char* errmsg
= val
? "float" : (char*)0;
2873 if (SWIG_AsVal_double(obj
, &v
)) {
2874 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2875 if (val
) *val
= (float)(v
);
2884 SWIG_type_error(errmsg
, obj
);
2890 SWIGINTERNSHORT
float
2891 SWIG_As_float(PyObject
* obj
)
2894 if (!SWIG_AsVal_float(obj
, &v
)) {
2896 this is needed to make valgrind/purify happier.
2898 memset((void*)&v
, 0, sizeof(float));
2905 SWIG_Check_float(PyObject
* obj
)
2907 return SWIG_AsVal_float(obj
, (float*)0);
2911 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2912 #define SWIG_From_float PyFloat_FromDouble
2915 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2916 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2918 Py_INCREF(data
->m_obj
);
2926 // Figure out the type of the sizer item
2928 struct wxPySizerItemInfo
{
2930 : window(NULL
), sizer(NULL
), gotSize(false),
2931 size(wxDefaultSize
), gotPos(false), pos(-1)
2942 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2944 wxPySizerItemInfo info
;
2946 wxSize
* sizePtr
= &size
;
2948 // Find out what the type of the item is
2950 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2955 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2959 // try wxSize or (w,h)
2960 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2961 info
.size
= *sizePtr
;
2962 info
.gotSize
= true;
2966 if (checkIdx
&& PyInt_Check(item
)) {
2967 info
.pos
= PyInt_AsLong(item
);
2973 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2974 // no expected type, figure out what kind of error message to generate
2975 if ( !checkSize
&& !checkIdx
)
2976 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2977 else if ( checkSize
&& !checkIdx
)
2978 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2979 else if ( !checkSize
&& checkIdx
)
2980 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2982 // can this one happen?
2983 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2989 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2990 if (!self
->GetClientObject())
2991 self
->SetClientObject(new wxPyOORClientData(_self
));
2993 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2995 wxPyUserData
* data
= NULL
;
2996 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2997 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2998 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2999 data
= new wxPyUserData(userData
);
3000 wxPyEndBlockThreads(blocked
);
3002 // Now call the real Add method if a valid item type was found
3004 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3005 else if ( info
.sizer
)
3006 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3007 else if (info
.gotSize
)
3008 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3009 proportion
, flag
, border
, data
);
3013 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3015 wxPyUserData
* data
= NULL
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3017 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3018 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3019 data
= new wxPyUserData(userData
);
3020 wxPyEndBlockThreads(blocked
);
3022 // Now call the real Insert method if a valid item type was found
3024 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3025 else if ( info
.sizer
)
3026 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3027 else if (info
.gotSize
)
3028 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3029 proportion
, flag
, border
, data
);
3033 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3035 wxPyUserData
* data
= NULL
;
3036 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3037 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3038 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3039 data
= new wxPyUserData(userData
);
3040 wxPyEndBlockThreads(blocked
);
3042 // Now call the real Prepend method if a valid item type was found
3044 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3045 else if ( info
.sizer
)
3046 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3047 else if (info
.gotSize
)
3048 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3049 proportion
, flag
, border
, data
);
3053 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3056 wxPyEndBlockThreads(blocked
);
3058 return self
->Remove(info
.window
);
3059 else if ( info
.sizer
)
3060 return self
->Remove(info
.sizer
);
3061 else if ( info
.gotPos
)
3062 return self
->Remove(info
.pos
);
3066 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3067 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3068 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3069 wxPyEndBlockThreads(blocked
);
3071 return self
->Detach(info
.window
);
3072 else if ( info
.sizer
)
3073 return self
->Detach(info
.sizer
);
3074 else if ( info
.gotPos
)
3075 return self
->Detach(info
.pos
);
3079 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3080 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3081 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3082 wxPyEndBlockThreads(blocked
);
3084 return self
->GetItem(info
.window
);
3085 else if ( info
.sizer
)
3086 return self
->GetItem(info
.sizer
);
3087 else if ( info
.gotPos
)
3088 return self
->GetItem(info
.pos
);
3092 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3094 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3095 wxPyEndBlockThreads(blocked
);
3097 self
->SetItemMinSize(info
.window
, size
);
3098 else if ( info
.sizer
)
3099 self
->SetItemMinSize(info
.sizer
, size
);
3100 else if ( info
.gotPos
)
3101 self
->SetItemMinSize(info
.pos
, size
);
3103 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3104 wxSizerItemList
& list
= self
->GetChildren();
3105 return wxPy_ConvertList(&list
);
3107 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3108 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3109 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3110 wxPyEndBlockThreads(blocked
);
3112 return self
->Show(info
.window
, show
, recursive
);
3113 else if ( info
.sizer
)
3114 return self
->Show(info
.sizer
, show
, recursive
);
3115 else if ( info
.gotPos
)
3116 return self
->Show(info
.pos
, show
);
3120 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3121 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3122 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3123 wxPyEndBlockThreads(blocked
);
3125 return self
->IsShown(info
.window
);
3126 else if ( info
.sizer
)
3127 return self
->IsShown(info
.sizer
);
3128 else if ( info
.gotPos
)
3129 return self
->IsShown(info
.pos
);
3135 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3136 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3137 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3142 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3144 if (source
== Py_None
) {
3145 **obj
= wxGBPosition(-1,-1);
3148 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3151 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3153 if (source
== Py_None
) {
3154 **obj
= wxGBSpan(-1,-1);
3157 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3161 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3165 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3167 PyObject
* tup
= PyTuple_New(2);
3168 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3169 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3170 wxPyEndBlockThreads(blocked
);
3173 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3174 self
->SetRowspan(rowspan
);
3175 self
->SetColspan(colspan
);
3177 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 PyObject
* tup
= PyTuple_New(2);
3180 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3181 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3182 wxPyEndBlockThreads(blocked
);
3185 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3186 wxPyUserData
* data
= NULL
;
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 data
= new wxPyUserData(userData
);
3190 wxPyEndBlockThreads(blocked
);
3192 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3194 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3195 wxPyUserData
* data
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 data
= new wxPyUserData(userData
);
3199 wxPyEndBlockThreads(blocked
);
3201 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3203 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3204 wxPyUserData
* data
= NULL
;
3206 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3207 data
= new wxPyUserData(userData
);
3208 wxPyEndBlockThreads(blocked
);
3210 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3212 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3214 self
->GetEndPos(row
, col
);
3215 return wxGBPosition(row
, col
);
3217 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3219 wxPyUserData
* data
= NULL
;
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3222 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3223 data
= new wxPyUserData(userData
);
3224 wxPyEndBlockThreads(blocked
);
3226 // Now call the real Add method if a valid item type was found
3228 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3229 else if ( info
.sizer
)
3230 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3231 else if (info
.gotSize
)
3232 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3233 pos
, span
, flag
, border
, data
);
3241 static int _wrap_EmptyString_set(PyObject
*) {
3242 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3247 static PyObject
*_wrap_EmptyString_get(void) {
3252 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3254 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3261 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3263 wxObject
*arg1
= (wxObject
*) 0 ;
3265 PyObject
* obj0
= 0 ;
3267 (char *) "self", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3272 if (SWIG_arg_fail(1)) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= wxObject_GetClassName(arg1
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3293 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 wxObject
*arg1
= (wxObject
*) 0 ;
3296 PyObject
* obj0
= 0 ;
3298 (char *) "self", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxObject_Destroy(arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3321 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3323 return Py_BuildValue((char *)"");
3325 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxSize
*arg1
= (wxSize
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3332 (char *) "self",(char *) "x", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 arg2
= (int)(SWIG_As_int(obj1
));
3340 if (SWIG_arg_fail(2)) SWIG_fail
;
3342 if (arg1
) (arg1
)->x
= arg2
;
3344 Py_INCREF(Py_None
); resultobj
= Py_None
;
3351 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxSize
*arg1
= (wxSize
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3363 result
= (int) ((arg1
)->x
);
3366 resultobj
= SWIG_From_int((int)(result
));
3374 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxSize
*arg1
= (wxSize
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "y", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail
;
3388 arg2
= (int)(SWIG_As_int(obj1
));
3389 if (SWIG_arg_fail(2)) SWIG_fail
;
3391 if (arg1
) (arg1
)->y
= arg2
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxSize
*arg1
= (wxSize
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3406 (char *) "self", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail
;
3412 result
= (int) ((arg1
)->y
);
3415 resultobj
= SWIG_From_int((int)(result
));
3423 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 int arg1
= (int) 0 ;
3426 int arg2
= (int) 0 ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3431 (char *) "w",(char *) "h", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3437 arg1
= (int)(SWIG_As_int(obj0
));
3438 if (SWIG_arg_fail(1)) SWIG_fail
;
3443 arg2
= (int)(SWIG_As_int(obj1
));
3444 if (SWIG_arg_fail(2)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3461 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxSize
*arg1
= (wxSize
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3466 (char *) "self", NULL
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3471 if (SWIG_arg_fail(1)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxSize
*arg1
= (wxSize
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3495 (char *) "self",(char *) "sz", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3500 if (SWIG_arg_fail(1)) SWIG_fail
;
3503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3521 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxSize
*arg1
= (wxSize
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3530 (char *) "self",(char *) "sz", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3535 if (SWIG_arg_fail(1)) SWIG_fail
;
3538 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxSize
*arg1
= (wxSize
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "sz", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail
;
3573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3584 resultptr
= new wxSize((wxSize
&)(result
));
3585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3593 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxSize
*arg1
= (wxSize
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "sz", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3607 if (SWIG_arg_fail(1)) SWIG_fail
;
3610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3621 resultptr
= new wxSize((wxSize
&)(result
));
3622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3630 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxSize
*arg1
= (wxSize
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3636 PyObject
* obj1
= 0 ;
3638 (char *) "self",(char *) "sz", NULL
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3643 if (SWIG_arg_fail(1)) SWIG_fail
;
3646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 (arg1
)->IncTo((wxSize
const &)*arg2
);
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3655 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxSize
*arg1
= (wxSize
*) 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "self",(char *) "sz", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3675 if (SWIG_arg_fail(1)) SWIG_fail
;
3678 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->DecTo((wxSize
const &)*arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxSize
*arg1
= (wxSize
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "w",(char *) "h", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail
;
3710 arg2
= (int)(SWIG_As_int(obj1
));
3711 if (SWIG_arg_fail(2)) SWIG_fail
;
3714 arg3
= (int)(SWIG_As_int(obj2
));
3715 if (SWIG_arg_fail(3)) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 (arg1
)->Set(arg2
,arg3
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3731 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxSize
*arg1
= (wxSize
*) 0 ;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3738 (char *) "self",(char *) "w", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3743 if (SWIG_arg_fail(1)) SWIG_fail
;
3745 arg2
= (int)(SWIG_As_int(obj1
));
3746 if (SWIG_arg_fail(2)) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->SetWidth(arg2
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxSize
*arg1
= (wxSize
*) 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "h", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3774 if (SWIG_arg_fail(1)) SWIG_fail
;
3776 arg2
= (int)(SWIG_As_int(obj1
));
3777 if (SWIG_arg_fail(2)) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 (arg1
)->SetHeight(arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxSize
*arg1
= (wxSize
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "self", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3804 if (SWIG_arg_fail(1)) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_From_int((int)(result
));
3821 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
;
3823 wxSize
*arg1
= (wxSize
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3827 (char *) "self", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3832 if (SWIG_arg_fail(1)) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= SWIG_From_int((int)(result
));
3849 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxSize
*arg1
= (wxSize
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3877 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxSize
*arg1
= (wxSize
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj1
= 0 ;
3885 (char *) "self",(char *) "size", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3890 if (SWIG_arg_fail(1)) SWIG_fail
;
3893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxSize
*arg1
= (wxSize
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (PyObject
*)wxSize_Get(arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3935 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3938 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3940 return Py_BuildValue((char *)"");
3942 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3946 PyObject
* obj0
= 0 ;
3947 PyObject
* obj1
= 0 ;
3949 (char *) "self",(char *) "x", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 arg2
= (double)(SWIG_As_double(obj1
));
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3959 if (arg1
) (arg1
)->x
= arg2
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3968 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3980 result
= (double) ((arg1
)->x
);
3983 resultobj
= SWIG_From_double((double)(result
));
3991 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 (char *) "self",(char *) "y", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4003 if (SWIG_arg_fail(1)) SWIG_fail
;
4005 arg2
= (double)(SWIG_As_double(obj1
));
4006 if (SWIG_arg_fail(2)) SWIG_fail
;
4008 if (arg1
) (arg1
)->y
= arg2
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4023 (char *) "self", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4028 if (SWIG_arg_fail(1)) SWIG_fail
;
4029 result
= (double) ((arg1
)->y
);
4032 resultobj
= SWIG_From_double((double)(result
));
4040 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 double arg1
= (double) 0.0 ;
4043 double arg2
= (double) 0.0 ;
4044 wxRealPoint
*result
;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4048 (char *) "x",(char *) "y", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4054 arg1
= (double)(SWIG_As_double(obj0
));
4055 if (SWIG_arg_fail(1)) SWIG_fail
;
4060 arg2
= (double)(SWIG_As_double(obj1
));
4061 if (SWIG_arg_fail(2)) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4078 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 Py_INCREF(Py_None
); resultobj
= Py_None
;
4103 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4106 wxRealPoint
*arg2
= 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "pt", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4117 if (SWIG_arg_fail(1)) SWIG_fail
;
4120 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4138 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4140 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4141 wxRealPoint
*arg2
= 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "pt", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4152 if (SWIG_arg_fail(1)) SWIG_fail
;
4155 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4173 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4176 wxRealPoint
*arg2
= 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "pt", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4187 if (SWIG_arg_fail(1)) SWIG_fail
;
4190 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4200 wxRealPoint
* resultptr
;
4201 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4210 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4213 wxRealPoint
*arg2
= 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "pt", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4224 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 wxRealPoint
* resultptr
;
4238 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4247 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4253 PyObject
* obj1
= 0 ;
4254 PyObject
* obj2
= 0 ;
4256 (char *) "self",(char *) "x",(char *) "y", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail
;
4263 arg2
= (double)(SWIG_As_double(obj1
));
4264 if (SWIG_arg_fail(2)) SWIG_fail
;
4267 arg3
= (double)(SWIG_As_double(obj2
));
4268 if (SWIG_arg_fail(3)) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 wxRealPoint_Set(arg1
,arg2
,arg3
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4310 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4313 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4315 return Py_BuildValue((char *)"");
4317 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxPoint
*arg1
= (wxPoint
*) 0 ;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4324 (char *) "self",(char *) "x", NULL
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4329 if (SWIG_arg_fail(1)) SWIG_fail
;
4331 arg2
= (int)(SWIG_As_int(obj1
));
4332 if (SWIG_arg_fail(2)) SWIG_fail
;
4334 if (arg1
) (arg1
)->x
= arg2
;
4336 Py_INCREF(Py_None
); resultobj
= Py_None
;
4343 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxPoint
*arg1
= (wxPoint
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4349 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4355 result
= (int) ((arg1
)->x
);
4358 resultobj
= SWIG_From_int((int)(result
));
4366 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxPoint
*arg1
= (wxPoint
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4373 (char *) "self",(char *) "y", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail
;
4380 arg2
= (int)(SWIG_As_int(obj1
));
4381 if (SWIG_arg_fail(2)) SWIG_fail
;
4383 if (arg1
) (arg1
)->y
= arg2
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxPoint
*arg1
= (wxPoint
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4398 (char *) "self", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4403 if (SWIG_arg_fail(1)) SWIG_fail
;
4404 result
= (int) ((arg1
)->y
);
4407 resultobj
= SWIG_From_int((int)(result
));
4415 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 int arg1
= (int) 0 ;
4418 int arg2
= (int) 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "x",(char *) "y", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 arg1
= (int)(SWIG_As_int(obj0
));
4430 if (SWIG_arg_fail(1)) SWIG_fail
;
4435 arg2
= (int)(SWIG_As_int(obj1
));
4436 if (SWIG_arg_fail(2)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4453 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxPoint
*arg1
= (wxPoint
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4463 if (SWIG_arg_fail(1)) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 Py_INCREF(Py_None
); resultobj
= Py_None
;
4478 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxPoint
*arg1
= (wxPoint
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4487 (char *) "self",(char *) "pt", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4492 if (SWIG_arg_fail(1)) SWIG_fail
;
4495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4513 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxPoint
*arg1
= (wxPoint
*) 0 ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4522 (char *) "self",(char *) "pt", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4527 if (SWIG_arg_fail(1)) SWIG_fail
;
4530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4548 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxPoint
*arg1
= (wxPoint
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4557 (char *) "self",(char *) "pt", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail
;
4565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4575 wxPoint
* resultptr
;
4576 resultptr
= new wxPoint((wxPoint
&)(result
));
4577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4585 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxPoint
*arg1
= (wxPoint
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4594 (char *) "self",(char *) "pt", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4599 if (SWIG_arg_fail(1)) SWIG_fail
;
4602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4612 wxPoint
* resultptr
;
4613 resultptr
= new wxPoint((wxPoint
&)(result
));
4614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4622 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxPoint
*arg1
= (wxPoint
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "pt", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4636 if (SWIG_arg_fail(1)) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4645 result
= (wxPoint
*) &_result_ref
;
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4658 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxPoint
*arg1
= (wxPoint
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4667 (char *) "self",(char *) "pt", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4672 if (SWIG_arg_fail(1)) SWIG_fail
;
4675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4681 result
= (wxPoint
*) &_result_ref
;
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4694 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxPoint
*arg1
= (wxPoint
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4703 (char *) "self",(char *) "x",(char *) "y", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(1)) SWIG_fail
;
4710 arg2
= (long)(SWIG_As_long(obj1
));
4711 if (SWIG_arg_fail(2)) SWIG_fail
;
4714 arg3
= (long)(SWIG_As_long(obj2
));
4715 if (SWIG_arg_fail(3)) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxPoint_Set(arg1
,arg2
,arg3
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxPoint
*arg1
= (wxPoint
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4742 if (SWIG_arg_fail(1)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (PyObject
*)wxPoint_Get(arg1
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4757 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4760 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4762 return Py_BuildValue((char *)"");
4764 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 int arg1
= (int) 0 ;
4767 int arg2
= (int) 0 ;
4768 int arg3
= (int) 0 ;
4769 int arg4
= (int) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4776 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4782 arg1
= (int)(SWIG_As_int(obj0
));
4783 if (SWIG_arg_fail(1)) SWIG_fail
;
4788 arg2
= (int)(SWIG_As_int(obj1
));
4789 if (SWIG_arg_fail(2)) SWIG_fail
;
4794 arg3
= (int)(SWIG_As_int(obj2
));
4795 if (SWIG_arg_fail(3)) SWIG_fail
;
4800 arg4
= (int)(SWIG_As_int(obj3
));
4801 if (SWIG_arg_fail(4)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4818 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "topLeft",(char *) "bottomRight", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4854 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "pos",(char *) "size", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4890 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "size", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4903 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4919 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRect
*arg1
= (wxRect
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4924 (char *) "self", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4929 if (SWIG_arg_fail(1)) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxRect
*arg1
= (wxRect
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (int)((wxRect
const *)arg1
)->GetX();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_From_int((int)(result
));
4972 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxRect
*arg1
= (wxRect
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4979 (char *) "self",(char *) "x", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4984 if (SWIG_arg_fail(1)) SWIG_fail
;
4986 arg2
= (int)(SWIG_As_int(obj1
));
4987 if (SWIG_arg_fail(2)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 Py_INCREF(Py_None
); resultobj
= Py_None
;
5003 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
;
5005 wxRect
*arg1
= (wxRect
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5014 if (SWIG_arg_fail(1)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (int)(arg1
)->GetY();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_From_int((int)(result
));
5031 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "y", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5043 if (SWIG_arg_fail(1)) SWIG_fail
;
5045 arg2
= (int)(SWIG_As_int(obj1
));
5046 if (SWIG_arg_fail(2)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxRect
*arg1
= (wxRect
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_From_int((int)(result
));
5090 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxRect
*arg1
= (wxRect
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5097 (char *) "self",(char *) "w", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 arg2
= (int)(SWIG_As_int(obj1
));
5105 if (SWIG_arg_fail(2)) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->SetWidth(arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxRect
*arg1
= (wxRect
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int((int)(result
));
5149 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxRect
*arg1
= (wxRect
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "h", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail
;
5163 arg2
= (int)(SWIG_As_int(obj1
));
5164 if (SWIG_arg_fail(2)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->SetHeight(arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 Py_INCREF(Py_None
); resultobj
= Py_None
;
5180 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxRect
*arg1
= (wxRect
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5186 (char *) "self", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5191 if (SWIG_arg_fail(1)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= ((wxRect
const *)arg1
)->GetPosition();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 wxPoint
* resultptr
;
5201 resultptr
= new wxPoint((wxPoint
&)(result
));
5202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5210 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxRect
*arg1
= (wxRect
*) 0 ;
5215 PyObject
* obj0
= 0 ;
5216 PyObject
* obj1
= 0 ;
5218 (char *) "self",(char *) "p", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5223 if (SWIG_arg_fail(1)) SWIG_fail
;
5226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 Py_INCREF(Py_None
); resultobj
= Py_None
;
5242 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
;
5244 wxRect
*arg1
= (wxRect
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= ((wxRect
const *)arg1
)->GetSize();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5263 resultptr
= new wxSize((wxSize
&)(result
));
5264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5272 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxRect
*arg1
= (wxRect
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5278 PyObject
* obj1
= 0 ;
5280 (char *) "self",(char *) "s", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->SetSize((wxSize
const &)*arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxRect
*arg1
= (wxRect
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5310 (char *) "self", NULL
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5315 if (SWIG_arg_fail(1)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5332 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRect
*arg1
= (wxRect
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 wxPoint
* resultptr
;
5353 resultptr
= new wxPoint((wxPoint
&)(result
));
5354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5362 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxRect
*arg1
= (wxRect
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "p", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxRect
*arg1
= (wxRect
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 wxPoint
* resultptr
;
5415 resultptr
= new wxPoint((wxPoint
&)(result
));
5416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5424 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxRect
*arg1
= (wxRect
*) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "p", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 Py_INCREF(Py_None
); resultobj
= Py_None
;
5456 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxRect
*arg1
= (wxRect
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5462 (char *) "self", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_From_int((int)(result
));
5484 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxRect
*arg1
= (wxRect
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "self", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(1)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)((wxRect
const *)arg1
)->GetTop();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_From_int((int)(result
));
5512 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxRect
*arg1
= (wxRect
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5518 (char *) "self", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= SWIG_From_int((int)(result
));
5540 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxRect
*arg1
= (wxRect
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (int)((wxRect
const *)arg1
)->GetRight();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_From_int((int)(result
));
5568 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxRect
*arg1
= (wxRect
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "left", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 arg2
= (int)(SWIG_As_int(obj1
));
5583 if (SWIG_arg_fail(2)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetLeft(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxRect
*arg1
= (wxRect
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "right", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 arg2
= (int)(SWIG_As_int(obj1
));
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetRight(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRect
*arg1
= (wxRect
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5637 (char *) "self",(char *) "top", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5644 arg2
= (int)(SWIG_As_int(obj1
));
5645 if (SWIG_arg_fail(2)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 (arg1
)->SetTop(arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxRect
*arg1
= (wxRect
*) 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5668 (char *) "self",(char *) "bottom", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail
;
5675 arg2
= (int)(SWIG_As_int(obj1
));
5676 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetBottom(arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxRect
*arg1
= (wxRect
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5702 (char *) "self",(char *) "dx",(char *) "dy", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 arg2
= (int)(SWIG_As_int(obj1
));
5710 if (SWIG_arg_fail(2)) SWIG_fail
;
5713 arg3
= (int)(SWIG_As_int(obj2
));
5714 if (SWIG_arg_fail(3)) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5720 result
= (wxRect
*) &_result_ref
;
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5733 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxRect
*arg1
= (wxRect
*) 0 ;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj1
= 0 ;
5741 PyObject
* obj2
= 0 ;
5743 (char *) "self",(char *) "dx",(char *) "dy", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5748 if (SWIG_arg_fail(1)) SWIG_fail
;
5750 arg2
= (int)(SWIG_As_int(obj1
));
5751 if (SWIG_arg_fail(2)) SWIG_fail
;
5754 arg3
= (int)(SWIG_As_int(obj2
));
5755 if (SWIG_arg_fail(3)) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5761 result
= (wxRect
*) &_result_ref
;
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5774 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxRect
*arg1
= (wxRect
*) 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 PyObject
* obj2
= 0 ;
5783 (char *) "self",(char *) "dx",(char *) "dy", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 arg2
= (int)(SWIG_As_int(obj1
));
5791 if (SWIG_arg_fail(2)) SWIG_fail
;
5794 arg3
= (int)(SWIG_As_int(obj2
));
5795 if (SWIG_arg_fail(3)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->Offset(arg2
,arg3
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxRect
*arg1
= (wxRect
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5819 (char *) "self",(char *) "pt", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5824 if (SWIG_arg_fail(1)) SWIG_fail
;
5827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 (arg1
)->Offset((wxPoint
const &)*arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 Py_INCREF(Py_None
); resultobj
= Py_None
;
5843 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxRect
*arg1
= (wxRect
*) 0 ;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5852 (char *) "self",(char *) "rect", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5857 if (SWIG_arg_fail(1)) SWIG_fail
;
5860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5871 resultptr
= new wxRect((wxRect
&)(result
));
5872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5880 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxRect
*arg1
= (wxRect
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5889 (char *) "self",(char *) "rect", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5894 if (SWIG_arg_fail(1)) SWIG_fail
;
5897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5908 resultptr
= new wxRect((wxRect
&)(result
));
5909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5917 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxRect
*arg1
= (wxRect
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5926 (char *) "self",(char *) "rect", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5931 if (SWIG_arg_fail(1)) SWIG_fail
;
5934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5945 resultptr
= new wxRect((wxRect
&)(result
));
5946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5954 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxRect
*arg1
= (wxRect
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5963 (char *) "self",(char *) "rect", NULL
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5968 if (SWIG_arg_fail(1)) SWIG_fail
;
5971 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5977 result
= (wxRect
*) &_result_ref
;
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5990 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxRect
*arg1
= (wxRect
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "rect", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxRect
*arg1
= (wxRect
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6034 (char *) "self",(char *) "rect", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6039 if (SWIG_arg_fail(1)) SWIG_fail
;
6042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxRect
*arg1
= (wxRect
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 PyObject
* obj2
= 0 ;
6070 (char *) "self",(char *) "x",(char *) "y", NULL
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6075 if (SWIG_arg_fail(1)) SWIG_fail
;
6077 arg2
= (int)(SWIG_As_int(obj1
));
6078 if (SWIG_arg_fail(2)) SWIG_fail
;
6081 arg3
= (int)(SWIG_As_int(obj2
));
6082 if (SWIG_arg_fail(3)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxRect
*arg1
= (wxRect
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "pt", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6135 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6144 (char *) "self",(char *) "rect", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6149 if (SWIG_arg_fail(1)) SWIG_fail
;
6152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6170 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxRect
*arg1
= (wxRect
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6177 (char *) "self",(char *) "x", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6182 if (SWIG_arg_fail(1)) SWIG_fail
;
6184 arg2
= (int)(SWIG_As_int(obj1
));
6185 if (SWIG_arg_fail(2)) SWIG_fail
;
6187 if (arg1
) (arg1
)->x
= arg2
;
6189 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxRect
*arg1
= (wxRect
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "self", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail
;
6208 result
= (int) ((arg1
)->x
);
6211 resultobj
= SWIG_From_int((int)(result
));
6219 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxRect
*arg1
= (wxRect
*) 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6226 (char *) "self",(char *) "y", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6231 if (SWIG_arg_fail(1)) SWIG_fail
;
6233 arg2
= (int)(SWIG_As_int(obj1
));
6234 if (SWIG_arg_fail(2)) SWIG_fail
;
6236 if (arg1
) (arg1
)->y
= arg2
;
6238 Py_INCREF(Py_None
); resultobj
= Py_None
;
6245 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6247 wxRect
*arg1
= (wxRect
*) 0 ;
6249 PyObject
* obj0
= 0 ;
6251 (char *) "self", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6256 if (SWIG_arg_fail(1)) SWIG_fail
;
6257 result
= (int) ((arg1
)->y
);
6260 resultobj
= SWIG_From_int((int)(result
));
6268 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxRect
*arg1
= (wxRect
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "width", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 arg2
= (int)(SWIG_As_int(obj1
));
6283 if (SWIG_arg_fail(2)) SWIG_fail
;
6285 if (arg1
) (arg1
)->width
= arg2
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxRect
*arg1
= (wxRect
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail
;
6306 result
= (int) ((arg1
)->width
);
6309 resultobj
= SWIG_From_int((int)(result
));
6317 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxRect
*arg1
= (wxRect
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6324 (char *) "self",(char *) "height", NULL
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6329 if (SWIG_arg_fail(1)) SWIG_fail
;
6331 arg2
= (int)(SWIG_As_int(obj1
));
6332 if (SWIG_arg_fail(2)) SWIG_fail
;
6334 if (arg1
) (arg1
)->height
= arg2
;
6336 Py_INCREF(Py_None
); resultobj
= Py_None
;
6343 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxRect
*arg1
= (wxRect
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6355 result
= (int) ((arg1
)->height
);
6358 resultobj
= SWIG_From_int((int)(result
));
6366 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxRect
*arg1
= (wxRect
*) 0 ;
6369 int arg2
= (int) 0 ;
6370 int arg3
= (int) 0 ;
6371 int arg4
= (int) 0 ;
6372 int arg5
= (int) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 PyObject
* obj2
= 0 ;
6376 PyObject
* obj3
= 0 ;
6377 PyObject
* obj4
= 0 ;
6379 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail
;
6387 arg2
= (int)(SWIG_As_int(obj1
));
6388 if (SWIG_arg_fail(2)) SWIG_fail
;
6393 arg3
= (int)(SWIG_As_int(obj2
));
6394 if (SWIG_arg_fail(3)) SWIG_fail
;
6399 arg4
= (int)(SWIG_As_int(obj3
));
6400 if (SWIG_arg_fail(4)) SWIG_fail
;
6405 arg5
= (int)(SWIG_As_int(obj4
));
6406 if (SWIG_arg_fail(5)) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 Py_INCREF(Py_None
); resultobj
= Py_None
;
6423 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxRect
*arg1
= (wxRect
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (PyObject
*)wxRect_Get(arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6449 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxRect
*arg1
= (wxRect
*) 0 ;
6459 wxRect
*arg2
= (wxRect
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "r1",(char *) "r2", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail
;
6470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6471 if (SWIG_arg_fail(2)) SWIG_fail
;
6473 if (!wxPyCheckForApp()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6487 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 double arg1
= (double) 0.0 ;
6490 double arg2
= (double) 0.0 ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6495 (char *) "x",(char *) "y", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6501 arg1
= (double)(SWIG_As_double(obj0
));
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6507 arg2
= (double)(SWIG_As_double(obj1
));
6508 if (SWIG_arg_fail(2)) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6525 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPoint2D
*arg1
= 0 ;
6530 PyObject
* obj0
= 0 ;
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6538 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6554 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6559 PyObject
* obj0
= 0 ;
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6567 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6583 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6586 int *arg2
= (int *) 0 ;
6587 int *arg3
= (int *) 0 ;
6592 PyObject
* obj0
= 0 ;
6594 (char *) "self", NULL
6597 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6598 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6611 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6612 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6620 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6623 int *arg2
= (int *) 0 ;
6624 int *arg3
= (int *) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6635 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6648 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6649 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6650 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6657 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6668 if (SWIG_arg_fail(1)) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_From_double((double)(result
));
6685 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "self", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6696 if (SWIG_arg_fail(1)) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_From_double((double)(result
));
6713 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "length", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6727 arg2
= (double)(SWIG_As_double(obj1
));
6728 if (SWIG_arg_fail(2)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 (arg1
)->SetVectorLength(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 Py_INCREF(Py_None
); resultobj
= Py_None
;
6744 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6751 (char *) "self",(char *) "degrees", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail
;
6758 arg2
= (double)(SWIG_As_double(obj1
));
6759 if (SWIG_arg_fail(2)) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetVectorAngle(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6778 wxPoint2D
*arg2
= 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "pt", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_From_double((double)(result
));
6810 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6813 wxPoint2D
*arg2
= 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "pt", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_double((double)(result
));
6845 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6848 wxPoint2D
*arg2
= 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "vec", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_From_double((double)(result
));
6880 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6883 wxPoint2D
*arg2
= 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "vec", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_From_double((double)(result
));
6915 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (arg1
)->operator -();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 wxPoint2D
* resultptr
;
6936 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6945 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6948 wxPoint2D
*arg2
= 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "pt", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6962 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6968 result
= (wxPoint2D
*) &_result_ref
;
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6981 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6984 wxPoint2D
*arg2
= 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 (char *) "self",(char *) "pt", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6995 if (SWIG_arg_fail(1)) SWIG_fail
;
6998 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7004 result
= (wxPoint2D
*) &_result_ref
;
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7017 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7020 wxPoint2D
*arg2
= 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7026 (char *) "self",(char *) "pt", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7034 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7040 result
= (wxPoint2D
*) &_result_ref
;
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7053 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7056 wxPoint2D
*arg2
= 0 ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7062 (char *) "self",(char *) "pt", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7067 if (SWIG_arg_fail(1)) SWIG_fail
;
7070 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7076 result
= (wxPoint2D
*) &_result_ref
;
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7089 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7092 wxPoint2D
*arg2
= 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "pt", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7124 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7127 wxPoint2D
*arg2
= 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "pt", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7138 if (SWIG_arg_fail(1)) SWIG_fail
;
7141 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7164 PyObject
* obj1
= 0 ;
7166 (char *) "self",(char *) "m_x", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7171 if (SWIG_arg_fail(1)) SWIG_fail
;
7173 arg2
= (double)(SWIG_As_double(obj1
));
7174 if (SWIG_arg_fail(2)) SWIG_fail
;
7176 if (arg1
) (arg1
)->m_x
= arg2
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "self", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7196 if (SWIG_arg_fail(1)) SWIG_fail
;
7197 result
= (double) ((arg1
)->m_x
);
7200 resultobj
= SWIG_From_double((double)(result
));
7208 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7215 (char *) "self",(char *) "m_y", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7222 arg2
= (double)(SWIG_As_double(obj1
));
7223 if (SWIG_arg_fail(2)) SWIG_fail
;
7225 if (arg1
) (arg1
)->m_y
= arg2
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "self", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail
;
7246 result
= (double) ((arg1
)->m_y
);
7249 resultobj
= SWIG_From_double((double)(result
));
7257 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7260 double arg2
= (double) 0 ;
7261 double arg3
= (double) 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7264 PyObject
* obj2
= 0 ;
7266 (char *) "self",(char *) "x",(char *) "y", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7274 arg2
= (double)(SWIG_As_double(obj1
));
7275 if (SWIG_arg_fail(2)) SWIG_fail
;
7280 arg3
= (double)(SWIG_As_double(obj2
));
7281 if (SWIG_arg_fail(3)) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 wxPoint2D_Set(arg1
,arg2
,arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7324 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7327 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7329 return Py_BuildValue((char *)"");
7331 static int _wrap_DefaultPosition_set(PyObject
*) {
7332 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7337 static PyObject
*_wrap_DefaultPosition_get(void) {
7340 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7345 static int _wrap_DefaultSize_set(PyObject
*) {
7346 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7351 static PyObject
*_wrap_DefaultSize_get(void) {
7354 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7359 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 PyObject
*arg1
= (PyObject
*) 0 ;
7362 wxPyInputStream
*result
;
7363 PyObject
* obj0
= 0 ;
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7384 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 Py_INCREF(Py_None
); resultobj
= Py_None
;
7409 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "self", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7419 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7439 (char *) "self", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7444 if (SWIG_arg_fail(1)) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "self", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->eof();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7487 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7490 int arg2
= (int) -1 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "size", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7500 if (SWIG_arg_fail(1)) SWIG_fail
;
7503 arg2
= (int)(SWIG_As_int(obj1
));
7504 if (SWIG_arg_fail(2)) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (PyObject
*)(arg1
)->read(arg2
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7521 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7524 int arg2
= (int) -1 ;
7526 PyObject
* obj0
= 0 ;
7527 PyObject
* obj1
= 0 ;
7529 (char *) "self",(char *) "size", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7534 if (SWIG_arg_fail(1)) SWIG_fail
;
7537 arg2
= (int)(SWIG_As_int(obj1
));
7538 if (SWIG_arg_fail(2)) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (PyObject
*)(arg1
)->readline(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7555 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7558 int arg2
= (int) -1 ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7563 (char *) "self",(char *) "sizehint", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7571 arg2
= (int)(SWIG_As_int(obj1
));
7572 if (SWIG_arg_fail(2)) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7589 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7593 int arg3
= (int) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 PyObject
* obj2
= 0 ;
7598 (char *) "self",(char *) "offset",(char *) "whence", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 arg2
= (int)(SWIG_As_int(obj1
));
7606 if (SWIG_arg_fail(2)) SWIG_fail
;
7610 arg3
= (int)(SWIG_As_int(obj2
));
7611 if (SWIG_arg_fail(3)) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 (arg1
)->seek(arg2
,arg3
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 Py_INCREF(Py_None
); resultobj
= Py_None
;
7628 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7634 (char *) "self", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (int)(arg1
)->tell();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_From_int((int)(result
));
7656 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (char)(arg1
)->Peek();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_From_char((char)(result
));
7684 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(1)) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (char)(arg1
)->GetC();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_From_char((char)(result
));
7712 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 result
= (size_t)(arg1
)->LastRead();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7740 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7746 (char *) "self", NULL
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7751 if (SWIG_arg_fail(1)) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)(arg1
)->CanRead();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7768 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7774 (char *) "self", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (bool)(arg1
)->Eof();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7796 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "c", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 arg2
= (char)(SWIG_As_char(obj1
));
7812 if (SWIG_arg_fail(2)) SWIG_fail
;
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (bool)(arg1
)->Ungetch(arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7830 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7834 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 PyObject
* obj2
= 0 ;
7840 (char *) "self",(char *) "pos",(char *) "mode", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 arg2
= (long)(SWIG_As_long(obj1
));
7848 if (SWIG_arg_fail(2)) SWIG_fail
;
7852 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7853 if (SWIG_arg_fail(3)) SWIG_fail
;
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_long((long)(result
));
7872 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7878 (char *) "self", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail
;
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 result
= (long)(arg1
)->TellI();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_From_long((long)(result
));
7900 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7905 return Py_BuildValue((char *)"");
7907 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7910 PyObject
*arg2
= (PyObject
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7914 (char *) "self",(char *) "obj", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 wxOutputStream_write(arg1
,arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 Py_INCREF(Py_None
); resultobj
= Py_None
;
7935 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7938 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7940 return Py_BuildValue((char *)"");
7942 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7945 wxString
*arg2
= 0 ;
7946 wxString
*arg3
= 0 ;
7947 wxString
*arg4
= 0 ;
7950 wxPyInputStream
*temp1
;
7951 bool temp2
= false ;
7952 bool temp3
= false ;
7953 bool temp4
= false ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 PyObject
* obj3
= 0 ;
7958 PyObject
* obj4
= 0 ;
7960 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7965 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7966 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7968 PyErr_Clear(); // clear the failure of the wxPyConvert above
7969 arg1
= wxPyCBInputStream_create(obj0
, true);
7971 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7977 arg2
= wxString_in_helper(obj1
);
7978 if (arg2
== NULL
) SWIG_fail
;
7982 arg3
= wxString_in_helper(obj2
);
7983 if (arg3
== NULL
) SWIG_fail
;
7987 arg4
= wxString_in_helper(obj3
);
7988 if (arg4
== NULL
) SWIG_fail
;
7993 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7994 if (SWIG_arg_fail(5)) SWIG_fail
;
7996 SWIG_null_ref("wxDateTime");
7998 if (SWIG_arg_fail(5)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= wxPyMake_wxObject(result
, 1);
8041 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(1)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8069 wxInputStream
*result
;
8070 PyObject
* obj0
= 0 ;
8072 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (wxInputStream
*)(arg1
)->GetStream();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8086 wxPyInputStream
* _ptr
= NULL
;
8089 _ptr
= new wxPyInputStream(result
);
8091 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8099 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8110 if (SWIG_arg_fail(1)) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8115 result
= (wxString
*) &_result_ref
;
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8134 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "self", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8145 if (SWIG_arg_fail(1)) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 wxString
const &_result_ref
= (arg1
)->GetLocation();
8150 result
= (wxString
*) &_result_ref
;
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8169 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8185 result
= (wxString
*) &_result_ref
;
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8204 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8215 if (SWIG_arg_fail(1)) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (arg1
)->GetModificationTime();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 wxDateTime
* resultptr
;
8225 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8234 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8237 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8239 return Py_BuildValue((char *)"");
8241 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8244 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8246 return Py_BuildValue((char *)"");
8248 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyFileSystemHandler
*result
;
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8270 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8273 PyObject
*arg2
= (PyObject
*) 0 ;
8274 PyObject
*arg3
= (PyObject
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8276 PyObject
* obj1
= 0 ;
8277 PyObject
* obj2
= 0 ;
8279 (char *) "self",(char *) "self",(char *) "_class", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8284 if (SWIG_arg_fail(1)) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8304 wxString
*arg2
= 0 ;
8306 bool temp2
= false ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8310 (char *) "self",(char *) "location", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8315 if (SWIG_arg_fail(1)) SWIG_fail
;
8317 arg2
= wxString_in_helper(obj1
);
8318 if (arg2
== NULL
) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8345 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8348 wxFileSystem
*arg2
= 0 ;
8349 wxString
*arg3
= 0 ;
8351 bool temp3
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8356 (char *) "self",(char *) "fs",(char *) "location", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8361 if (SWIG_arg_fail(1)) SWIG_fail
;
8363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(2)) SWIG_fail
;
8366 SWIG_null_ref("wxFileSystem");
8368 if (SWIG_arg_fail(2)) SWIG_fail
;
8371 arg3
= wxString_in_helper(obj2
);
8372 if (arg3
== NULL
) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= wxPyMake_wxObject(result
, 1);
8399 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8402 wxString
*arg2
= 0 ;
8403 int arg3
= (int) 0 ;
8405 bool temp2
= false ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8410 (char *) "self",(char *) "spec",(char *) "flags", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 arg2
= wxString_in_helper(obj1
);
8418 if (arg2
== NULL
) SWIG_fail
;
8423 arg3
= (int)(SWIG_As_int(obj2
));
8424 if (SWIG_arg_fail(3)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8455 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8466 if (SWIG_arg_fail(1)) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (arg1
)->FindNext();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8487 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8490 wxString
*arg2
= 0 ;
8492 bool temp2
= false ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "location", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8501 if (SWIG_arg_fail(1)) SWIG_fail
;
8503 arg2
= wxString_in_helper(obj1
);
8504 if (arg2
== NULL
) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8535 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8538 wxString
*arg2
= 0 ;
8540 bool temp2
= false ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8544 (char *) "self",(char *) "location", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8549 if (SWIG_arg_fail(1)) SWIG_fail
;
8551 arg2
= wxString_in_helper(obj1
);
8552 if (arg2
== NULL
) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8583 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8586 wxString
*arg2
= 0 ;
8588 bool temp2
= false ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "self",(char *) "location", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8597 if (SWIG_arg_fail(1)) SWIG_fail
;
8599 arg2
= wxString_in_helper(obj1
);
8600 if (arg2
== NULL
) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8631 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8634 wxString
*arg2
= 0 ;
8636 bool temp2
= false ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "self",(char *) "location", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 arg2
= wxString_in_helper(obj1
);
8648 if (arg2
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8679 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8682 wxString
*arg2
= 0 ;
8684 bool temp2
= false ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "location", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8693 if (SWIG_arg_fail(1)) SWIG_fail
;
8695 arg2
= wxString_in_helper(obj1
);
8696 if (arg2
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8727 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8730 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8732 return Py_BuildValue((char *)"");
8734 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxFileSystem
*result
;
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (wxFileSystem
*)new wxFileSystem();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= wxPyMake_wxObject(result
, 1);
8758 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8786 wxString
*arg2
= 0 ;
8787 bool arg3
= (bool) false ;
8788 bool temp2
= false ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8793 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail
;
8800 arg2
= wxString_in_helper(obj1
);
8801 if (arg2
== NULL
) SWIG_fail
;
8806 arg3
= (bool)(SWIG_As_bool(obj2
));
8807 if (SWIG_arg_fail(3)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (arg1
)->GetPath();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8864 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8867 wxString
*arg2
= 0 ;
8869 bool temp2
= false ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8873 (char *) "self",(char *) "location", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8878 if (SWIG_arg_fail(1)) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= wxPyMake_wxObject(result
, 1);
8908 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8911 wxString
*arg2
= 0 ;
8912 int arg3
= (int) 0 ;
8914 bool temp2
= false ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8919 (char *) "self",(char *) "spec",(char *) "flags", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 arg2
= wxString_in_helper(obj1
);
8927 if (arg2
== NULL
) SWIG_fail
;
8932 arg3
= (int)(SWIG_As_int(obj2
));
8933 if (SWIG_arg_fail(3)) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8964 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (arg1
)->FindNext();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8996 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "handler", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 wxFileSystem::AddHandler(arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxFileSystem::CleanUpHandlers();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxString
*arg1
= 0 ;
9046 bool temp1
= false ;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "filename", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9054 arg1
= wxString_in_helper(obj0
);
9055 if (arg1
== NULL
) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9086 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxString
*arg1
= 0 ;
9090 bool temp1
= false ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "url", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9098 arg1
= wxString_in_helper(obj0
);
9099 if (arg1
== NULL
) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9130 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9133 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9135 return Py_BuildValue((char *)"");
9137 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxInternetFSHandler
*result
;
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9159 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9162 wxString
*arg2
= 0 ;
9164 bool temp2
= false ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9168 (char *) "self",(char *) "location", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9173 if (SWIG_arg_fail(1)) SWIG_fail
;
9175 arg2
= wxString_in_helper(obj1
);
9176 if (arg2
== NULL
) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9206 wxFileSystem
*arg2
= 0 ;
9207 wxString
*arg3
= 0 ;
9209 bool temp3
= false ;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9212 PyObject
* obj2
= 0 ;
9214 (char *) "self",(char *) "fs",(char *) "location", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9219 if (SWIG_arg_fail(1)) SWIG_fail
;
9221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9222 if (SWIG_arg_fail(2)) SWIG_fail
;
9224 SWIG_null_ref("wxFileSystem");
9226 if (SWIG_arg_fail(2)) SWIG_fail
;
9229 arg3
= wxString_in_helper(obj2
);
9230 if (arg3
== NULL
) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= wxPyMake_wxObject(result
, 1);
9257 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9260 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9262 return Py_BuildValue((char *)"");
9264 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxZipFSHandler
*result
;
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9286 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9289 wxString
*arg2
= 0 ;
9291 bool temp2
= false ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "location", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail
;
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9333 wxFileSystem
*arg2
= 0 ;
9334 wxString
*arg3
= 0 ;
9336 bool temp3
= false ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 PyObject
* obj2
= 0 ;
9341 (char *) "self",(char *) "fs",(char *) "location", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9346 if (SWIG_arg_fail(1)) SWIG_fail
;
9348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(2)) SWIG_fail
;
9351 SWIG_null_ref("wxFileSystem");
9353 if (SWIG_arg_fail(2)) SWIG_fail
;
9356 arg3
= wxString_in_helper(obj2
);
9357 if (arg3
== NULL
) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= wxPyMake_wxObject(result
, 1);
9384 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9387 wxString
*arg2
= 0 ;
9388 int arg3
= (int) 0 ;
9390 bool temp2
= false ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "spec",(char *) "flags", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 arg2
= wxString_in_helper(obj1
);
9403 if (arg2
== NULL
) SWIG_fail
;
9408 arg3
= (int)(SWIG_As_int(obj2
));
9409 if (SWIG_arg_fail(3)) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9440 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (arg1
)->FindNext();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9472 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9475 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9477 return Py_BuildValue((char *)"");
9479 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxString
*arg1
= 0 ;
9484 bool temp1
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9489 (char *) "filename",(char *) "image",(char *) "type", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9494 arg1
= wxString_in_helper(obj0
);
9495 if (arg1
== NULL
) SWIG_fail
;
9499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(2)) SWIG_fail
;
9502 SWIG_null_ref("wxImage");
9504 if (SWIG_arg_fail(2)) SWIG_fail
;
9507 arg3
= (long)(SWIG_As_long(obj2
));
9508 if (SWIG_arg_fail(3)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 Py_INCREF(Py_None
); resultobj
= Py_None
;
9532 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxString
*arg1
= 0 ;
9535 wxBitmap
*arg2
= 0 ;
9537 bool temp1
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9542 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9547 arg1
= wxString_in_helper(obj0
);
9548 if (arg1
== NULL
) SWIG_fail
;
9552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9553 if (SWIG_arg_fail(2)) SWIG_fail
;
9555 SWIG_null_ref("wxBitmap");
9557 if (SWIG_arg_fail(2)) SWIG_fail
;
9560 arg3
= (long)(SWIG_As_long(obj2
));
9561 if (SWIG_arg_fail(3)) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxString
*arg1
= 0 ;
9588 PyObject
*arg2
= (PyObject
*) 0 ;
9589 bool temp1
= false ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9593 (char *) "filename",(char *) "data", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9598 arg1
= wxString_in_helper(obj0
);
9599 if (arg1
== NULL
) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxMemoryFSHandler
*result
;
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9647 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxString
*arg1
= 0 ;
9650 bool temp1
= false ;
9651 PyObject
* obj0
= 0 ;
9653 (char *) "filename", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9658 arg1
= wxString_in_helper(obj0
);
9659 if (arg1
== NULL
) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9687 wxString
*arg2
= 0 ;
9689 bool temp2
= false ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "location", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9700 arg2
= wxString_in_helper(obj1
);
9701 if (arg2
== NULL
) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9731 wxFileSystem
*arg2
= 0 ;
9732 wxString
*arg3
= 0 ;
9734 bool temp3
= false ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9737 PyObject
* obj2
= 0 ;
9739 (char *) "self",(char *) "fs",(char *) "location", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(2)) SWIG_fail
;
9749 SWIG_null_ref("wxFileSystem");
9751 if (SWIG_arg_fail(2)) SWIG_fail
;
9754 arg3
= wxString_in_helper(obj2
);
9755 if (arg3
== NULL
) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= wxPyMake_wxObject(result
, 1);
9782 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9785 wxString
*arg2
= 0 ;
9786 int arg3
= (int) 0 ;
9788 bool temp2
= false ;
9789 PyObject
* obj0
= 0 ;
9790 PyObject
* obj1
= 0 ;
9791 PyObject
* obj2
= 0 ;
9793 (char *) "self",(char *) "spec",(char *) "flags", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 arg2
= wxString_in_helper(obj1
);
9801 if (arg2
== NULL
) SWIG_fail
;
9806 arg3
= (int)(SWIG_As_int(obj2
));
9807 if (SWIG_arg_fail(3)) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9838 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (arg1
)->FindNext();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9870 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9875 return Py_BuildValue((char *)"");
9877 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (arg1
)->GetName();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9909 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9920 if (SWIG_arg_fail(1)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (arg1
)->GetExtension();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9941 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "self", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (long)(arg1
)->GetType();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_From_long((long)(result
));
9969 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (arg1
)->GetMimeType();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10001 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10004 wxString
*arg2
= 0 ;
10006 bool temp2
= false ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "name", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10015 if (SWIG_arg_fail(1)) SWIG_fail
;
10017 arg2
= wxString_in_helper(obj1
);
10018 if (arg2
== NULL
) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10045 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10048 wxString
*arg2
= 0 ;
10049 bool temp2
= false ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "name", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 arg2
= wxString_in_helper(obj1
);
10061 if (arg2
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->SetName((wxString
const &)*arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10089 wxString
*arg2
= 0 ;
10090 bool temp2
= false ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self",(char *) "extension", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10099 if (SWIG_arg_fail(1)) SWIG_fail
;
10101 arg2
= wxString_in_helper(obj1
);
10102 if (arg2
== NULL
) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetExtension((wxString
const &)*arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "type", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 arg2
= (long)(SWIG_As_long(obj1
));
10142 if (SWIG_arg_fail(2)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetType(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10161 wxString
*arg2
= 0 ;
10162 bool temp2
= false ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "mimetype", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10171 if (SWIG_arg_fail(1)) SWIG_fail
;
10173 arg2
= wxString_in_helper(obj1
);
10174 if (arg2
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10202 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10204 return Py_BuildValue((char *)"");
10206 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxImageHistogram
*result
;
10209 char *kwnames
[] = {
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (wxImageHistogram
*)new wxImageHistogram();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10228 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 unsigned char arg1
;
10231 unsigned char arg2
;
10232 unsigned char arg3
;
10233 unsigned long result
;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 PyObject
* obj2
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "r",(char *) "g",(char *) "b", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10243 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10244 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10248 if (SWIG_arg_fail(2)) SWIG_fail
;
10251 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10252 if (SWIG_arg_fail(3)) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10270 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10273 unsigned char *arg2
= (unsigned char *) 0 ;
10274 unsigned char *arg3
= (unsigned char *) 0 ;
10275 unsigned char *arg4
= (unsigned char *) 0 ;
10276 unsigned char arg5
= (unsigned char) 1 ;
10277 unsigned char arg6
= (unsigned char) 0 ;
10278 unsigned char arg7
= (unsigned char) 0 ;
10280 unsigned char temp2
;
10282 unsigned char temp3
;
10284 unsigned char temp4
;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 PyObject
* obj3
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10294 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10295 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10296 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10299 if (SWIG_arg_fail(1)) SWIG_fail
;
10302 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10303 if (SWIG_arg_fail(5)) SWIG_fail
;
10308 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10309 if (SWIG_arg_fail(6)) SWIG_fail
;
10314 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10315 if (SWIG_arg_fail(7)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10328 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10329 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10330 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10331 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10332 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10333 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10340 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10343 unsigned long arg2
;
10344 unsigned long result
;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "key", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10353 if (SWIG_arg_fail(1)) SWIG_fail
;
10355 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10356 if (SWIG_arg_fail(2)) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10374 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10377 unsigned char arg2
;
10378 unsigned char arg3
;
10379 unsigned char arg4
;
10380 unsigned long result
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 PyObject
* obj3
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail
;
10393 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10394 if (SWIG_arg_fail(2)) SWIG_fail
;
10397 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10398 if (SWIG_arg_fail(3)) SWIG_fail
;
10401 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10402 if (SWIG_arg_fail(4)) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10420 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10423 wxColour
*arg2
= 0 ;
10424 unsigned long result
;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "colour", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10455 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10458 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10460 return Py_BuildValue((char *)"");
10462 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxString
*arg1
= 0 ;
10465 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10466 int arg3
= (int) -1 ;
10468 bool temp1
= false ;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 PyObject
* obj2
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "name",(char *) "type",(char *) "index", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10478 arg1
= wxString_in_helper(obj0
);
10479 if (arg1
== NULL
) SWIG_fail
;
10484 arg2
= (long)(SWIG_As_long(obj1
));
10485 if (SWIG_arg_fail(2)) SWIG_fail
;
10490 arg3
= (int)(SWIG_As_int(obj2
));
10491 if (SWIG_arg_fail(3)) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10516 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxImage
*arg1
= (wxImage
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10526 if (SWIG_arg_fail(1)) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 Py_INCREF(Py_None
); resultobj
= Py_None
;
10541 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxString
*arg1
= 0 ;
10544 wxString
*arg2
= 0 ;
10545 int arg3
= (int) -1 ;
10547 bool temp1
= false ;
10548 bool temp2
= false ;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 PyObject
* obj2
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10558 arg1
= wxString_in_helper(obj0
);
10559 if (arg1
== NULL
) SWIG_fail
;
10563 arg2
= wxString_in_helper(obj1
);
10564 if (arg2
== NULL
) SWIG_fail
;
10569 arg3
= (int)(SWIG_As_int(obj2
));
10570 if (SWIG_arg_fail(3)) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10603 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxInputStream
*arg1
= 0 ;
10606 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10607 int arg3
= (int) -1 ;
10609 wxPyInputStream
*temp1
;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "stream",(char *) "type",(char *) "index", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10620 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10621 arg1
= temp1
->m_wxis
;
10624 PyErr_Clear(); // clear the failure of the wxPyConvert above
10625 arg1
= wxPyCBInputStream_create(obj0
, false);
10626 if (arg1
== NULL
) {
10627 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10635 arg2
= (long)(SWIG_As_long(obj1
));
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10641 arg3
= (int)(SWIG_As_int(obj2
));
10642 if (SWIG_arg_fail(3)) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10654 if (created1
) delete arg1
;
10659 if (created1
) delete arg1
;
10665 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxInputStream
*arg1
= 0 ;
10668 wxString
*arg2
= 0 ;
10669 int arg3
= (int) -1 ;
10671 wxPyInputStream
*temp1
;
10673 bool temp2
= false ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10683 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10684 arg1
= temp1
->m_wxis
;
10687 PyErr_Clear(); // clear the failure of the wxPyConvert above
10688 arg1
= wxPyCBInputStream_create(obj0
, false);
10689 if (arg1
== NULL
) {
10690 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10697 arg2
= wxString_in_helper(obj1
);
10698 if (arg2
== NULL
) SWIG_fail
;
10703 arg3
= (int)(SWIG_As_int(obj2
));
10704 if (SWIG_arg_fail(3)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10716 if (created1
) delete arg1
;
10725 if (created1
) delete arg1
;
10735 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 int arg1
= (int) 0 ;
10738 int arg2
= (int) 0 ;
10739 bool arg3
= (bool) true ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "width",(char *) "height",(char *) "clear", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10751 arg1
= (int)(SWIG_As_int(obj0
));
10752 if (SWIG_arg_fail(1)) SWIG_fail
;
10757 arg2
= (int)(SWIG_As_int(obj1
));
10758 if (SWIG_arg_fail(2)) SWIG_fail
;
10763 arg3
= (bool)(SWIG_As_bool(obj2
));
10764 if (SWIG_arg_fail(3)) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10781 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxBitmap
*arg1
= 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "bitmap", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 if (arg1
== NULL
) {
10795 SWIG_null_ref("wxBitmap");
10797 if (SWIG_arg_fail(1)) SWIG_fail
;
10800 if (!wxPyCheckForApp()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10814 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "width",(char *) "height",(char *) "data", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10830 arg1
= (int)(SWIG_As_int(obj0
));
10831 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 arg2
= (int)(SWIG_As_int(obj1
));
10835 if (SWIG_arg_fail(2)) SWIG_fail
;
10838 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10854 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 PyObject
* obj3
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10873 arg1
= (int)(SWIG_As_int(obj0
));
10874 if (SWIG_arg_fail(1)) SWIG_fail
;
10877 arg2
= (int)(SWIG_As_int(obj1
));
10878 if (SWIG_arg_fail(2)) SWIG_fail
;
10881 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10884 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10900 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxImage
*arg1
= (wxImage
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "width",(char *) "height", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(1)) SWIG_fail
;
10916 arg2
= (int)(SWIG_As_int(obj1
));
10917 if (SWIG_arg_fail(2)) SWIG_fail
;
10920 arg3
= (int)(SWIG_As_int(obj2
));
10921 if (SWIG_arg_fail(3)) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->Create(arg2
,arg3
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage
*arg1
= (wxImage
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 Py_INCREF(Py_None
); resultobj
= Py_None
;
10962 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
*resultobj
;
10964 wxImage
*arg1
= (wxImage
*) 0 ;
10967 SwigValueWrapper
<wxImage
> result
;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "width",(char *) "height", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10977 if (SWIG_arg_fail(1)) SWIG_fail
;
10979 arg2
= (int)(SWIG_As_int(obj1
));
10980 if (SWIG_arg_fail(2)) SWIG_fail
;
10983 arg3
= (int)(SWIG_As_int(obj2
));
10984 if (SWIG_arg_fail(3)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (arg1
)->Scale(arg2
,arg3
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10994 wxImage
* resultptr
;
10995 resultptr
= new wxImage((wxImage
&)(result
));
10996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11004 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxImage
*arg1
= (wxImage
*) 0 ;
11009 SwigValueWrapper
<wxImage
> result
;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 PyObject
* obj2
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail
;
11021 arg2
= (int)(SWIG_As_int(obj1
));
11022 if (SWIG_arg_fail(2)) SWIG_fail
;
11025 arg3
= (int)(SWIG_As_int(obj2
));
11026 if (SWIG_arg_fail(3)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 wxImage
* resultptr
;
11037 resultptr
= new wxImage((wxImage
&)(result
));
11038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11046 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxImage
*arg1
= (wxImage
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "width",(char *) "height", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11061 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 arg2
= (int)(SWIG_As_int(obj1
));
11064 if (SWIG_arg_fail(2)) SWIG_fail
;
11067 arg3
= (int)(SWIG_As_int(obj2
));
11068 if (SWIG_arg_fail(3)) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11074 result
= (wxImage
*) &_result_ref
;
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11087 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxImage
*arg1
= (wxImage
*) 0 ;
11091 wxPoint
*arg3
= 0 ;
11092 int arg4
= (int) -1 ;
11093 int arg5
= (int) -1 ;
11094 int arg6
= (int) -1 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 PyObject
* obj2
= 0 ;
11101 PyObject
* obj3
= 0 ;
11102 PyObject
* obj4
= 0 ;
11103 PyObject
* obj5
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11110 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11121 arg4
= (int)(SWIG_As_int(obj3
));
11122 if (SWIG_arg_fail(4)) SWIG_fail
;
11127 arg5
= (int)(SWIG_As_int(obj4
));
11128 if (SWIG_arg_fail(5)) SWIG_fail
;
11133 arg6
= (int)(SWIG_As_int(obj5
));
11134 if (SWIG_arg_fail(6)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11141 result
= (wxImage
*) &_result_ref
;
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11154 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxImage
*arg1
= (wxImage
*) 0 ;
11159 unsigned char arg4
;
11160 unsigned char arg5
;
11161 unsigned char arg6
;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 PyObject
* obj3
= 0 ;
11166 PyObject
* obj4
= 0 ;
11167 PyObject
* obj5
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11174 if (SWIG_arg_fail(1)) SWIG_fail
;
11176 arg2
= (int)(SWIG_As_int(obj1
));
11177 if (SWIG_arg_fail(2)) SWIG_fail
;
11180 arg3
= (int)(SWIG_As_int(obj2
));
11181 if (SWIG_arg_fail(3)) SWIG_fail
;
11184 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11185 if (SWIG_arg_fail(4)) SWIG_fail
;
11188 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11189 if (SWIG_arg_fail(5)) SWIG_fail
;
11192 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11193 if (SWIG_arg_fail(6)) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 Py_INCREF(Py_None
); resultobj
= Py_None
;
11209 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxImage
*arg1
= (wxImage
*) 0 ;
11213 unsigned char arg3
;
11214 unsigned char arg4
;
11215 unsigned char arg5
;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 PyObject
* obj2
= 0 ;
11220 PyObject
* obj3
= 0 ;
11221 PyObject
* obj4
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail
;
11231 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11234 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11235 if (SWIG_arg_fail(3)) SWIG_fail
;
11238 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11239 if (SWIG_arg_fail(4)) SWIG_fail
;
11242 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11243 if (SWIG_arg_fail(5)) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 Py_INCREF(Py_None
); resultobj
= Py_None
;
11259 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxImage
*arg1
= (wxImage
*) 0 ;
11264 unsigned char result
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 PyObject
* obj2
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "x",(char *) "y", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11274 if (SWIG_arg_fail(1)) SWIG_fail
;
11276 arg2
= (int)(SWIG_As_int(obj1
));
11277 if (SWIG_arg_fail(2)) SWIG_fail
;
11280 arg3
= (int)(SWIG_As_int(obj2
));
11281 if (SWIG_arg_fail(3)) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11299 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxImage
*arg1
= (wxImage
*) 0 ;
11304 unsigned char result
;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 PyObject
* obj2
= 0 ;
11308 char *kwnames
[] = {
11309 (char *) "self",(char *) "x",(char *) "y", NULL
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11314 if (SWIG_arg_fail(1)) SWIG_fail
;
11316 arg2
= (int)(SWIG_As_int(obj1
));
11317 if (SWIG_arg_fail(2)) SWIG_fail
;
11320 arg3
= (int)(SWIG_As_int(obj2
));
11321 if (SWIG_arg_fail(3)) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11339 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxImage
*arg1
= (wxImage
*) 0 ;
11344 unsigned char result
;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 PyObject
* obj2
= 0 ;
11348 char *kwnames
[] = {
11349 (char *) "self",(char *) "x",(char *) "y", NULL
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11354 if (SWIG_arg_fail(1)) SWIG_fail
;
11356 arg2
= (int)(SWIG_As_int(obj1
));
11357 if (SWIG_arg_fail(2)) SWIG_fail
;
11360 arg3
= (int)(SWIG_As_int(obj2
));
11361 if (SWIG_arg_fail(3)) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11379 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxImage
*arg1
= (wxImage
*) 0 ;
11384 unsigned char arg4
;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 PyObject
* obj3
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11397 arg2
= (int)(SWIG_As_int(obj1
));
11398 if (SWIG_arg_fail(2)) SWIG_fail
;
11401 arg3
= (int)(SWIG_As_int(obj2
));
11402 if (SWIG_arg_fail(3)) SWIG_fail
;
11405 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11406 if (SWIG_arg_fail(4)) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxImage
*arg1
= (wxImage
*) 0 ;
11427 unsigned char result
;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 PyObject
* obj2
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "x",(char *) "y", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail
;
11439 arg2
= (int)(SWIG_As_int(obj1
));
11440 if (SWIG_arg_fail(2)) SWIG_fail
;
11443 arg3
= (int)(SWIG_As_int(obj2
));
11444 if (SWIG_arg_fail(3)) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11462 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxImage
*arg1
= (wxImage
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11473 if (SWIG_arg_fail(1)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)(arg1
)->HasAlpha();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxImage
*arg1
= (wxImage
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->InitAlpha();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 wxImage
*arg1
= (wxImage
*) 0 ;
11520 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 PyObject
* obj2
= 0 ;
11525 PyObject
* obj3
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail
;
11534 arg2
= (int)(SWIG_As_int(obj1
));
11535 if (SWIG_arg_fail(2)) SWIG_fail
;
11538 arg3
= (int)(SWIG_As_int(obj2
));
11539 if (SWIG_arg_fail(3)) SWIG_fail
;
11543 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11544 if (SWIG_arg_fail(4)) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11563 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxImage
*arg1
= (wxImage
*) 0 ;
11566 byte
*arg2
= (byte
*) 0 ;
11567 byte
*arg3
= (byte
*) 0 ;
11568 byte
*arg4
= (byte
*) 0 ;
11569 byte arg5
= (byte
) 0 ;
11570 byte arg6
= (byte
) 0 ;
11571 byte arg7
= (byte
) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 PyObject
* obj3
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11587 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11588 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11589 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11592 if (SWIG_arg_fail(1)) SWIG_fail
;
11595 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11596 if (SWIG_arg_fail(5)) SWIG_fail
;
11601 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11602 if (SWIG_arg_fail(6)) SWIG_fail
;
11607 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11608 if (SWIG_arg_fail(7)) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11621 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11622 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11623 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11624 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11625 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11626 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11633 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxImage
*arg1
= (wxImage
*) 0 ;
11636 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "threshold", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail
;
11649 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11650 if (SWIG_arg_fail(2)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11669 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxImage
*arg1
= (wxImage
*) 0 ;
11672 unsigned char arg2
;
11673 unsigned char arg3
;
11674 unsigned char arg4
;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 PyObject
* obj2
= 0 ;
11679 PyObject
* obj3
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11689 if (SWIG_arg_fail(2)) SWIG_fail
;
11692 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11693 if (SWIG_arg_fail(3)) SWIG_fail
;
11696 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11697 if (SWIG_arg_fail(4)) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11715 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxImage
*arg1
= (wxImage
*) 0 ;
11718 wxImage
*arg2
= 0 ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 PyObject
* obj3
= 0 ;
11727 PyObject
* obj4
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11737 if (SWIG_arg_fail(2)) SWIG_fail
;
11738 if (arg2
== NULL
) {
11739 SWIG_null_ref("wxImage");
11741 if (SWIG_arg_fail(2)) SWIG_fail
;
11744 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11745 if (SWIG_arg_fail(3)) SWIG_fail
;
11748 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11749 if (SWIG_arg_fail(4)) SWIG_fail
;
11752 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11753 if (SWIG_arg_fail(5)) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11771 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxString
*arg1
= 0 ;
11775 bool temp1
= false ;
11776 PyObject
* obj0
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "name", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11783 arg1
= wxString_in_helper(obj0
);
11784 if (arg1
== NULL
) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11811 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
;
11813 wxString
*arg1
= 0 ;
11814 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11816 bool temp1
= false ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "name",(char *) "type", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 arg1
= wxString_in_helper(obj0
);
11826 if (arg1
== NULL
) SWIG_fail
;
11831 arg2
= (long)(SWIG_As_long(obj1
));
11832 if (SWIG_arg_fail(2)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int((int)(result
));
11859 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxImage
*arg1
= (wxImage
*) 0 ;
11862 wxString
*arg2
= 0 ;
11863 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11864 int arg4
= (int) -1 ;
11866 bool temp2
= false ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 PyObject
* obj3
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 arg2
= wxString_in_helper(obj1
);
11880 if (arg2
== NULL
) SWIG_fail
;
11885 arg3
= (long)(SWIG_As_long(obj2
));
11886 if (SWIG_arg_fail(3)) SWIG_fail
;
11891 arg4
= (int)(SWIG_As_int(obj3
));
11892 if (SWIG_arg_fail(4)) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11919 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxImage
*arg1
= (wxImage
*) 0 ;
11922 wxString
*arg2
= 0 ;
11923 wxString
*arg3
= 0 ;
11924 int arg4
= (int) -1 ;
11926 bool temp2
= false ;
11927 bool temp3
= false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11938 if (SWIG_arg_fail(1)) SWIG_fail
;
11940 arg2
= wxString_in_helper(obj1
);
11941 if (arg2
== NULL
) SWIG_fail
;
11945 arg3
= wxString_in_helper(obj2
);
11946 if (arg3
== NULL
) SWIG_fail
;
11951 arg4
= (int)(SWIG_As_int(obj3
));
11952 if (SWIG_arg_fail(4)) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11987 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxImage
*arg1
= (wxImage
*) 0 ;
11990 wxString
*arg2
= 0 ;
11993 bool temp2
= false ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "name",(char *) "type", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12003 if (SWIG_arg_fail(1)) SWIG_fail
;
12005 arg2
= wxString_in_helper(obj1
);
12006 if (arg2
== NULL
) SWIG_fail
;
12010 arg3
= (int)(SWIG_As_int(obj2
));
12011 if (SWIG_arg_fail(3)) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12037 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxImage
*arg1
= (wxImage
*) 0 ;
12040 wxString
*arg2
= 0 ;
12041 wxString
*arg3
= 0 ;
12043 bool temp2
= false ;
12044 bool temp3
= false ;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 PyObject
* obj2
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12056 arg2
= wxString_in_helper(obj1
);
12057 if (arg2
== NULL
) SWIG_fail
;
12061 arg3
= wxString_in_helper(obj2
);
12062 if (arg3
== NULL
) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12097 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxInputStream
*arg1
= 0 ;
12101 wxPyInputStream
*temp1
;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "stream", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12110 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12111 arg1
= temp1
->m_wxis
;
12114 PyErr_Clear(); // clear the failure of the wxPyConvert above
12115 arg1
= wxPyCBInputStream_create(obj0
, false);
12116 if (arg1
== NULL
) {
12117 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (bool)wxImage::CanRead(*arg1
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 if (created1
) delete arg1
;
12139 if (created1
) delete arg1
;
12145 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxImage
*arg1
= (wxImage
*) 0 ;
12148 wxInputStream
*arg2
= 0 ;
12149 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12150 int arg4
= (int) -1 ;
12152 wxPyInputStream
*temp2
;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail
;
12166 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12167 arg2
= temp2
->m_wxis
;
12170 PyErr_Clear(); // clear the failure of the wxPyConvert above
12171 arg2
= wxPyCBInputStream_create(obj1
, false);
12172 if (arg2
== NULL
) {
12173 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12181 arg3
= (long)(SWIG_As_long(obj2
));
12182 if (SWIG_arg_fail(3)) SWIG_fail
;
12187 arg4
= (int)(SWIG_As_int(obj3
));
12188 if (SWIG_arg_fail(4)) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12202 if (created2
) delete arg2
;
12207 if (created2
) delete arg2
;
12213 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
;
12215 wxImage
*arg1
= (wxImage
*) 0 ;
12216 wxInputStream
*arg2
= 0 ;
12217 wxString
*arg3
= 0 ;
12218 int arg4
= (int) -1 ;
12220 wxPyInputStream
*temp2
;
12222 bool temp3
= false ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 PyObject
* obj2
= 0 ;
12226 PyObject
* obj3
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12233 if (SWIG_arg_fail(1)) SWIG_fail
;
12235 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12236 arg2
= temp2
->m_wxis
;
12239 PyErr_Clear(); // clear the failure of the wxPyConvert above
12240 arg2
= wxPyCBInputStream_create(obj1
, false);
12241 if (arg2
== NULL
) {
12242 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12249 arg3
= wxString_in_helper(obj2
);
12250 if (arg3
== NULL
) SWIG_fail
;
12255 arg4
= (int)(SWIG_As_int(obj3
));
12256 if (SWIG_arg_fail(4)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12270 if (created2
) delete arg2
;
12279 if (created2
) delete arg2
;
12289 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxImage
*arg1
= (wxImage
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)(arg1
)->Ok();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12317 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxImage
*arg1
= (wxImage
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= (int)(arg1
)->GetWidth();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_From_int((int)(result
));
12345 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxImage
*arg1
= (wxImage
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)(arg1
)->GetHeight();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_From_int((int)(result
));
12373 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxImage
*arg1
= (wxImage
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= wxImage_GetSize(arg1
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 wxSize
* resultptr
;
12394 resultptr
= new wxSize((wxSize
&)(result
));
12395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12403 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxImage
*arg1
= (wxImage
*) 0 ;
12407 SwigValueWrapper
<wxImage
> result
;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self",(char *) "rect", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12420 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12430 wxImage
* resultptr
;
12431 resultptr
= new wxImage((wxImage
&)(result
));
12432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12440 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxImage
*arg1
= (wxImage
*) 0 ;
12444 wxPoint
*arg3
= 0 ;
12445 int arg4
= (int) -1 ;
12446 int arg5
= (int) -1 ;
12447 int arg6
= (int) -1 ;
12448 SwigValueWrapper
<wxImage
> result
;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 PyObject
* obj3
= 0 ;
12455 PyObject
* obj4
= 0 ;
12456 PyObject
* obj5
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12474 arg4
= (int)(SWIG_As_int(obj3
));
12475 if (SWIG_arg_fail(4)) SWIG_fail
;
12480 arg5
= (int)(SWIG_As_int(obj4
));
12481 if (SWIG_arg_fail(5)) SWIG_fail
;
12486 arg6
= (int)(SWIG_As_int(obj5
));
12487 if (SWIG_arg_fail(6)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12498 wxImage
* resultptr
;
12499 resultptr
= new wxImage((wxImage
&)(result
));
12500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12508 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxImage
*arg1
= (wxImage
*) 0 ;
12511 SwigValueWrapper
<wxImage
> result
;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (arg1
)->Copy();
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 wxImage
* resultptr
;
12529 resultptr
= new wxImage((wxImage
&)(result
));
12530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12538 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxImage
*arg1
= (wxImage
*) 0 ;
12541 wxImage
*arg2
= 0 ;
12544 PyObject
* obj0
= 0 ;
12545 PyObject
* obj1
= 0 ;
12546 PyObject
* obj2
= 0 ;
12547 PyObject
* obj3
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12557 if (SWIG_arg_fail(2)) SWIG_fail
;
12558 if (arg2
== NULL
) {
12559 SWIG_null_ref("wxImage");
12561 if (SWIG_arg_fail(2)) SWIG_fail
;
12564 arg3
= (int)(SWIG_As_int(obj2
));
12565 if (SWIG_arg_fail(3)) SWIG_fail
;
12568 arg4
= (int)(SWIG_As_int(obj3
));
12569 if (SWIG_arg_fail(4)) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxImage
*arg1
= (wxImage
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12596 if (SWIG_arg_fail(1)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (PyObject
*)wxImage_GetData(arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= result
;
12611 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxImage
*arg1
= (wxImage
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "data", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 wxImage_SetData(arg1
,arg2
,arg3
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12642 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxImage
*arg1
= (wxImage
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= result
;
12668 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxImage
*arg1
= (wxImage
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "data", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail
;
12683 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxImage
*arg1
= (wxImage
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= result
;
12725 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxImage
*arg1
= (wxImage
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self",(char *) "alpha", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail
;
12740 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 Py_INCREF(Py_None
); resultobj
= Py_None
;
12756 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxImage
*arg1
= (wxImage
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= result
;
12782 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxImage
*arg1
= (wxImage
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self",(char *) "alpha", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail
;
12797 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 Py_INCREF(Py_None
); resultobj
= Py_None
;
12813 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxImage
*arg1
= (wxImage
*) 0 ;
12816 unsigned char arg2
;
12817 unsigned char arg3
;
12818 unsigned char arg4
;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 PyObject
* obj3
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12832 if (SWIG_arg_fail(2)) SWIG_fail
;
12835 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12836 if (SWIG_arg_fail(3)) SWIG_fail
;
12839 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12840 if (SWIG_arg_fail(4)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxImage
*arg1
= (wxImage
*) 0 ;
12859 unsigned char *arg2
= (unsigned char *) 0 ;
12860 unsigned char *arg3
= (unsigned char *) 0 ;
12861 unsigned char *arg4
= (unsigned char *) 0 ;
12862 unsigned char temp2
;
12864 unsigned char temp3
;
12866 unsigned char temp4
;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12874 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12875 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12878 if (SWIG_arg_fail(1)) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12888 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12889 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12890 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12891 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12892 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12899 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxImage
*arg1
= (wxImage
*) 0 ;
12902 unsigned char result
;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12910 if (SWIG_arg_fail(1)) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (unsigned char)(arg1
)->GetMaskRed();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12927 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxImage
*arg1
= (wxImage
*) 0 ;
12930 unsigned char result
;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (unsigned char)(arg1
)->GetMaskGreen();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12955 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxImage
*arg1
= (wxImage
*) 0 ;
12958 unsigned char result
;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (unsigned char)(arg1
)->GetMaskBlue();
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12983 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxImage
*arg1
= (wxImage
*) 0 ;
12986 bool arg2
= (bool) true ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self",(char *) "mask", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12995 if (SWIG_arg_fail(1)) SWIG_fail
;
12998 arg2
= (bool)(SWIG_As_bool(obj1
));
12999 if (SWIG_arg_fail(2)) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 (arg1
)->SetMask(arg2
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 Py_INCREF(Py_None
); resultobj
= Py_None
;
13016 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxImage
*arg1
= (wxImage
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->HasMask();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13044 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxImage
*arg1
= (wxImage
*) 0 ;
13048 wxPoint
*arg3
= 0 ;
13049 bool arg4
= (bool) true ;
13050 wxPoint
*arg5
= (wxPoint
*) NULL
;
13051 SwigValueWrapper
<wxImage
> result
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 PyObject
* obj2
= 0 ;
13056 PyObject
* obj3
= 0 ;
13057 PyObject
* obj4
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13066 arg2
= (double)(SWIG_As_double(obj1
));
13067 if (SWIG_arg_fail(2)) SWIG_fail
;
13071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13075 arg4
= (bool)(SWIG_As_bool(obj3
));
13076 if (SWIG_arg_fail(4)) SWIG_fail
;
13080 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13081 if (SWIG_arg_fail(5)) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 wxImage
* resultptr
;
13092 resultptr
= new wxImage((wxImage
&)(result
));
13093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13101 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxImage
*arg1
= (wxImage
*) 0 ;
13104 bool arg2
= (bool) true ;
13105 SwigValueWrapper
<wxImage
> result
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "clockwise", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13114 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 arg2
= (bool)(SWIG_As_bool(obj1
));
13118 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (arg1
)->Rotate90(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 wxImage
* resultptr
;
13130 resultptr
= new wxImage((wxImage
&)(result
));
13131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13139 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxImage
*arg1
= (wxImage
*) 0 ;
13142 bool arg2
= (bool) true ;
13143 SwigValueWrapper
<wxImage
> result
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "horizontally", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13155 arg2
= (bool)(SWIG_As_bool(obj1
));
13156 if (SWIG_arg_fail(2)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (arg1
)->Mirror(arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 wxImage
* resultptr
;
13168 resultptr
= new wxImage((wxImage
&)(result
));
13169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13177 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxImage
*arg1
= (wxImage
*) 0 ;
13180 unsigned char arg2
;
13181 unsigned char arg3
;
13182 unsigned char arg4
;
13183 unsigned char arg5
;
13184 unsigned char arg6
;
13185 unsigned char arg7
;
13186 PyObject
* obj0
= 0 ;
13187 PyObject
* obj1
= 0 ;
13188 PyObject
* obj2
= 0 ;
13189 PyObject
* obj3
= 0 ;
13190 PyObject
* obj4
= 0 ;
13191 PyObject
* obj5
= 0 ;
13192 PyObject
* obj6
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13201 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13202 if (SWIG_arg_fail(2)) SWIG_fail
;
13205 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13206 if (SWIG_arg_fail(3)) SWIG_fail
;
13209 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13210 if (SWIG_arg_fail(4)) SWIG_fail
;
13213 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13214 if (SWIG_arg_fail(5)) SWIG_fail
;
13217 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13218 if (SWIG_arg_fail(6)) SWIG_fail
;
13221 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13222 if (SWIG_arg_fail(7)) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13238 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxImage
*arg1
= (wxImage
*) 0 ;
13241 unsigned char arg2
;
13242 unsigned char arg3
;
13243 unsigned char arg4
;
13244 SwigValueWrapper
<wxImage
> result
;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 PyObject
* obj2
= 0 ;
13248 PyObject
* obj3
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13255 if (SWIG_arg_fail(1)) SWIG_fail
;
13257 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13258 if (SWIG_arg_fail(2)) SWIG_fail
;
13261 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13262 if (SWIG_arg_fail(3)) SWIG_fail
;
13265 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13266 if (SWIG_arg_fail(4)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13276 wxImage
* resultptr
;
13277 resultptr
= new wxImage((wxImage
&)(result
));
13278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13286 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxImage
*arg1
= (wxImage
*) 0 ;
13289 wxString
*arg2
= 0 ;
13290 wxString
*arg3
= 0 ;
13291 bool temp2
= false ;
13292 bool temp3
= false ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 PyObject
* obj2
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self",(char *) "name",(char *) "value", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail
;
13304 arg2
= wxString_in_helper(obj1
);
13305 if (arg2
== NULL
) SWIG_fail
;
13309 arg3
= wxString_in_helper(obj2
);
13310 if (arg3
== NULL
) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxImage
*arg1
= (wxImage
*) 0 ;
13346 wxString
*arg2
= 0 ;
13348 bool temp2
= false ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 PyObject
* obj2
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self",(char *) "name",(char *) "value", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13358 if (SWIG_arg_fail(1)) SWIG_fail
;
13360 arg2
= wxString_in_helper(obj1
);
13361 if (arg2
== NULL
) SWIG_fail
;
13365 arg3
= (int)(SWIG_As_int(obj2
));
13366 if (SWIG_arg_fail(3)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 Py_INCREF(Py_None
); resultobj
= Py_None
;
13390 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxImage
*arg1
= (wxImage
*) 0 ;
13393 wxString
*arg2
= 0 ;
13395 bool temp2
= false ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "name", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13404 if (SWIG_arg_fail(1)) SWIG_fail
;
13406 arg2
= wxString_in_helper(obj1
);
13407 if (arg2
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13438 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxImage
*arg1
= (wxImage
*) 0 ;
13441 wxString
*arg2
= 0 ;
13443 bool temp2
= false ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "name", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13452 if (SWIG_arg_fail(1)) SWIG_fail
;
13454 arg2
= wxString_in_helper(obj1
);
13455 if (arg2
== NULL
) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_From_int((int)(result
));
13482 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxImage
*arg1
= (wxImage
*) 0 ;
13485 wxString
*arg2
= 0 ;
13487 bool temp2
= false ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "name", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13496 if (SWIG_arg_fail(1)) SWIG_fail
;
13498 arg2
= wxString_in_helper(obj1
);
13499 if (arg2
== NULL
) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxImage
*arg1
= (wxImage
*) 0 ;
13529 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13530 unsigned long result
;
13531 PyObject
* obj0
= 0 ;
13532 PyObject
* obj1
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self",(char *) "stopafter", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13539 if (SWIG_arg_fail(1)) SWIG_fail
;
13542 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13543 if (SWIG_arg_fail(2)) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13562 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxImage
*arg1
= (wxImage
*) 0 ;
13565 wxImageHistogram
*arg2
= 0 ;
13566 unsigned long result
;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "h", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13575 if (SWIG_arg_fail(1)) SWIG_fail
;
13577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13578 if (SWIG_arg_fail(2)) SWIG_fail
;
13579 if (arg2
== NULL
) {
13580 SWIG_null_ref("wxImageHistogram");
13582 if (SWIG_arg_fail(2)) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13600 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "handler", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 wxImage::AddHandler(arg1
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 Py_INCREF(Py_None
); resultobj
= Py_None
;
13625 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "handler", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13635 if (SWIG_arg_fail(1)) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxImage::InsertHandler(arg1
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxString
*arg1
= 0 ;
13654 bool temp1
= false ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "name", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13662 arg1
= wxString_in_helper(obj0
);
13663 if (arg1
== NULL
) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13690 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13693 char *kwnames
[] = {
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= wxImage::GetImageExtWildcard();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13718 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxImage
*arg1
= (wxImage
*) 0 ;
13721 int arg2
= (int) -1 ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "depth", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13731 if (SWIG_arg_fail(1)) SWIG_fail
;
13734 arg2
= (int)(SWIG_As_int(obj1
));
13735 if (SWIG_arg_fail(2)) SWIG_fail
;
13739 if (!wxPyCheckForApp()) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 wxBitmap
* resultptr
;
13748 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13757 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxImage
*arg1
= (wxImage
*) 0 ;
13760 unsigned char arg2
;
13761 unsigned char arg3
;
13762 unsigned char arg4
;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 PyObject
* obj2
= 0 ;
13767 PyObject
* obj3
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13777 if (SWIG_arg_fail(2)) SWIG_fail
;
13780 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13781 if (SWIG_arg_fail(3)) SWIG_fail
;
13784 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13785 if (SWIG_arg_fail(4)) SWIG_fail
;
13788 if (!wxPyCheckForApp()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13796 wxBitmap
* resultptr
;
13797 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13806 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13809 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13811 return Py_BuildValue((char *)"");
13813 static int _wrap_NullImage_set(PyObject
*) {
13814 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13819 static PyObject
*_wrap_NullImage_get(void) {
13822 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13827 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13828 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13833 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13838 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13840 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13847 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13848 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13853 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13858 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13860 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13867 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13868 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13873 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13878 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13880 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13887 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13888 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13893 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13898 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13900 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13907 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13908 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13913 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13918 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13920 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13927 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13928 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13933 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13938 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13940 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13947 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13948 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13953 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13958 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13960 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13967 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13968 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13973 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13978 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13980 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13987 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13988 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13993 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13998 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14000 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14007 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14008 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14013 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14018 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14020 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14027 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14028 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14033 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14038 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14040 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14047 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14048 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14053 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14058 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14060 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14067 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14068 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14073 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14078 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14080 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14087 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14088 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14093 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14098 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14100 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14107 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14108 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14113 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14118 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14120 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14127 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxBMPHandler
*result
;
14130 char *kwnames
[] = {
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (wxBMPHandler
*)new wxBMPHandler();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14149 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14152 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14154 return Py_BuildValue((char *)"");
14156 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxICOHandler
*result
;
14159 char *kwnames
[] = {
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (wxICOHandler
*)new wxICOHandler();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14178 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14181 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14183 return Py_BuildValue((char *)"");
14185 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxCURHandler
*result
;
14188 char *kwnames
[] = {
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxCURHandler
*)new wxCURHandler();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14207 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14210 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14212 return Py_BuildValue((char *)"");
14214 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxANIHandler
*result
;
14217 char *kwnames
[] = {
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (wxANIHandler
*)new wxANIHandler();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14236 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14239 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14241 return Py_BuildValue((char *)"");
14243 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxPNGHandler
*result
;
14246 char *kwnames
[] = {
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (wxPNGHandler
*)new wxPNGHandler();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14265 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14268 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14270 return Py_BuildValue((char *)"");
14272 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxGIFHandler
*result
;
14275 char *kwnames
[] = {
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (wxGIFHandler
*)new wxGIFHandler();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14294 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14297 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14299 return Py_BuildValue((char *)"");
14301 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxPCXHandler
*result
;
14304 char *kwnames
[] = {
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (wxPCXHandler
*)new wxPCXHandler();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14323 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14326 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14328 return Py_BuildValue((char *)"");
14330 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxJPEGHandler
*result
;
14333 char *kwnames
[] = {
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14352 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14355 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14357 return Py_BuildValue((char *)"");
14359 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxPNMHandler
*result
;
14362 char *kwnames
[] = {
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (wxPNMHandler
*)new wxPNMHandler();
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14381 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14384 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14386 return Py_BuildValue((char *)"");
14388 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxXPMHandler
*result
;
14391 char *kwnames
[] = {
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (wxXPMHandler
*)new wxXPMHandler();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14410 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14413 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14415 return Py_BuildValue((char *)"");
14417 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxTIFFHandler
*result
;
14420 char *kwnames
[] = {
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14439 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14442 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14444 return Py_BuildValue((char *)"");
14446 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxImage
*arg1
= 0 ;
14449 wxImage
*arg2
= 0 ;
14450 int arg3
= (int) 236 ;
14451 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 PyObject
* obj3
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14464 if (SWIG_arg_fail(1)) SWIG_fail
;
14465 if (arg1
== NULL
) {
14466 SWIG_null_ref("wxImage");
14468 if (SWIG_arg_fail(1)) SWIG_fail
;
14471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14472 if (SWIG_arg_fail(2)) SWIG_fail
;
14473 if (arg2
== NULL
) {
14474 SWIG_null_ref("wxImage");
14476 if (SWIG_arg_fail(2)) SWIG_fail
;
14480 arg3
= (int)(SWIG_As_int(obj2
));
14481 if (SWIG_arg_fail(3)) SWIG_fail
;
14486 arg4
= (int)(SWIG_As_int(obj3
));
14487 if (SWIG_arg_fail(4)) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14509 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14511 return Py_BuildValue((char *)"");
14513 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxEvtHandler
*result
;
14516 char *kwnames
[] = {
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (wxEvtHandler
*)new wxEvtHandler();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14535 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14538 wxEvtHandler
*result
;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= wxPyMake_wxObject(result
, 0);
14563 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14566 wxEvtHandler
*result
;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14574 if (SWIG_arg_fail(1)) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= wxPyMake_wxObject(result
, 0);
14591 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14594 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 PyObject
* obj1
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self",(char *) "handler", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14603 if (SWIG_arg_fail(1)) SWIG_fail
;
14604 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14605 if (SWIG_arg_fail(2)) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 (arg1
)->SetNextHandler(arg2
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14623 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self",(char *) "handler", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14632 if (SWIG_arg_fail(1)) SWIG_fail
;
14633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14634 if (SWIG_arg_fail(2)) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 (arg1
)->SetPreviousHandler(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "self",(char *) "enabled", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14689 if (SWIG_arg_fail(1)) SWIG_fail
;
14691 arg2
= (bool)(SWIG_As_bool(obj1
));
14692 if (SWIG_arg_fail(2)) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 (arg1
)->SetEvtHandlerEnabled(arg2
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 Py_INCREF(Py_None
); resultobj
= Py_None
;
14708 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14711 wxEvent
*arg2
= 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "event", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14721 if (SWIG_arg_fail(1)) SWIG_fail
;
14723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14724 if (SWIG_arg_fail(2)) SWIG_fail
;
14725 if (arg2
== NULL
) {
14726 SWIG_null_ref("wxEvent");
14728 if (SWIG_arg_fail(2)) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14749 wxEvent
*arg2
= 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "event", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail
;
14760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14761 if (SWIG_arg_fail(2)) SWIG_fail
;
14762 if (arg2
== NULL
) {
14763 SWIG_null_ref("wxEvent");
14765 if (SWIG_arg_fail(2)) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 (arg1
)->AddPendingEvent(*arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 Py_INCREF(Py_None
); resultobj
= Py_None
;
14781 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->ProcessPendingEvents();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 Py_INCREF(Py_None
); resultobj
= Py_None
;
14806 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14812 PyObject
*arg5
= (PyObject
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 PyObject
* obj2
= 0 ;
14816 PyObject
* obj3
= 0 ;
14817 PyObject
* obj4
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail
;
14826 arg2
= (int)(SWIG_As_int(obj1
));
14827 if (SWIG_arg_fail(2)) SWIG_fail
;
14830 arg3
= (int)(SWIG_As_int(obj2
));
14831 if (SWIG_arg_fail(3)) SWIG_fail
;
14834 arg4
= (int)(SWIG_As_int(obj3
));
14835 if (SWIG_arg_fail(4)) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14856 int arg3
= (int) -1 ;
14857 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 PyObject
* obj2
= 0 ;
14862 PyObject
* obj3
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14869 if (SWIG_arg_fail(1)) SWIG_fail
;
14871 arg2
= (int)(SWIG_As_int(obj1
));
14872 if (SWIG_arg_fail(2)) SWIG_fail
;
14876 arg3
= (int)(SWIG_As_int(obj2
));
14877 if (SWIG_arg_fail(3)) SWIG_fail
;
14882 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14883 if (SWIG_arg_fail(4)) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14902 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14905 PyObject
*arg2
= (PyObject
*) 0 ;
14906 bool arg3
= (bool) true ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 PyObject
* obj2
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self",(char *) "_self",(char *) "incref", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14916 if (SWIG_arg_fail(1)) SWIG_fail
;
14920 arg3
= (bool)(SWIG_As_bool(obj2
));
14921 if (SWIG_arg_fail(3)) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14941 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14943 return Py_BuildValue((char *)"");
14945 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxEventType result
;
14948 char *kwnames
[] = {
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (wxEventType
)wxNewEventType();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_From_int((int)(result
));
14969 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxEvent
*arg1
= (wxEvent
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14979 if (SWIG_arg_fail(1)) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 Py_INCREF(Py_None
); resultobj
= Py_None
;
14994 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxEvent
*arg1
= (wxEvent
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "typ", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail
;
15008 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15009 if (SWIG_arg_fail(2)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetEventType(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxEvent
*arg1
= (wxEvent
*) 0 ;
15028 wxEventType result
;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_From_int((int)(result
));
15053 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxEvent
*arg1
= (wxEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= wxPyMake_wxObject(result
, 0);
15081 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxEvent
*arg1
= (wxEvent
*) 0 ;
15084 wxObject
*arg2
= (wxObject
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "obj", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15093 if (SWIG_arg_fail(1)) SWIG_fail
;
15094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(2)) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetEventObject(arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 Py_INCREF(Py_None
); resultobj
= Py_None
;
15110 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxEvent
*arg1
= (wxEvent
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15121 if (SWIG_arg_fail(1)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= SWIG_From_long((long)(result
));
15138 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxEvent
*arg1
= (wxEvent
*) 0 ;
15141 long arg2
= (long) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "ts", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15150 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 arg2
= (long)(SWIG_As_long(obj1
));
15154 if (SWIG_arg_fail(2)) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetTimestamp(arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxEvent
*arg1
= (wxEvent
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail
;
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= (int)((wxEvent
const *)arg1
)->GetId();
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_From_int((int)(result
));
15199 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxEvent
*arg1
= (wxEvent
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "Id", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail
;
15213 arg2
= (int)(SWIG_As_int(obj1
));
15214 if (SWIG_arg_fail(2)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 (arg1
)->SetId(arg2
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 Py_INCREF(Py_None
); resultobj
= Py_None
;
15230 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxEvent
*arg1
= (wxEvent
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15258 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxEvent
*arg1
= (wxEvent
*) 0 ;
15261 bool arg2
= (bool) true ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "skip", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15273 arg2
= (bool)(SWIG_As_bool(obj1
));
15274 if (SWIG_arg_fail(2)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->Skip(arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 Py_INCREF(Py_None
); resultobj
= Py_None
;
15291 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxEvent
*arg1
= (wxEvent
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15319 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxEvent
*arg1
= (wxEvent
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15347 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxEvent
*arg1
= (wxEvent
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (int)(arg1
)->StopPropagation();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_From_int((int)(result
));
15375 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxEvent
*arg1
= (wxEvent
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self",(char *) "propagationLevel", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15387 if (SWIG_arg_fail(1)) SWIG_fail
;
15389 arg2
= (int)(SWIG_As_int(obj1
));
15390 if (SWIG_arg_fail(2)) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->ResumePropagation(arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxEvent
*arg1
= (wxEvent
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxEvent
*)(arg1
)->Clone();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15432 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15435 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15437 return Py_BuildValue((char *)"");
15439 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxEvent
*arg1
= 0 ;
15442 wxPropagationDisabler
*result
;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "event", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 if (arg1
== NULL
) {
15453 SWIG_null_ref("wxEvent");
15455 if (SWIG_arg_fail(1)) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15461 wxPyEndAllowThreads(__tstate
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15471 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 Py_INCREF(Py_None
); resultobj
= Py_None
;
15496 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15499 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15501 return Py_BuildValue((char *)"");
15503 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxEvent
*arg1
= 0 ;
15506 wxPropagateOnce
*result
;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "event", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail
;
15516 if (arg1
== NULL
) {
15517 SWIG_null_ref("wxEvent");
15519 if (SWIG_arg_fail(1)) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15535 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 Py_INCREF(Py_None
); resultobj
= Py_None
;
15560 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15563 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15565 return Py_BuildValue((char *)"");
15567 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15570 int arg2
= (int) 0 ;
15571 wxCommandEvent
*result
;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "commandType",(char *) "winid", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15581 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15582 if (SWIG_arg_fail(1)) SWIG_fail
;
15587 arg2
= (int)(SWIG_As_int(obj1
));
15588 if (SWIG_arg_fail(2)) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15605 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15616 if (SWIG_arg_fail(1)) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_From_int((int)(result
));
15633 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15636 wxString
*arg2
= 0 ;
15637 bool temp2
= false ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "s", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail
;
15648 arg2
= wxString_in_helper(obj1
);
15649 if (arg2
== NULL
) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 (arg1
)->SetString((wxString
const &)*arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 Py_INCREF(Py_None
); resultobj
= Py_None
;
15674 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15685 if (SWIG_arg_fail(1)) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15706 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15717 if (SWIG_arg_fail(1)) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15734 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(1)) SWIG_fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15762 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self",(char *) "extraLong", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail
;
15776 arg2
= (long)(SWIG_As_long(obj1
));
15777 if (SWIG_arg_fail(2)) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->SetExtraLong(arg2
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 Py_INCREF(Py_None
); resultobj
= Py_None
;
15793 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15804 if (SWIG_arg_fail(1)) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_From_long((long)(result
));
15821 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "i", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 arg2
= (int)(SWIG_As_int(obj1
));
15836 if (SWIG_arg_fail(2)) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetInt(arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_From_long((long)(result
));
15880 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15891 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15906 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15909 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15911 return Py_BuildValue((char *)"");
15913 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15916 int arg2
= (int) 0 ;
15917 wxNotifyEvent
*result
;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "commandType",(char *) "winid", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15927 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15928 if (SWIG_arg_fail(1)) SWIG_fail
;
15933 arg2
= (int)(SWIG_As_int(obj1
));
15934 if (SWIG_arg_fail(2)) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15951 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
;
15953 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15961 if (SWIG_arg_fail(1)) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)(arg1
)->IsAllowed();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16029 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16032 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16034 return Py_BuildValue((char *)"");
16036 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16039 int arg2
= (int) 0 ;
16040 int arg3
= (int) 0 ;
16041 int arg4
= (int) 0 ;
16042 wxScrollEvent
*result
;
16043 PyObject
* obj0
= 0 ;
16044 PyObject
* obj1
= 0 ;
16045 PyObject
* obj2
= 0 ;
16046 PyObject
* obj3
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16054 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16055 if (SWIG_arg_fail(1)) SWIG_fail
;
16060 arg2
= (int)(SWIG_As_int(obj1
));
16061 if (SWIG_arg_fail(2)) SWIG_fail
;
16066 arg3
= (int)(SWIG_As_int(obj2
));
16067 if (SWIG_arg_fail(3)) SWIG_fail
;
16072 arg4
= (int)(SWIG_As_int(obj3
));
16073 if (SWIG_arg_fail(4)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16090 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_From_int((int)(result
));
16118 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_int((int)(result
));
16146 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self",(char *) "orient", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16160 arg2
= (int)(SWIG_As_int(obj1
));
16161 if (SWIG_arg_fail(2)) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetOrientation(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "pos", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16189 if (SWIG_arg_fail(1)) SWIG_fail
;
16191 arg2
= (int)(SWIG_As_int(obj1
));
16192 if (SWIG_arg_fail(2)) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 (arg1
)->SetPosition(arg2
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16201 Py_INCREF(Py_None
); resultobj
= Py_None
;
16208 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16211 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16213 return Py_BuildValue((char *)"");
16215 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16218 int arg2
= (int) 0 ;
16219 int arg3
= (int) 0 ;
16220 wxScrollWinEvent
*result
;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 PyObject
* obj2
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16231 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16232 if (SWIG_arg_fail(1)) SWIG_fail
;
16237 arg2
= (int)(SWIG_As_int(obj1
));
16238 if (SWIG_arg_fail(2)) SWIG_fail
;
16243 arg3
= (int)(SWIG_As_int(obj2
));
16244 if (SWIG_arg_fail(3)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16261 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16272 if (SWIG_arg_fail(1)) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_From_int((int)(result
));
16289 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_From_int((int)(result
));
16317 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self",(char *) "orient", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 arg2
= (int)(SWIG_As_int(obj1
));
16332 if (SWIG_arg_fail(2)) SWIG_fail
;
16335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16336 (arg1
)->SetOrientation(arg2
);
16338 wxPyEndAllowThreads(__tstate
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 Py_INCREF(Py_None
); resultobj
= Py_None
;
16348 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "pos", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16360 if (SWIG_arg_fail(1)) SWIG_fail
;
16362 arg2
= (int)(SWIG_As_int(obj1
));
16363 if (SWIG_arg_fail(2)) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->SetPosition(arg2
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16382 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16384 return Py_BuildValue((char *)"");
16386 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16389 wxMouseEvent
*result
;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "mouseType", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16398 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16399 if (SWIG_arg_fail(1)) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= wxPyMake_wxObject(result
, 1);
16418 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16429 if (SWIG_arg_fail(1)) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16446 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16449 int arg2
= (int) wxMOUSE_BTN_ANY
;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "but", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16462 arg2
= (int)(SWIG_As_int(obj1
));
16463 if (SWIG_arg_fail(2)) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16482 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16485 int arg2
= (int) wxMOUSE_BTN_ANY
;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self",(char *) "but", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16495 if (SWIG_arg_fail(1)) SWIG_fail
;
16498 arg2
= (int)(SWIG_As_int(obj1
));
16499 if (SWIG_arg_fail(2)) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16518 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16521 int arg2
= (int) wxMOUSE_BTN_ANY
;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self",(char *) "but", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16531 if (SWIG_arg_fail(1)) SWIG_fail
;
16534 arg2
= (int)(SWIG_As_int(obj1
));
16535 if (SWIG_arg_fail(2)) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16554 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "button", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail
;
16569 arg2
= (int)(SWIG_As_int(obj1
));
16570 if (SWIG_arg_fail(2)) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16588 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 PyObject
* obj1
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self",(char *) "but", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16601 if (SWIG_arg_fail(1)) SWIG_fail
;
16603 arg2
= (int)(SWIG_As_int(obj1
));
16604 if (SWIG_arg_fail(2)) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16622 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16633 if (SWIG_arg_fail(1)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_From_int((int)(result
));
16650 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16678 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16689 if (SWIG_arg_fail(1)) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16745 if (SWIG_arg_fail(1)) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16762 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16766 PyObject
* obj0
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16790 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16801 if (SWIG_arg_fail(1)) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16818 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16829 if (SWIG_arg_fail(1)) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16846 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16857 if (SWIG_arg_fail(1)) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16885 if (SWIG_arg_fail(1)) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16913 if (SWIG_arg_fail(1)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16930 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17018 PyObject
* obj0
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 char *kwnames
[] = {
17048 (char *) "self", NULL
17051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17053 if (SWIG_arg_fail(1)) SWIG_fail
;
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 result
= (bool)(arg1
)->LeftIsDown();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17070 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17081 if (SWIG_arg_fail(1)) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (bool)(arg1
)->MiddleIsDown();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17098 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(1)) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (bool)(arg1
)->RightIsDown();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17126 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17137 if (SWIG_arg_fail(1)) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17154 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17165 if (SWIG_arg_fail(1)) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17210 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17238 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (arg1
)->GetPosition();
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 wxPoint
* resultptr
;
17259 resultptr
= new wxPoint((wxPoint
&)(result
));
17260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17268 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17271 long *arg2
= (long *) 0 ;
17272 long *arg3
= (long *) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self", NULL
17282 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17283 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17286 if (SWIG_arg_fail(1)) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 (arg1
)->GetPosition(arg2
,arg3
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17295 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17296 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17297 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17298 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17305 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "dc", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail
;
17320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17321 if (SWIG_arg_fail(2)) SWIG_fail
;
17322 if (arg2
== NULL
) {
17323 SWIG_null_ref("wxDC");
17325 if (SWIG_arg_fail(2)) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 wxPoint
* resultptr
;
17336 resultptr
= new wxPoint((wxPoint
&)(result
));
17337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17345 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= SWIG_From_int((int)(result
));
17373 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17384 if (SWIG_arg_fail(1)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= SWIG_From_int((int)(result
));
17401 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_From_int((int)(result
));
17429 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_From_int((int)(result
));
17457 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= SWIG_From_int((int)(result
));
17485 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17496 if (SWIG_arg_fail(1)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17513 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self",(char *) "m_x", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 arg2
= (int)(SWIG_As_int(obj1
));
17528 if (SWIG_arg_fail(2)) SWIG_fail
;
17530 if (arg1
) (arg1
)->m_x
= arg2
;
17532 Py_INCREF(Py_None
); resultobj
= Py_None
;
17539 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17543 PyObject
* obj0
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17550 if (SWIG_arg_fail(1)) SWIG_fail
;
17551 result
= (int) ((arg1
)->m_x
);
17554 resultobj
= SWIG_From_int((int)(result
));
17562 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "m_y", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17574 if (SWIG_arg_fail(1)) SWIG_fail
;
17576 arg2
= (int)(SWIG_As_int(obj1
));
17577 if (SWIG_arg_fail(2)) SWIG_fail
;
17579 if (arg1
) (arg1
)->m_y
= arg2
;
17581 Py_INCREF(Py_None
); resultobj
= Py_None
;
17588 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 char *kwnames
[] = {
17594 (char *) "self", NULL
17597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17599 if (SWIG_arg_fail(1)) SWIG_fail
;
17600 result
= (int) ((arg1
)->m_y
);
17603 resultobj
= SWIG_From_int((int)(result
));
17611 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
;
17613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self",(char *) "m_leftDown", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17623 if (SWIG_arg_fail(1)) SWIG_fail
;
17625 arg2
= (bool)(SWIG_As_bool(obj1
));
17626 if (SWIG_arg_fail(2)) SWIG_fail
;
17628 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17648 if (SWIG_arg_fail(1)) SWIG_fail
;
17649 result
= (bool) ((arg1
)->m_leftDown
);
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "m_middleDown", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17672 if (SWIG_arg_fail(1)) SWIG_fail
;
17674 arg2
= (bool)(SWIG_As_bool(obj1
));
17675 if (SWIG_arg_fail(2)) SWIG_fail
;
17677 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17679 Py_INCREF(Py_None
); resultobj
= Py_None
;
17686 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17697 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 result
= (bool) ((arg1
)->m_middleDown
);
17701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17709 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "m_rightDown", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17721 if (SWIG_arg_fail(1)) SWIG_fail
;
17723 arg2
= (bool)(SWIG_As_bool(obj1
));
17724 if (SWIG_arg_fail(2)) SWIG_fail
;
17726 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17746 if (SWIG_arg_fail(1)) SWIG_fail
;
17747 result
= (bool) ((arg1
)->m_rightDown
);
17750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17758 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "m_controlDown", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail
;
17772 arg2
= (bool)(SWIG_As_bool(obj1
));
17773 if (SWIG_arg_fail(2)) SWIG_fail
;
17775 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17777 Py_INCREF(Py_None
); resultobj
= Py_None
;
17784 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17795 if (SWIG_arg_fail(1)) SWIG_fail
;
17796 result
= (bool) ((arg1
)->m_controlDown
);
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17807 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self",(char *) "m_shiftDown", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17819 if (SWIG_arg_fail(1)) SWIG_fail
;
17821 arg2
= (bool)(SWIG_As_bool(obj1
));
17822 if (SWIG_arg_fail(2)) SWIG_fail
;
17824 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17844 if (SWIG_arg_fail(1)) SWIG_fail
;
17845 result
= (bool) ((arg1
)->m_shiftDown
);
17848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17856 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "m_altDown", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail
;
17870 arg2
= (bool)(SWIG_As_bool(obj1
));
17871 if (SWIG_arg_fail(2)) SWIG_fail
;
17873 if (arg1
) (arg1
)->m_altDown
= arg2
;
17875 Py_INCREF(Py_None
); resultobj
= Py_None
;
17882 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17893 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 result
= (bool) ((arg1
)->m_altDown
);
17897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17905 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "m_metaDown", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17917 if (SWIG_arg_fail(1)) SWIG_fail
;
17919 arg2
= (bool)(SWIG_As_bool(obj1
));
17920 if (SWIG_arg_fail(2)) SWIG_fail
;
17922 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17942 if (SWIG_arg_fail(1)) SWIG_fail
;
17943 result
= (bool) ((arg1
)->m_metaDown
);
17946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17954 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "m_wheelRotation", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17966 if (SWIG_arg_fail(1)) SWIG_fail
;
17968 arg2
= (int)(SWIG_As_int(obj1
));
17969 if (SWIG_arg_fail(2)) SWIG_fail
;
17971 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17991 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 result
= (int) ((arg1
)->m_wheelRotation
);
17995 resultobj
= SWIG_From_int((int)(result
));
18003 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "m_wheelDelta", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18015 if (SWIG_arg_fail(1)) SWIG_fail
;
18017 arg2
= (int)(SWIG_As_int(obj1
));
18018 if (SWIG_arg_fail(2)) SWIG_fail
;
18020 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18029 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18040 if (SWIG_arg_fail(1)) SWIG_fail
;
18041 result
= (int) ((arg1
)->m_wheelDelta
);
18044 resultobj
= SWIG_From_int((int)(result
));
18052 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "m_linesPerAction", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18064 if (SWIG_arg_fail(1)) SWIG_fail
;
18066 arg2
= (int)(SWIG_As_int(obj1
));
18067 if (SWIG_arg_fail(2)) SWIG_fail
;
18069 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18089 if (SWIG_arg_fail(1)) SWIG_fail
;
18090 result
= (int) ((arg1
)->m_linesPerAction
);
18093 resultobj
= SWIG_From_int((int)(result
));
18101 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18104 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18106 return Py_BuildValue((char *)"");
18108 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 int arg1
= (int) 0 ;
18111 int arg2
= (int) 0 ;
18112 wxSetCursorEvent
*result
;
18113 PyObject
* obj0
= 0 ;
18114 PyObject
* obj1
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "x",(char *) "y", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 arg1
= (int)(SWIG_As_int(obj0
));
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18128 arg2
= (int)(SWIG_As_int(obj1
));
18129 if (SWIG_arg_fail(2)) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18146 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_From_int((int)(result
));
18174 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 char *kwnames
[] = {
18180 (char *) "self", NULL
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18185 if (SWIG_arg_fail(1)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_From_int((int)(result
));
18202 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18205 wxCursor
*arg2
= 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 char *kwnames
[] = {
18209 (char *) "self",(char *) "cursor", NULL
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18214 if (SWIG_arg_fail(1)) SWIG_fail
;
18216 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(2)) SWIG_fail
;
18218 if (arg2
== NULL
) {
18219 SWIG_null_ref("wxCursor");
18221 if (SWIG_arg_fail(2)) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 Py_INCREF(Py_None
); resultobj
= Py_None
;
18237 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18253 result
= (wxCursor
*) &_result_ref
;
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 wxCursor
* resultptr
= new wxCursor(*result
);
18261 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18269 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18280 if (SWIG_arg_fail(1)) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18297 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18300 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18302 return Py_BuildValue((char *)"");
18304 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18307 wxKeyEvent
*result
;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "keyType", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18316 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18334 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18362 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18401 if (SWIG_arg_fail(1)) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18418 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18446 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18502 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_From_int((int)(result
));
18530 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_int((int)(result
));
18558 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18561 unsigned int result
;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18586 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18589 unsigned int result
;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18614 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(1)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (arg1
)->GetPosition();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 wxPoint
* resultptr
;
18635 resultptr
= new wxPoint((wxPoint
&)(result
));
18636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18644 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18647 long *arg2
= (long *) 0 ;
18648 long *arg3
= (long *) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18659 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18662 if (SWIG_arg_fail(1)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->GetPosition(arg2
,arg3
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 Py_INCREF(Py_None
); resultobj
= Py_None
;
18671 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18672 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18673 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18674 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18681 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_From_int((int)(result
));
18709 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
;
18711 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_From_int((int)(result
));
18737 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "m_x", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail
;
18751 arg2
= (int)(SWIG_As_int(obj1
));
18752 if (SWIG_arg_fail(2)) SWIG_fail
;
18754 if (arg1
) (arg1
)->m_x
= arg2
;
18756 Py_INCREF(Py_None
); resultobj
= Py_None
;
18763 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18774 if (SWIG_arg_fail(1)) SWIG_fail
;
18775 result
= (int) ((arg1
)->m_x
);
18778 resultobj
= SWIG_From_int((int)(result
));
18786 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "m_y", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail
;
18800 arg2
= (int)(SWIG_As_int(obj1
));
18801 if (SWIG_arg_fail(2)) SWIG_fail
;
18803 if (arg1
) (arg1
)->m_y
= arg2
;
18805 Py_INCREF(Py_None
); resultobj
= Py_None
;
18812 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail
;
18824 result
= (int) ((arg1
)->m_y
);
18827 resultobj
= SWIG_From_int((int)(result
));
18835 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self",(char *) "m_keyCode", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 arg2
= (long)(SWIG_As_long(obj1
));
18850 if (SWIG_arg_fail(2)) SWIG_fail
;
18852 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18854 Py_INCREF(Py_None
); resultobj
= Py_None
;
18861 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 result
= (long) ((arg1
)->m_keyCode
);
18876 resultobj
= SWIG_From_long((long)(result
));
18884 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "m_controlDown", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail
;
18898 arg2
= (bool)(SWIG_As_bool(obj1
));
18899 if (SWIG_arg_fail(2)) SWIG_fail
;
18901 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18910 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail
;
18922 result
= (bool) ((arg1
)->m_controlDown
);
18925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18933 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "m_shiftDown", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 arg2
= (bool)(SWIG_As_bool(obj1
));
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18950 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18952 Py_INCREF(Py_None
); resultobj
= Py_None
;
18959 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail
;
18971 result
= (bool) ((arg1
)->m_shiftDown
);
18974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18982 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "m_altDown", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18994 if (SWIG_arg_fail(1)) SWIG_fail
;
18996 arg2
= (bool)(SWIG_As_bool(obj1
));
18997 if (SWIG_arg_fail(2)) SWIG_fail
;
18999 if (arg1
) (arg1
)->m_altDown
= arg2
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19008 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail
;
19020 result
= (bool) ((arg1
)->m_altDown
);
19023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19031 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self",(char *) "m_metaDown", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19043 if (SWIG_arg_fail(1)) SWIG_fail
;
19045 arg2
= (bool)(SWIG_As_bool(obj1
));
19046 if (SWIG_arg_fail(2)) SWIG_fail
;
19048 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19050 Py_INCREF(Py_None
); resultobj
= Py_None
;
19057 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19068 if (SWIG_arg_fail(1)) SWIG_fail
;
19069 result
= (bool) ((arg1
)->m_metaDown
);
19072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19080 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "m_scanCode", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 arg2
= (bool)(SWIG_As_bool(obj1
));
19095 if (SWIG_arg_fail(2)) SWIG_fail
;
19097 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19099 Py_INCREF(Py_None
); resultobj
= Py_None
;
19106 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 result
= (bool) ((arg1
)->m_scanCode
);
19121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19129 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19132 unsigned int arg2
;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "m_rawCode", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19143 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19144 if (SWIG_arg_fail(2)) SWIG_fail
;
19146 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19158 unsigned int result
;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19166 if (SWIG_arg_fail(1)) SWIG_fail
;
19167 result
= (unsigned int) ((arg1
)->m_rawCode
);
19170 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19178 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19181 unsigned int arg2
;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "m_rawFlags", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19192 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19193 if (SWIG_arg_fail(2)) SWIG_fail
;
19195 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19207 unsigned int result
;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19215 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19219 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19227 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19232 return Py_BuildValue((char *)"");
19234 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19237 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19238 int arg2
= (int) 0 ;
19239 wxSizeEvent
*result
;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "sz",(char *) "winid", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19256 arg2
= (int)(SWIG_As_int(obj1
));
19257 if (SWIG_arg_fail(2)) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19274 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19285 if (SWIG_arg_fail(1)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 wxSize
* resultptr
;
19295 resultptr
= new wxSize((wxSize
&)(result
));
19296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19304 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19315 if (SWIG_arg_fail(1)) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 wxRect
* resultptr
;
19325 resultptr
= new wxRect((wxRect
&)(result
));
19326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19334 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "rect", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19346 if (SWIG_arg_fail(1)) SWIG_fail
;
19349 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19350 if (SWIG_arg_fail(2)) SWIG_fail
;
19351 if (argp
== NULL
) {
19352 SWIG_null_ref("wxRect");
19354 if (SWIG_arg_fail(2)) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 (arg1
)->SetRect(arg2
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 Py_INCREF(Py_None
); resultobj
= Py_None
;
19371 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self",(char *) "size", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19386 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19387 if (SWIG_arg_fail(2)) SWIG_fail
;
19388 if (argp
== NULL
) {
19389 SWIG_null_ref("wxSize");
19391 if (SWIG_arg_fail(2)) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 wxSizeEvent_SetSize(arg1
,arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19411 wxSize
*arg2
= (wxSize
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "m_size", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19420 if (SWIG_arg_fail(1)) SWIG_fail
;
19421 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 if (arg1
) (arg1
)->m_size
= *arg2
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail
;
19444 result
= (wxSize
*)& ((arg1
)->m_size
);
19446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19453 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19456 wxRect
*arg2
= (wxRect
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self",(char *) "m_rect", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19465 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19467 if (SWIG_arg_fail(2)) SWIG_fail
;
19468 if (arg1
) (arg1
)->m_rect
= *arg2
;
19470 Py_INCREF(Py_None
); resultobj
= Py_None
;
19477 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19481 PyObject
* obj0
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail
;
19489 result
= (wxRect
*)& ((arg1
)->m_rect
);
19491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19498 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19501 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19503 return Py_BuildValue((char *)"");
19505 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19508 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19509 int arg2
= (int) 0 ;
19510 wxMoveEvent
*result
;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "pos",(char *) "winid", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19522 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19527 arg2
= (int)(SWIG_As_int(obj1
));
19528 if (SWIG_arg_fail(2)) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19545 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19556 if (SWIG_arg_fail(1)) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19565 wxPoint
* resultptr
;
19566 resultptr
= new wxPoint((wxPoint
&)(result
));
19567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19575 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 wxRect
* resultptr
;
19596 resultptr
= new wxRect((wxRect
&)(result
));
19597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19605 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self",(char *) "rect", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail
;
19621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 (arg1
)->SetRect((wxRect
const &)*arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 Py_INCREF(Py_None
); resultobj
= Py_None
;
19637 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19640 wxPoint
*arg2
= 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "pos", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19650 if (SWIG_arg_fail(1)) SWIG_fail
;
19653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 Py_INCREF(Py_None
); resultobj
= Py_None
;
19669 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19672 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19674 return Py_BuildValue((char *)"");
19676 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 int arg1
= (int) 0 ;
19679 wxPaintEvent
*result
;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "Id", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19688 arg1
= (int)(SWIG_As_int(obj0
));
19689 if (SWIG_arg_fail(1)) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19706 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19709 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19711 return Py_BuildValue((char *)"");
19713 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 int arg1
= (int) 0 ;
19716 wxNcPaintEvent
*result
;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "winid", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19725 arg1
= (int)(SWIG_As_int(obj0
));
19726 if (SWIG_arg_fail(1)) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19743 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19746 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19748 return Py_BuildValue((char *)"");
19750 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 int arg1
= (int) 0 ;
19753 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19754 wxEraseEvent
*result
;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "Id",(char *) "dc", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19764 arg1
= (int)(SWIG_As_int(obj0
));
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19770 if (SWIG_arg_fail(2)) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19786 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
;
19788 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19797 if (SWIG_arg_fail(1)) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= wxPyMake_wxObject(result
, 0);
19814 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19817 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19819 return Py_BuildValue((char *)"");
19821 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19824 int arg2
= (int) 0 ;
19825 wxFocusEvent
*result
;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "type",(char *) "winid", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19836 if (SWIG_arg_fail(1)) SWIG_fail
;
19841 arg2
= (int)(SWIG_As_int(obj1
));
19842 if (SWIG_arg_fail(2)) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19859 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= wxPyMake_wxObject(result
, 0);
19887 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19890 wxWindow
*arg2
= (wxWindow
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self",(char *) "win", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19901 if (SWIG_arg_fail(2)) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetWindow(arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 Py_INCREF(Py_None
); resultobj
= Py_None
;
19916 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19919 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19921 return Py_BuildValue((char *)"");
19923 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxWindow
*arg1
= (wxWindow
*) NULL
;
19926 wxChildFocusEvent
*result
;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "win", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19935 if (SWIG_arg_fail(1)) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19951 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19962 if (SWIG_arg_fail(1)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= wxPyMake_wxObject(result
, 0);
19979 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19982 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19984 return Py_BuildValue((char *)"");
19986 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19989 bool arg2
= (bool) true ;
19990 int arg3
= (int) 0 ;
19991 wxActivateEvent
*result
;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 PyObject
* obj2
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "type",(char *) "active",(char *) "Id", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20002 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20008 arg2
= (bool)(SWIG_As_bool(obj1
));
20009 if (SWIG_arg_fail(2)) SWIG_fail
;
20014 arg3
= (int)(SWIG_As_int(obj2
));
20015 if (SWIG_arg_fail(3)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20032 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20043 if (SWIG_arg_fail(1)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20060 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20063 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20065 return Py_BuildValue((char *)"");
20067 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 int arg1
= (int) 0 ;
20070 wxInitDialogEvent
*result
;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "Id", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20079 arg1
= (int)(SWIG_As_int(obj0
));
20080 if (SWIG_arg_fail(1)) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20097 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20100 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20102 return Py_BuildValue((char *)"");
20104 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20107 int arg2
= (int) 0 ;
20108 wxMenu
*arg3
= (wxMenu
*) NULL
;
20109 wxMenuEvent
*result
;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 char *kwnames
[] = {
20114 (char *) "type",(char *) "winid",(char *) "menu", NULL
20117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20120 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20121 if (SWIG_arg_fail(1)) SWIG_fail
;
20126 arg2
= (int)(SWIG_As_int(obj1
));
20127 if (SWIG_arg_fail(2)) SWIG_fail
;
20131 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20132 if (SWIG_arg_fail(3)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20148 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= SWIG_From_int((int)(result
));
20176 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20204 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20215 if (SWIG_arg_fail(1)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= wxPyMake_wxObject(result
, 0);
20232 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20235 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20237 return Py_BuildValue((char *)"");
20239 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20242 int arg2
= (int) 0 ;
20243 wxCloseEvent
*result
;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "type",(char *) "winid", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20253 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20259 arg2
= (int)(SWIG_As_int(obj1
));
20260 if (SWIG_arg_fail(2)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20277 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "logOff", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20289 if (SWIG_arg_fail(1)) SWIG_fail
;
20291 arg2
= (bool)(SWIG_As_bool(obj1
));
20292 if (SWIG_arg_fail(2)) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 (arg1
)->SetLoggingOff(arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 Py_INCREF(Py_None
); resultobj
= Py_None
;
20308 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20319 if (SWIG_arg_fail(1)) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20336 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20339 bool arg2
= (bool) true ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "veto", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20348 if (SWIG_arg_fail(1)) SWIG_fail
;
20351 arg2
= (bool)(SWIG_As_bool(obj1
));
20352 if (SWIG_arg_fail(2)) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 (arg1
)->Veto(arg2
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 Py_INCREF(Py_None
); resultobj
= Py_None
;
20369 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "canVeto", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20381 if (SWIG_arg_fail(1)) SWIG_fail
;
20383 arg2
= (bool)(SWIG_As_bool(obj1
));
20384 if (SWIG_arg_fail(2)) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->SetCanVeto(arg2
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 Py_INCREF(Py_None
); resultobj
= Py_None
;
20400 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20411 if (SWIG_arg_fail(1)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20428 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20456 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20459 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20461 return Py_BuildValue((char *)"");
20463 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 int arg1
= (int) 0 ;
20466 bool arg2
= (bool) false ;
20467 wxShowEvent
*result
;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "winid",(char *) "show", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20477 arg1
= (int)(SWIG_As_int(obj0
));
20478 if (SWIG_arg_fail(1)) SWIG_fail
;
20483 arg2
= (bool)(SWIG_As_bool(obj1
));
20484 if (SWIG_arg_fail(2)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20501 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self",(char *) "show", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail
;
20515 arg2
= (bool)(SWIG_As_bool(obj1
));
20516 if (SWIG_arg_fail(2)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->SetShow(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 Py_INCREF(Py_None
); resultobj
= Py_None
;
20532 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20560 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20563 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20565 return Py_BuildValue((char *)"");
20567 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 int arg1
= (int) 0 ;
20570 bool arg2
= (bool) true ;
20571 wxIconizeEvent
*result
;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "id",(char *) "iconized", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20581 arg1
= (int)(SWIG_As_int(obj0
));
20582 if (SWIG_arg_fail(1)) SWIG_fail
;
20587 arg2
= (bool)(SWIG_As_bool(obj1
));
20588 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20605 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20616 if (SWIG_arg_fail(1)) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)(arg1
)->Iconized();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20636 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20638 return Py_BuildValue((char *)"");
20640 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 int arg1
= (int) 0 ;
20643 wxMaximizeEvent
*result
;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "id", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20652 arg1
= (int)(SWIG_As_int(obj0
));
20653 if (SWIG_arg_fail(1)) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20670 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20673 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20675 return Py_BuildValue((char *)"");
20677 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20681 PyObject
* obj0
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20688 if (SWIG_arg_fail(1)) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (arg1
)->GetPosition();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20697 wxPoint
* resultptr
;
20698 resultptr
= new wxPoint((wxPoint
&)(result
));
20699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20707 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (int)(arg1
)->GetNumberOfFiles();
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_From_int((int)(result
));
20735 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= result
;
20761 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20764 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20766 return Py_BuildValue((char *)"");
20768 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 int arg1
= (int) 0 ;
20771 wxUpdateUIEvent
*result
;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "commandId", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20780 arg1
= (int)(SWIG_As_int(obj0
));
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20798 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20826 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20854 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20886 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20897 if (SWIG_arg_fail(1)) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20914 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20953 if (SWIG_arg_fail(1)) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20970 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 char *kwnames
[] = {
20977 (char *) "self",(char *) "check", NULL
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20982 if (SWIG_arg_fail(1)) SWIG_fail
;
20984 arg2
= (bool)(SWIG_As_bool(obj1
));
20985 if (SWIG_arg_fail(2)) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->Check(arg2
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21001 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self",(char *) "enable", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail
;
21015 arg2
= (bool)(SWIG_As_bool(obj1
));
21016 if (SWIG_arg_fail(2)) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->Enable(arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 Py_INCREF(Py_None
); resultobj
= Py_None
;
21032 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21035 wxString
*arg2
= 0 ;
21036 bool temp2
= false ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "text", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21045 if (SWIG_arg_fail(1)) SWIG_fail
;
21047 arg2
= wxString_in_helper(obj1
);
21048 if (arg2
== NULL
) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 (arg1
)->SetText((wxString
const &)*arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 Py_INCREF(Py_None
); resultobj
= Py_None
;
21073 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "updateInterval", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21083 arg1
= (long)(SWIG_As_long(obj0
));
21084 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 Py_INCREF(Py_None
); resultobj
= Py_None
;
21100 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21103 char *kwnames
[] = {
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= SWIG_From_long((long)(result
));
21124 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxWindow
*arg1
= (wxWindow
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "win", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21135 if (SWIG_arg_fail(1)) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 char *kwnames
[] = {
21158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 wxUpdateUIEvent::ResetUpdateTime();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 Py_INCREF(Py_None
); resultobj
= Py_None
;
21173 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxUpdateUIMode arg1
;
21176 PyObject
* obj0
= 0 ;
21177 char *kwnames
[] = {
21178 (char *) "mode", NULL
21181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21183 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21184 if (SWIG_arg_fail(1)) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 Py_INCREF(Py_None
); resultobj
= Py_None
;
21200 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxUpdateUIMode result
;
21203 char *kwnames
[] = {
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_From_int((result
));
21222 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21225 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21227 return Py_BuildValue((char *)"");
21229 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxSysColourChangedEvent
*result
;
21232 char *kwnames
[] = {
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21251 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21254 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21256 return Py_BuildValue((char *)"");
21258 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
;
21260 int arg1
= (int) 0 ;
21261 wxWindow
*arg2
= (wxWindow
*) NULL
;
21262 wxMouseCaptureChangedEvent
*result
;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "winid",(char *) "gainedCapture", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 arg1
= (int)(SWIG_As_int(obj0
));
21273 if (SWIG_arg_fail(1)) SWIG_fail
;
21277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21278 if (SWIG_arg_fail(2)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21294 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= wxPyMake_wxObject(result
, 0);
21322 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21325 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21327 return Py_BuildValue((char *)"");
21329 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxDisplayChangedEvent
*result
;
21332 char *kwnames
[] = {
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21351 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21354 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21356 return Py_BuildValue((char *)"");
21358 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
;
21360 int arg1
= (int) 0 ;
21361 wxPaletteChangedEvent
*result
;
21362 PyObject
* obj0
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "id", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21370 arg1
= (int)(SWIG_As_int(obj0
));
21371 if (SWIG_arg_fail(1)) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21388 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21391 wxWindow
*arg2
= (wxWindow
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "win", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21402 if (SWIG_arg_fail(2)) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 (arg1
)->SetChangedWindow(arg2
);
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 Py_INCREF(Py_None
); resultobj
= Py_None
;
21417 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= wxPyMake_wxObject(result
, 0);
21445 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21448 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21450 return Py_BuildValue((char *)"");
21452 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 int arg1
= (int) 0 ;
21455 wxQueryNewPaletteEvent
*result
;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "winid", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21464 arg1
= (int)(SWIG_As_int(obj0
));
21465 if (SWIG_arg_fail(1)) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21482 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self",(char *) "realized", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail
;
21496 arg2
= (bool)(SWIG_As_bool(obj1
));
21497 if (SWIG_arg_fail(2)) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 (arg1
)->SetPaletteRealized(arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21541 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21544 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21546 return Py_BuildValue((char *)"");
21548 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxNavigationKeyEvent
*result
;
21551 char *kwnames
[] = {
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21570 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21581 if (SWIG_arg_fail(1)) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21598 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
;
21600 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "forward", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 arg2
= (bool)(SWIG_As_bool(obj1
));
21613 if (SWIG_arg_fail(2)) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 (arg1
)->SetDirection(arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 Py_INCREF(Py_None
); resultobj
= Py_None
;
21629 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21657 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "ischange", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 arg2
= (bool)(SWIG_As_bool(obj1
));
21672 if (SWIG_arg_fail(2)) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetWindowChange(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21716 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "bIs", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21728 if (SWIG_arg_fail(1)) SWIG_fail
;
21730 arg2
= (bool)(SWIG_As_bool(obj1
));
21731 if (SWIG_arg_fail(2)) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 (arg1
)->SetFromTab(arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 Py_INCREF(Py_None
); resultobj
= Py_None
;
21747 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "flags", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21759 if (SWIG_arg_fail(1)) SWIG_fail
;
21761 arg2
= (long)(SWIG_As_long(obj1
));
21762 if (SWIG_arg_fail(2)) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 (arg1
)->SetFlags(arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 Py_INCREF(Py_None
); resultobj
= Py_None
;
21778 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= wxPyMake_wxObject(result
, 0);
21806 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
;
21808 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21809 wxWindow
*arg2
= (wxWindow
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self",(char *) "win", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21818 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21820 if (SWIG_arg_fail(2)) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 (arg1
)->SetCurrentFocus(arg2
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 Py_INCREF(Py_None
); resultobj
= Py_None
;
21835 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21838 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21840 return Py_BuildValue((char *)"");
21842 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxWindow
*arg1
= (wxWindow
*) NULL
;
21845 wxWindowCreateEvent
*result
;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "win", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21870 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21881 if (SWIG_arg_fail(1)) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= wxPyMake_wxObject(result
, 0);
21898 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21901 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21903 return Py_BuildValue((char *)"");
21905 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxWindow
*arg1
= (wxWindow
*) NULL
;
21908 wxWindowDestroyEvent
*result
;
21909 PyObject
* obj0
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "win", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21917 if (SWIG_arg_fail(1)) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21933 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= wxPyMake_wxObject(result
, 0);
21961 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21964 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21966 return Py_BuildValue((char *)"");
21968 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21971 int arg2
= (int) 0 ;
21972 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21973 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21974 wxContextMenuEvent
*result
;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "type",(char *) "winid",(char *) "pt", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21986 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21987 if (SWIG_arg_fail(1)) SWIG_fail
;
21992 arg2
= (int)(SWIG_As_int(obj1
));
21993 if (SWIG_arg_fail(2)) SWIG_fail
;
21999 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22016 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22032 result
= (wxPoint
*) &_result_ref
;
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22045 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22048 wxPoint
*arg2
= 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "pos", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22058 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22080 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22082 return Py_BuildValue((char *)"");
22084 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxIdleEvent
*result
;
22087 char *kwnames
[] = {
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (wxIdleEvent
*)new wxIdleEvent();
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22106 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22109 bool arg2
= (bool) true ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "needMore", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22118 if (SWIG_arg_fail(1)) SWIG_fail
;
22121 arg2
= (bool)(SWIG_As_bool(obj1
));
22122 if (SWIG_arg_fail(2)) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->RequestMore(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22139 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22150 if (SWIG_arg_fail(1)) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22167 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22170 PyObject
* obj0
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "mode", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22177 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22178 if (SWIG_arg_fail(1)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 Py_INCREF(Py_None
); resultobj
= Py_None
;
22194 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22197 char *kwnames
[] = {
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int((result
));
22216 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxWindow
*arg1
= (wxWindow
*) 0 ;
22220 PyObject
* obj0
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "win", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22227 if (SWIG_arg_fail(1)) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (bool)wxIdleEvent::CanSend(arg1
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22244 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22247 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22249 return Py_BuildValue((char *)"");
22251 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 int arg1
= (int) 0 ;
22254 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22256 PyObject
* obj0
= 0 ;
22257 PyObject
* obj1
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "winid",(char *) "commandType", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 arg1
= (int)(SWIG_As_int(obj0
));
22266 if (SWIG_arg_fail(1)) SWIG_fail
;
22271 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22272 if (SWIG_arg_fail(2)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22289 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 Py_INCREF(Py_None
); resultobj
= Py_None
;
22314 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22317 PyObject
*arg2
= (PyObject
*) 0 ;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetSelf(arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (PyObject
*)(arg1
)->GetSelf();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= result
;
22368 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22371 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22373 return Py_BuildValue((char *)"");
22375 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22378 int arg2
= (int) 0 ;
22379 wxPyCommandEvent
*result
;
22380 PyObject
* obj0
= 0 ;
22381 PyObject
* obj1
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "commandType",(char *) "id", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22389 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22395 arg2
= (int)(SWIG_As_int(obj1
));
22396 if (SWIG_arg_fail(2)) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22413 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22423 if (SWIG_arg_fail(1)) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 Py_INCREF(Py_None
); resultobj
= Py_None
;
22438 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22441 PyObject
*arg2
= (PyObject
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 (arg1
)->SetSelf(arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 char *kwnames
[] = {
22472 (char *) "self", NULL
22475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22477 if (SWIG_arg_fail(1)) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (PyObject
*)(arg1
)->GetSelf();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= result
;
22492 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22495 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22497 return Py_BuildValue((char *)"");
22499 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxWindow
*arg1
= (wxWindow
*) 0 ;
22502 wxDateTime
*arg2
= 0 ;
22504 wxDateEvent
*result
;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 PyObject
* obj2
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "win",(char *) "dt",(char *) "type", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22517 if (SWIG_arg_fail(2)) SWIG_fail
;
22518 if (arg2
== NULL
) {
22519 SWIG_null_ref("wxDateTime");
22521 if (SWIG_arg_fail(2)) SWIG_fail
;
22524 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22525 if (SWIG_arg_fail(3)) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22541 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22544 wxDateTime
*result
;
22545 PyObject
* obj0
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22557 result
= (wxDateTime
*) &_result_ref
;
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22570 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22573 wxDateTime
*arg2
= 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "date", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22582 if (SWIG_arg_fail(1)) SWIG_fail
;
22584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22585 if (SWIG_arg_fail(2)) SWIG_fail
;
22586 if (arg2
== NULL
) {
22587 SWIG_null_ref("wxDateTime");
22589 if (SWIG_arg_fail(2)) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 Py_INCREF(Py_None
); resultobj
= Py_None
;
22605 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22608 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22610 return Py_BuildValue((char *)"");
22612 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22615 char *kwnames
[] = {
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 result
= (wxPyApp
*)new_wxPyApp();
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22634 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 Py_INCREF(Py_None
); resultobj
= Py_None
;
22659 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22662 PyObject
*arg2
= (PyObject
*) 0 ;
22663 PyObject
*arg3
= (PyObject
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 PyObject
* obj1
= 0 ;
22667 PyObject
* obj2
= 0 ;
22668 PyObject
* obj3
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail
;
22679 arg4
= (bool)(SWIG_As_bool(obj3
));
22680 if (SWIG_arg_fail(4)) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22728 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22731 wxString
*arg2
= 0 ;
22732 bool temp2
= false ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "name", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22741 if (SWIG_arg_fail(1)) SWIG_fail
;
22743 arg2
= wxString_in_helper(obj1
);
22744 if (arg2
== NULL
) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 (arg1
)->SetAppName((wxString
const &)*arg2
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 Py_INCREF(Py_None
); resultobj
= Py_None
;
22769 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22780 if (SWIG_arg_fail(1)) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22801 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22804 wxString
*arg2
= 0 ;
22805 bool temp2
= false ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "name", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22814 if (SWIG_arg_fail(1)) SWIG_fail
;
22816 arg2
= wxString_in_helper(obj1
);
22817 if (arg2
== NULL
) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 (arg1
)->SetClassName((wxString
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22858 result
= (wxString
*) &_result_ref
;
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22868 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22877 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22880 wxString
*arg2
= 0 ;
22881 bool temp2
= false ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj1
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self",(char *) "name", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail
;
22892 arg2
= wxString_in_helper(obj1
);
22893 if (arg2
== NULL
) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 Py_INCREF(Py_None
); resultobj
= Py_None
;
22918 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22921 wxAppTraits
*result
;
22922 PyObject
* obj0
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22929 if (SWIG_arg_fail(1)) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22944 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 (arg1
)->ProcessPendingEvents();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 Py_INCREF(Py_None
); resultobj
= Py_None
;
22969 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22972 bool arg2
= (bool) false ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self",(char *) "onlyIfNeeded", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22982 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 arg2
= (bool)(SWIG_As_bool(obj1
));
22986 if (SWIG_arg_fail(2)) SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 result
= (bool)(arg1
)->Yield(arg2
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23005 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->WakeUpIdle();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23033 char *kwnames
[] = {
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (bool)wxPyApp::IsMainLoopRunning();
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23054 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23065 if (SWIG_arg_fail(1)) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (int)(arg1
)->MainLoop();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_From_int((int)(result
));
23082 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23092 if (SWIG_arg_fail(1)) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 Py_INCREF(Py_None
); resultobj
= Py_None
;
23107 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 (arg1
)->ExitMainLoop();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23143 if (SWIG_arg_fail(1)) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)(arg1
)->Pending();
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23160 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (bool)(arg1
)->Dispatch();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23188 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (bool)(arg1
)->ProcessIdle();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23219 wxWindow
*arg2
= (wxWindow
*) 0 ;
23220 wxIdleEvent
*arg3
= 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 PyObject
* obj2
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "win",(char *) "event", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail
;
23232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23233 if (SWIG_arg_fail(2)) SWIG_fail
;
23235 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23236 if (SWIG_arg_fail(3)) SWIG_fail
;
23237 if (arg3
== NULL
) {
23238 SWIG_null_ref("wxIdleEvent");
23240 if (SWIG_arg_fail(3)) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23258 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23289 wxWindow
*arg2
= (wxWindow
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "win", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(2)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 (arg1
)->SetTopWindow(arg2
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 Py_INCREF(Py_None
); resultobj
= Py_None
;
23315 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
;
23317 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= wxPyMake_wxObject(result
, 0);
23343 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "flag", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail
;
23357 arg2
= (bool)(SWIG_As_bool(obj1
));
23358 if (SWIG_arg_fail(2)) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 (arg1
)->SetExitOnFrameDelete(arg2
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 Py_INCREF(Py_None
); resultobj
= Py_None
;
23374 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
;
23376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23402 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "flag", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail
;
23416 arg2
= (bool)(SWIG_As_bool(obj1
));
23417 if (SWIG_arg_fail(2)) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetUseBestVisual(arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23461 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "mode", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail
;
23475 arg2
= (int)(SWIG_As_int(obj1
));
23476 if (SWIG_arg_fail(2)) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 (arg1
)->SetPrintMode(arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 Py_INCREF(Py_None
); resultobj
= Py_None
;
23492 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_From_int((int)(result
));
23520 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self",(char *) "mode", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23532 if (SWIG_arg_fail(1)) SWIG_fail
;
23534 arg2
= (int)(SWIG_As_int(obj1
));
23535 if (SWIG_arg_fail(2)) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 (arg1
)->SetAssertMode(arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 Py_INCREF(Py_None
); resultobj
= Py_None
;
23551 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (int)(arg1
)->GetAssertMode();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_int((int)(result
));
23579 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23582 char *kwnames
[] = {
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23603 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23606 char *kwnames
[] = {
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_From_long((long)(result
));
23627 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23630 char *kwnames
[] = {
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_long((long)(result
));
23651 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23654 char *kwnames
[] = {
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (long)wxPyApp::GetMacExitMenuItemId();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_From_long((long)(result
));
23675 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23678 char *kwnames
[] = {
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= wxPyApp::GetMacHelpMenuTitleName();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23703 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "val", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23713 arg1
= (bool)(SWIG_As_bool(obj0
));
23714 if (SWIG_arg_fail(1)) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23733 PyObject
* obj0
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "val", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23740 arg1
= (long)(SWIG_As_long(obj0
));
23741 if (SWIG_arg_fail(1)) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 wxPyApp::SetMacAboutMenuItemId(arg1
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 Py_INCREF(Py_None
); resultobj
= Py_None
;
23757 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "val", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23767 arg1
= (long)(SWIG_As_long(obj0
));
23768 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 Py_INCREF(Py_None
); resultobj
= Py_None
;
23784 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23787 PyObject
* obj0
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "val", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23794 arg1
= (long)(SWIG_As_long(obj0
));
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 wxPyApp::SetMacExitMenuItemId(arg1
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 Py_INCREF(Py_None
); resultobj
= Py_None
;
23811 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxString
*arg1
= 0 ;
23814 bool temp1
= false ;
23815 PyObject
* obj0
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "val", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23822 arg1
= wxString_in_helper(obj0
);
23823 if (arg1
== NULL
) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 Py_INCREF(Py_None
); resultobj
= Py_None
;
23848 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 (arg1
)->_BootstrapApp();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 Py_INCREF(Py_None
); resultobj
= Py_None
;
23873 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23876 char *kwnames
[] = {
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (int)wxPyApp::GetComCtl32Version();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_From_int((int)(result
));
23897 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23900 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23902 return Py_BuildValue((char *)"");
23904 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 char *kwnames
[] = {
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 Py_INCREF(Py_None
); resultobj
= Py_None
;
23925 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23928 char *kwnames
[] = {
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (bool)wxYield();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23949 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23952 char *kwnames
[] = {
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)wxYieldIfNeeded();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23973 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxWindow
*arg1
= (wxWindow
*) NULL
;
23976 bool arg2
= (bool) false ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "win",(char *) "onlyIfNeeded", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23991 arg2
= (bool)(SWIG_As_bool(obj1
));
23992 if (SWIG_arg_fail(2)) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (bool)wxSafeYield(arg1
,arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24011 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 char *kwnames
[] = {
24017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 Py_INCREF(Py_None
); resultobj
= Py_None
;
24032 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24035 wxEvent
*arg2
= 0 ;
24036 PyObject
* obj0
= 0 ;
24037 PyObject
* obj1
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "dest",(char *) "event", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24044 if (SWIG_arg_fail(1)) SWIG_fail
;
24046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24047 if (SWIG_arg_fail(2)) SWIG_fail
;
24048 if (arg2
== NULL
) {
24049 SWIG_null_ref("wxEvent");
24051 if (SWIG_arg_fail(2)) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 wxPostEvent(arg1
,*arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 Py_INCREF(Py_None
); resultobj
= Py_None
;
24067 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 char *kwnames
[] = {
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 Py_INCREF(Py_None
); resultobj
= Py_None
;
24088 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24091 char *kwnames
[] = {
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (wxPyApp
*)wxPyGetApp();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= wxPyMake_wxObject(result
, 0);
24112 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 char *arg1
= (char *) 0 ;
24115 PyObject
* obj0
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "encoding", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24121 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24122 SWIG_arg_fail(1);SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 wxSetDefaultPyEncoding((char const *)arg1
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 Py_INCREF(Py_None
); resultobj
= Py_None
;
24138 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24141 char *kwnames
[] = {
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (char *)wxGetDefaultPyEncoding();
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_FromCharPtr(result
);
24160 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxEventLoop
*result
;
24163 char *kwnames
[] = {
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxEventLoop
*)new wxEventLoop();
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24182 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 Py_INCREF(Py_None
); resultobj
= Py_None
;
24207 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24218 if (SWIG_arg_fail(1)) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (int)(arg1
)->Run();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_From_int((int)(result
));
24235 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24238 int arg2
= (int) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self",(char *) "rc", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24247 if (SWIG_arg_fail(1)) SWIG_fail
;
24250 arg2
= (int)(SWIG_As_int(obj1
));
24251 if (SWIG_arg_fail(2)) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->Exit(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 Py_INCREF(Py_None
); resultobj
= Py_None
;
24268 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24296 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)(arg1
)->Dispatch();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24352 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxEventLoop
*result
;
24355 char *kwnames
[] = {
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24374 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "loop", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24384 if (SWIG_arg_fail(1)) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 wxEventLoop::SetActive(arg1
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 Py_INCREF(Py_None
); resultobj
= Py_None
;
24399 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24402 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24404 return Py_BuildValue((char *)"");
24406 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 int arg1
= (int) 0 ;
24409 int arg2
= (int) 0 ;
24410 int arg3
= (int) 0 ;
24411 wxAcceleratorEntry
*result
;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char *kwnames
[] = {
24416 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24422 arg1
= (int)(SWIG_As_int(obj0
));
24423 if (SWIG_arg_fail(1)) SWIG_fail
;
24428 arg2
= (int)(SWIG_As_int(obj1
));
24429 if (SWIG_arg_fail(2)) SWIG_fail
;
24434 arg3
= (int)(SWIG_As_int(obj2
));
24435 if (SWIG_arg_fail(3)) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24452 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24462 if (SWIG_arg_fail(1)) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 Py_INCREF(Py_None
); resultobj
= Py_None
;
24477 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 PyObject
* obj3
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24495 arg2
= (int)(SWIG_As_int(obj1
));
24496 if (SWIG_arg_fail(2)) SWIG_fail
;
24499 arg3
= (int)(SWIG_As_int(obj2
));
24500 if (SWIG_arg_fail(3)) SWIG_fail
;
24503 arg4
= (int)(SWIG_As_int(obj3
));
24504 if (SWIG_arg_fail(4)) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 (arg1
)->Set(arg2
,arg3
,arg4
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 Py_INCREF(Py_None
); resultobj
= Py_None
;
24520 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24524 PyObject
* obj0
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24531 if (SWIG_arg_fail(1)) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (int)(arg1
)->GetFlags();
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_From_int((int)(result
));
24548 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24559 if (SWIG_arg_fail(1)) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (int)(arg1
)->GetKeyCode();
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_From_int((int)(result
));
24576 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (int)(arg1
)->GetCommand();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_From_int((int)(result
));
24604 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24607 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24609 return Py_BuildValue((char *)"");
24611 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24614 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24615 wxAcceleratorTable
*result
;
24616 PyObject
* obj0
= 0 ;
24617 char *kwnames
[] = {
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24623 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24624 if (arg2
) arg1
= PyList_Size(obj0
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24647 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24657 if (SWIG_arg_fail(1)) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24700 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24703 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24705 return Py_BuildValue((char *)"");
24707 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24708 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24713 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24716 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24721 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxString
*arg1
= 0 ;
24724 wxAcceleratorEntry
*result
;
24725 bool temp1
= false ;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "label", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24733 arg1
= wxString_in_helper(obj0
);
24734 if (arg1
== NULL
) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24759 static int _wrap_PanelNameStr_set(PyObject
*) {
24760 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24765 static PyObject
*_wrap_PanelNameStr_get(void) {
24770 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24772 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24779 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxVisualAttributes
*result
;
24782 char *kwnames
[] = {
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24801 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24804 PyObject
* obj0
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24811 if (SWIG_arg_fail(1)) SWIG_fail
;
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 delete_wxVisualAttributes(arg1
);
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 Py_INCREF(Py_None
); resultobj
= Py_None
;
24826 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
;
24828 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24829 wxFont
*arg2
= (wxFont
*) 0 ;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self",(char *) "font", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24838 if (SWIG_arg_fail(1)) SWIG_fail
;
24839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24840 if (SWIG_arg_fail(2)) SWIG_fail
;
24841 if (arg1
) (arg1
)->font
= *arg2
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24862 result
= (wxFont
*)& ((arg1
)->font
);
24864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24871 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24874 wxColour
*arg2
= (wxColour
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self",(char *) "colFg", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail
;
24884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24885 if (SWIG_arg_fail(2)) SWIG_fail
;
24886 if (arg1
) (arg1
)->colFg
= *arg2
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail
;
24907 result
= (wxColour
*)& ((arg1
)->colFg
);
24909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24916 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24919 wxColour
*arg2
= (wxColour
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self",(char *) "colBg", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24930 if (SWIG_arg_fail(2)) SWIG_fail
;
24931 if (arg1
) (arg1
)->colBg
= *arg2
;
24933 Py_INCREF(Py_None
); resultobj
= Py_None
;
24940 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
;
24942 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail
;
24952 result
= (wxColour
*)& ((arg1
)->colBg
);
24954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24961 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24964 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24966 return Py_BuildValue((char *)"");
24968 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxWindow
*arg1
= (wxWindow
*) 0 ;
24971 int arg2
= (int) (int)-1 ;
24972 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24973 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24974 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24975 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24976 long arg5
= (long) 0 ;
24977 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24978 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24982 bool temp6
= false ;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 PyObject
* obj2
= 0 ;
24986 PyObject
* obj3
= 0 ;
24987 PyObject
* obj4
= 0 ;
24988 PyObject
* obj5
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24995 if (SWIG_arg_fail(1)) SWIG_fail
;
24998 arg2
= (int const)(SWIG_As_int(obj1
));
24999 if (SWIG_arg_fail(2)) SWIG_fail
;
25005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25011 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25016 arg5
= (long)(SWIG_As_long(obj4
));
25017 if (SWIG_arg_fail(5)) SWIG_fail
;
25022 arg6
= wxString_in_helper(obj5
);
25023 if (arg6
== NULL
) SWIG_fail
;
25028 if (!wxPyCheckForApp()) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25050 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25053 char *kwnames
[] = {
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25059 if (!wxPyCheckForApp()) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (wxWindow
*)new wxWindow();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25073 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxWindow
*arg1
= (wxWindow
*) 0 ;
25076 wxWindow
*arg2
= (wxWindow
*) 0 ;
25077 int arg3
= (int) (int)-1 ;
25078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25082 long arg6
= (long) 0 ;
25083 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25088 bool temp7
= false ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 PyObject
* obj2
= 0 ;
25092 PyObject
* obj3
= 0 ;
25093 PyObject
* obj4
= 0 ;
25094 PyObject
* obj5
= 0 ;
25095 PyObject
* obj6
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25102 if (SWIG_arg_fail(1)) SWIG_fail
;
25103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25104 if (SWIG_arg_fail(2)) SWIG_fail
;
25107 arg3
= (int const)(SWIG_As_int(obj2
));
25108 if (SWIG_arg_fail(3)) SWIG_fail
;
25114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25125 arg6
= (long)(SWIG_As_long(obj5
));
25126 if (SWIG_arg_fail(6)) SWIG_fail
;
25131 arg7
= wxString_in_helper(obj6
);
25132 if (arg7
== NULL
) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25160 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25163 bool arg2
= (bool) false ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "force", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25173 if (SWIG_arg_fail(1)) SWIG_fail
;
25176 arg2
= (bool)(SWIG_As_bool(obj1
));
25177 if (SWIG_arg_fail(2)) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (bool)(arg1
)->Close(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
;
25198 wxWindow
*arg1
= (wxWindow
*) 0 ;
25200 PyObject
* obj0
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 result
= (bool)(arg1
)->Destroy();
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25224 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 result
= (bool)(arg1
)->DestroyChildren();
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25252 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25280 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxWindow
*arg1
= (wxWindow
*) 0 ;
25283 wxString
*arg2
= 0 ;
25284 bool temp2
= false ;
25285 PyObject
* obj0
= 0 ;
25286 PyObject
* obj1
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self",(char *) "title", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail
;
25295 arg2
= wxString_in_helper(obj1
);
25296 if (arg2
== NULL
) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->SetTitle((wxString
const &)*arg2
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxWindow
*arg1
= (wxWindow
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25332 if (SWIG_arg_fail(1)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= ((wxWindow
const *)arg1
)->GetTitle();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25353 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 wxString
*arg2
= 0 ;
25357 bool temp2
= false ;
25358 PyObject
* obj0
= 0 ;
25359 PyObject
* obj1
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self",(char *) "label", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25366 if (SWIG_arg_fail(1)) SWIG_fail
;
25368 arg2
= wxString_in_helper(obj1
);
25369 if (arg2
== NULL
) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->SetLabel((wxString
const &)*arg2
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxWindow
*arg1
= (wxWindow
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25405 if (SWIG_arg_fail(1)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= ((wxWindow
const *)arg1
)->GetLabel();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25426 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25427 PyObject
*resultobj
;
25428 wxWindow
*arg1
= (wxWindow
*) 0 ;
25429 wxString
*arg2
= 0 ;
25430 bool temp2
= false ;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self",(char *) "name", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25439 if (SWIG_arg_fail(1)) SWIG_fail
;
25441 arg2
= wxString_in_helper(obj1
);
25442 if (arg2
== NULL
) SWIG_fail
;
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 (arg1
)->SetName((wxString
const &)*arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxWindow
*arg1
= (wxWindow
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= ((wxWindow
const *)arg1
)->GetName();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25499 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxWindow
*arg1
= (wxWindow
*) 0 ;
25502 wxWindowVariant arg2
;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "variant", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25511 if (SWIG_arg_fail(1)) SWIG_fail
;
25513 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25514 if (SWIG_arg_fail(2)) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 Py_INCREF(Py_None
); resultobj
= Py_None
;
25530 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxWindow
*arg1
= (wxWindow
*) 0 ;
25533 wxWindowVariant result
;
25534 PyObject
* obj0
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25541 if (SWIG_arg_fail(1)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_From_int((result
));
25556 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char *kwnames
[] = {
25563 (char *) "self",(char *) "winid", NULL
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25568 if (SWIG_arg_fail(1)) SWIG_fail
;
25570 arg2
= (int)(SWIG_As_int(obj1
));
25571 if (SWIG_arg_fail(2)) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->SetId(arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25587 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxWindow
*arg1
= (wxWindow
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(1)) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (int)((wxWindow
const *)arg1
)->GetId();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_From_int((int)(result
));
25615 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25618 char *kwnames
[] = {
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 result
= (int)wxWindow::NewControlId();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_From_int((int)(result
));
25639 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25643 PyObject
* obj0
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "winid", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25650 arg1
= (int)(SWIG_As_int(obj0
));
25651 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (int)wxWindow::NextControlId(arg1
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_From_int((int)(result
));
25669 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "winid", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25680 arg1
= (int)(SWIG_As_int(obj0
));
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (int)wxWindow::PrevControlId(arg1
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_From_int((int)(result
));
25699 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxWindow
*arg1
= (wxWindow
*) 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "size", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail
;
25715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->SetSize((wxSize
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 Py_INCREF(Py_None
); resultobj
= Py_None
;
25731 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxWindow
*arg1
= (wxWindow
*) 0 ;
25738 int arg6
= (int) wxSIZE_AUTO
;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 PyObject
* obj2
= 0 ;
25742 PyObject
* obj3
= 0 ;
25743 PyObject
* obj4
= 0 ;
25744 PyObject
* obj5
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25751 if (SWIG_arg_fail(1)) SWIG_fail
;
25753 arg2
= (int)(SWIG_As_int(obj1
));
25754 if (SWIG_arg_fail(2)) SWIG_fail
;
25757 arg3
= (int)(SWIG_As_int(obj2
));
25758 if (SWIG_arg_fail(3)) SWIG_fail
;
25761 arg4
= (int)(SWIG_As_int(obj3
));
25762 if (SWIG_arg_fail(4)) SWIG_fail
;
25765 arg5
= (int)(SWIG_As_int(obj4
));
25766 if (SWIG_arg_fail(5)) SWIG_fail
;
25770 arg6
= (int)(SWIG_As_int(obj5
));
25771 if (SWIG_arg_fail(6)) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxWindow
*arg1
= (wxWindow
*) 0 ;
25792 int arg3
= (int) wxSIZE_AUTO
;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 PyObject
* obj2
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail
;
25806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25810 arg3
= (int)(SWIG_As_int(obj2
));
25811 if (SWIG_arg_fail(3)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxWindow
*arg1
= (wxWindow
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 PyObject
* obj2
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "width",(char *) "height", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25842 if (SWIG_arg_fail(1)) SWIG_fail
;
25844 arg2
= (int)(SWIG_As_int(obj1
));
25845 if (SWIG_arg_fail(2)) SWIG_fail
;
25848 arg3
= (int)(SWIG_As_int(obj2
));
25849 if (SWIG_arg_fail(3)) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->SetSize(arg2
,arg3
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25868 wxPoint
*arg2
= 0 ;
25869 int arg3
= (int) wxSIZE_USE_EXISTING
;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "pt",(char *) "flags", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25880 if (SWIG_arg_fail(1)) SWIG_fail
;
25883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25887 arg3
= (int)(SWIG_As_int(obj2
));
25888 if (SWIG_arg_fail(3)) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 Py_INCREF(Py_None
); resultobj
= Py_None
;
25905 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxWindow
*arg1
= (wxWindow
*) 0 ;
25910 int arg4
= (int) wxSIZE_USE_EXISTING
;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 PyObject
* obj2
= 0 ;
25914 PyObject
* obj3
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25921 if (SWIG_arg_fail(1)) SWIG_fail
;
25923 arg2
= (int)(SWIG_As_int(obj1
));
25924 if (SWIG_arg_fail(2)) SWIG_fail
;
25927 arg3
= (int)(SWIG_As_int(obj2
));
25928 if (SWIG_arg_fail(3)) SWIG_fail
;
25932 arg4
= (int)(SWIG_As_int(obj3
));
25933 if (SWIG_arg_fail(4)) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->Move(arg2
,arg3
,arg4
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxWindow
*arg1
= (wxWindow
*) 0 ;
25953 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25954 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "size", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail
;
25968 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxWindow
*arg1
= (wxWindow
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 Py_INCREF(Py_None
); resultobj
= Py_None
;
26010 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26020 if (SWIG_arg_fail(1)) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 Py_INCREF(Py_None
); resultobj
= Py_None
;
26035 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxWindow
*arg1
= (wxWindow
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self",(char *) "size", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26048 if (SWIG_arg_fail(1)) SWIG_fail
;
26051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 Py_INCREF(Py_None
); resultobj
= Py_None
;
26067 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxWindow
*arg1
= (wxWindow
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 PyObject
* obj2
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "width",(char *) "height", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26083 arg2
= (int)(SWIG_As_int(obj1
));
26084 if (SWIG_arg_fail(2)) SWIG_fail
;
26087 arg3
= (int)(SWIG_As_int(obj2
));
26088 if (SWIG_arg_fail(3)) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 (arg1
)->SetClientSize(arg2
,arg3
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 Py_INCREF(Py_None
); resultobj
= Py_None
;
26104 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxWindow
*arg1
= (wxWindow
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "rect", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26117 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 Py_INCREF(Py_None
); resultobj
= Py_None
;
26136 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxWindow
*arg1
= (wxWindow
*) 0 ;
26140 PyObject
* obj0
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (arg1
)->GetPosition();
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 wxPoint
* resultptr
;
26157 resultptr
= new wxPoint((wxPoint
&)(result
));
26158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26166 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxWindow
*arg1
= (wxWindow
*) 0 ;
26169 int *arg2
= (int *) 0 ;
26170 int *arg3
= (int *) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self", NULL
26180 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26181 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26184 if (SWIG_arg_fail(1)) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->GetPosition(arg2
,arg3
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 Py_INCREF(Py_None
); resultobj
= Py_None
;
26193 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26194 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26195 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26196 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26203 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxWindow
*arg1
= (wxWindow
*) 0 ;
26207 PyObject
* obj0
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26214 if (SWIG_arg_fail(1)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= ((wxWindow
const *)arg1
)->GetSize();
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 wxSize
* resultptr
;
26224 resultptr
= new wxSize((wxSize
&)(result
));
26225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26233 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxWindow
*arg1
= (wxWindow
*) 0 ;
26236 int *arg2
= (int *) 0 ;
26237 int *arg3
= (int *) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26248 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26261 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26262 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26263 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26270 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxWindow
*arg1
= (wxWindow
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= ((wxWindow
const *)arg1
)->GetRect();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26290 wxRect
* resultptr
;
26291 resultptr
= new wxRect((wxRect
&)(result
));
26292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26300 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 wxSize
* resultptr
;
26321 resultptr
= new wxSize((wxSize
&)(result
));
26322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26330 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxWindow
*arg1
= (wxWindow
*) 0 ;
26333 int *arg2
= (int *) 0 ;
26334 int *arg3
= (int *) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self", NULL
26344 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26345 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26358 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26359 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26360 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26367 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 wxPoint
* resultptr
;
26388 resultptr
= new wxPoint((wxPoint
&)(result
));
26389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26397 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26408 if (SWIG_arg_fail(1)) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 wxRect
* resultptr
;
26418 resultptr
= new wxRect((wxRect
&)(result
));
26419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26427 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxWindow
*arg1
= (wxWindow
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 wxSize
* resultptr
;
26448 resultptr
= new wxSize((wxSize
&)(result
));
26449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26457 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26460 int *arg2
= (int *) 0 ;
26461 int *arg3
= (int *) 0 ;
26466 PyObject
* obj0
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "self", NULL
26471 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26472 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26475 if (SWIG_arg_fail(1)) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 Py_INCREF(Py_None
); resultobj
= Py_None
;
26484 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26485 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26486 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26487 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26494 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxWindow
*arg1
= (wxWindow
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26504 if (SWIG_arg_fail(1)) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 (arg1
)->InvalidateBestSize();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 Py_INCREF(Py_None
); resultobj
= Py_None
;
26519 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxWindow
*arg1
= (wxWindow
*) 0 ;
26523 PyObject
* obj0
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26530 if (SWIG_arg_fail(1)) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 wxSize
* resultptr
;
26540 resultptr
= new wxSize((wxSize
&)(result
));
26541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26549 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxWindow
*arg1
= (wxWindow
*) 0 ;
26553 PyObject
* obj0
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26560 if (SWIG_arg_fail(1)) SWIG_fail
;
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxSize
* resultptr
;
26570 resultptr
= new wxSize((wxSize
&)(result
));
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26579 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxWindow
*arg1
= (wxWindow
*) 0 ;
26582 int arg2
= (int) wxBOTH
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "direction", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail
;
26594 arg2
= (int)(SWIG_As_int(obj1
));
26595 if (SWIG_arg_fail(2)) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 (arg1
)->Center(arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 Py_INCREF(Py_None
); resultobj
= Py_None
;
26612 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxWindow
*arg1
= (wxWindow
*) 0 ;
26615 int arg2
= (int) wxBOTH
;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self",(char *) "dir", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail
;
26627 arg2
= (int)(SWIG_As_int(obj1
));
26628 if (SWIG_arg_fail(2)) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->CenterOnScreen(arg2
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 Py_INCREF(Py_None
); resultobj
= Py_None
;
26645 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxWindow
*arg1
= (wxWindow
*) 0 ;
26648 int arg2
= (int) wxBOTH
;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "dir", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(1)) SWIG_fail
;
26660 arg2
= (int)(SWIG_As_int(obj1
));
26661 if (SWIG_arg_fail(2)) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 (arg1
)->CenterOnParent(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 Py_INCREF(Py_None
); resultobj
= Py_None
;
26678 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxWindow
*arg1
= (wxWindow
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26703 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxWindow
*arg1
= (wxWindow
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26713 if (SWIG_arg_fail(1)) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->FitInside();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 Py_INCREF(Py_None
); resultobj
= Py_None
;
26728 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxWindow
*arg1
= (wxWindow
*) 0 ;
26733 int arg4
= (int) -1 ;
26734 int arg5
= (int) -1 ;
26735 int arg6
= (int) -1 ;
26736 int arg7
= (int) -1 ;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 PyObject
* obj2
= 0 ;
26740 PyObject
* obj3
= 0 ;
26741 PyObject
* obj4
= 0 ;
26742 PyObject
* obj5
= 0 ;
26743 PyObject
* obj6
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26750 if (SWIG_arg_fail(1)) SWIG_fail
;
26752 arg2
= (int)(SWIG_As_int(obj1
));
26753 if (SWIG_arg_fail(2)) SWIG_fail
;
26756 arg3
= (int)(SWIG_As_int(obj2
));
26757 if (SWIG_arg_fail(3)) SWIG_fail
;
26761 arg4
= (int)(SWIG_As_int(obj3
));
26762 if (SWIG_arg_fail(4)) SWIG_fail
;
26767 arg5
= (int)(SWIG_As_int(obj4
));
26768 if (SWIG_arg_fail(5)) SWIG_fail
;
26773 arg6
= (int)(SWIG_As_int(obj5
));
26774 if (SWIG_arg_fail(6)) SWIG_fail
;
26779 arg7
= (int)(SWIG_As_int(obj6
));
26780 if (SWIG_arg_fail(7)) SWIG_fail
;
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 Py_INCREF(Py_None
); resultobj
= Py_None
;
26797 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
;
26799 wxWindow
*arg1
= (wxWindow
*) 0 ;
26801 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26802 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26803 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26804 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 PyObject
* obj2
= 0 ;
26811 PyObject
* obj3
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26818 if (SWIG_arg_fail(1)) SWIG_fail
;
26821 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26826 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26832 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 Py_INCREF(Py_None
); resultobj
= Py_None
;
26849 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxWindow
*arg1
= (wxWindow
*) 0 ;
26854 int arg4
= (int) -1 ;
26855 int arg5
= (int) -1 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 PyObject
* obj2
= 0 ;
26859 PyObject
* obj3
= 0 ;
26860 PyObject
* obj4
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26867 if (SWIG_arg_fail(1)) SWIG_fail
;
26869 arg2
= (int)(SWIG_As_int(obj1
));
26870 if (SWIG_arg_fail(2)) SWIG_fail
;
26873 arg3
= (int)(SWIG_As_int(obj2
));
26874 if (SWIG_arg_fail(3)) SWIG_fail
;
26878 arg4
= (int)(SWIG_As_int(obj3
));
26879 if (SWIG_arg_fail(4)) SWIG_fail
;
26884 arg5
= (int)(SWIG_As_int(obj4
));
26885 if (SWIG_arg_fail(5)) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 Py_INCREF(Py_None
); resultobj
= Py_None
;
26902 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxWindow
*arg1
= (wxWindow
*) 0 ;
26906 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26907 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 PyObject
* obj2
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26919 if (SWIG_arg_fail(1)) SWIG_fail
;
26922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26927 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxWindow
*arg1
= (wxWindow
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 wxSize
* resultptr
;
26965 resultptr
= new wxSize((wxSize
&)(result
));
26966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26974 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxWindow
*arg1
= (wxWindow
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26994 wxSize
* resultptr
;
26995 resultptr
= new wxSize((wxSize
&)(result
));
26996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27004 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "minSize", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27020 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxWindow
*arg1
= (wxWindow
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "maxSize", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27049 if (SWIG_arg_fail(1)) SWIG_fail
;
27052 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxWindow
*arg1
= (wxWindow
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_From_int((int)(result
));
27096 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxWindow
*arg1
= (wxWindow
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_int((int)(result
));
27124 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxWindow
*arg1
= (wxWindow
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_From_int((int)(result
));
27152 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_From_int((int)(result
));
27180 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "size", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27193 if (SWIG_arg_fail(1)) SWIG_fail
;
27196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 Py_INCREF(Py_None
); resultobj
= Py_None
;
27212 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxWindow
*arg1
= (wxWindow
*) 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 PyObject
* obj2
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "self",(char *) "w",(char *) "h", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail
;
27228 arg2
= (int)(SWIG_As_int(obj1
));
27229 if (SWIG_arg_fail(2)) SWIG_fail
;
27232 arg3
= (int)(SWIG_As_int(obj2
));
27233 if (SWIG_arg_fail(3)) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 (arg1
)->SetVirtualSize(arg2
,arg3
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 Py_INCREF(Py_None
); resultobj
= Py_None
;
27249 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxWindow
*arg1
= (wxWindow
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27269 wxSize
* resultptr
;
27270 resultptr
= new wxSize((wxSize
&)(result
));
27271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27279 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxWindow
*arg1
= (wxWindow
*) 0 ;
27282 int *arg2
= (int *) 0 ;
27283 int *arg3
= (int *) 0 ;
27288 PyObject
* obj0
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self", NULL
27293 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27297 if (SWIG_arg_fail(1)) SWIG_fail
;
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 Py_INCREF(Py_None
); resultobj
= Py_None
;
27306 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27307 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27309 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27316 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxWindow
*arg1
= (wxWindow
*) 0 ;
27320 PyObject
* obj0
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27336 wxSize
* resultptr
;
27337 resultptr
= new wxSize((wxSize
&)(result
));
27338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27346 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27348 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 bool arg2
= (bool) true ;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 char *kwnames
[] = {
27354 (char *) "self",(char *) "show", NULL
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27359 if (SWIG_arg_fail(1)) SWIG_fail
;
27362 arg2
= (bool)(SWIG_As_bool(obj1
));
27363 if (SWIG_arg_fail(2)) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (bool)(arg1
)->Show(arg2
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27382 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 result
= (bool)(arg1
)->Hide();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27410 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27413 bool arg2
= (bool) true ;
27415 PyObject
* obj0
= 0 ;
27416 PyObject
* obj1
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self",(char *) "enable", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27423 if (SWIG_arg_fail(1)) SWIG_fail
;
27426 arg2
= (bool)(SWIG_As_bool(obj1
));
27427 if (SWIG_arg_fail(2)) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= (bool)(arg1
)->Enable(arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27446 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxWindow
*arg1
= (wxWindow
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27457 if (SWIG_arg_fail(1)) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (bool)(arg1
)->Disable();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27474 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxWindow
*arg1
= (wxWindow
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27485 if (SWIG_arg_fail(1)) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27502 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxWindow
*arg1
= (wxWindow
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27530 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxWindow
*arg1
= (wxWindow
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "style", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27542 if (SWIG_arg_fail(1)) SWIG_fail
;
27544 arg2
= (long)(SWIG_As_long(obj1
));
27545 if (SWIG_arg_fail(2)) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 (arg1
)->SetWindowStyleFlag(arg2
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxWindow
*arg1
= (wxWindow
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27572 if (SWIG_arg_fail(1)) SWIG_fail
;
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= SWIG_From_long((long)(result
));
27589 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxWindow
*arg1
= (wxWindow
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "flag", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27602 if (SWIG_arg_fail(1)) SWIG_fail
;
27604 arg2
= (int)(SWIG_As_int(obj1
));
27605 if (SWIG_arg_fail(2)) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27623 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxWindow
*arg1
= (wxWindow
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27651 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self",(char *) "exStyle", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27663 if (SWIG_arg_fail(1)) SWIG_fail
;
27665 arg2
= (long)(SWIG_As_long(obj1
));
27666 if (SWIG_arg_fail(2)) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 (arg1
)->SetExtraStyle(arg2
);
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 Py_INCREF(Py_None
); resultobj
= Py_None
;
27682 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxWindow
*arg1
= (wxWindow
*) 0 ;
27686 PyObject
* obj0
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27693 if (SWIG_arg_fail(1)) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_From_long((long)(result
));
27710 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27711 PyObject
*resultobj
;
27712 wxWindow
*arg1
= (wxWindow
*) 0 ;
27713 bool arg2
= (bool) true ;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self",(char *) "modal", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27722 if (SWIG_arg_fail(1)) SWIG_fail
;
27725 arg2
= (bool)(SWIG_As_bool(obj1
));
27726 if (SWIG_arg_fail(2)) SWIG_fail
;
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 (arg1
)->MakeModal(arg2
);
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 Py_INCREF(Py_None
); resultobj
= Py_None
;
27743 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxWindow
*arg1
= (wxWindow
*) 0 ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self",(char *) "enableTheme", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27755 if (SWIG_arg_fail(1)) SWIG_fail
;
27757 arg2
= (bool)(SWIG_As_bool(obj1
));
27758 if (SWIG_arg_fail(2)) SWIG_fail
;
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 (arg1
)->SetThemeEnabled(arg2
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 Py_INCREF(Py_None
); resultobj
= Py_None
;
27774 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxWindow
*arg1
= (wxWindow
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27802 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxWindow
*arg1
= (wxWindow
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 (arg1
)->SetFocus();
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 Py_INCREF(Py_None
); resultobj
= Py_None
;
27827 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxWindow
*arg1
= (wxWindow
*) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 (arg1
)->SetFocusFromKbd();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27845 Py_INCREF(Py_None
); resultobj
= Py_None
;
27852 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27853 PyObject
*resultobj
;
27855 char *kwnames
[] = {
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27861 if (!wxPyCheckForApp()) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (wxWindow
*)wxWindow::FindFocus();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= wxPyMake_wxObject(result
, 0);
27877 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxWindow
*arg1
= (wxWindow
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27888 if (SWIG_arg_fail(1)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27905 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27916 if (SWIG_arg_fail(1)) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27933 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxWindow
*arg1
= (wxWindow
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27944 if (SWIG_arg_fail(1)) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27953 resultobj
= wxPyMake_wxObject(result
, 0);
27961 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27964 wxWindow
*arg2
= (wxWindow
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self",(char *) "child", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27974 if (SWIG_arg_fail(1)) SWIG_fail
;
27975 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(2)) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= wxPyMake_wxObject(result
, 0);
27993 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 wxWindow
*arg2
= (wxWindow
*) 0 ;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "win", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28005 if (SWIG_arg_fail(1)) SWIG_fail
;
28006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28007 if (SWIG_arg_fail(2)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->SetTmpDefaultItem(arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 Py_INCREF(Py_None
); resultobj
= Py_None
;
28022 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxWindow
*arg1
= (wxWindow
*) 0 ;
28025 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 char *kwnames
[] = {
28030 (char *) "self",(char *) "flags", NULL
28033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28035 if (SWIG_arg_fail(1)) SWIG_fail
;
28038 arg2
= (int)(SWIG_As_int(obj1
));
28039 if (SWIG_arg_fail(2)) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (bool)(arg1
)->Navigate(arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28058 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
;
28060 wxWindow
*arg1
= (wxWindow
*) 0 ;
28061 wxWindow
*arg2
= (wxWindow
*) 0 ;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj1
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self",(char *) "win", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28070 if (SWIG_arg_fail(1)) SWIG_fail
;
28071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28072 if (SWIG_arg_fail(2)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->MoveAfterInTabOrder(arg2
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 Py_INCREF(Py_None
); resultobj
= Py_None
;
28087 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxWindow
*arg1
= (wxWindow
*) 0 ;
28090 wxWindow
*arg2
= (wxWindow
*) 0 ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "win", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28099 if (SWIG_arg_fail(1)) SWIG_fail
;
28100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28101 if (SWIG_arg_fail(2)) SWIG_fail
;
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 (arg1
)->MoveBeforeInTabOrder(arg2
);
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 Py_INCREF(Py_None
); resultobj
= Py_None
;
28116 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28117 PyObject
*resultobj
;
28118 wxWindow
*arg1
= (wxWindow
*) 0 ;
28120 PyObject
* obj0
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28127 if (SWIG_arg_fail(1)) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= result
;
28142 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
;
28144 wxWindow
*arg1
= (wxWindow
*) 0 ;
28146 PyObject
* obj0
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= wxPyMake_wxObject(result
, 0);
28170 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxWindow
*arg1
= (wxWindow
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28181 if (SWIG_arg_fail(1)) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= wxPyMake_wxObject(result
, 0);
28198 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxWindow
*arg1
= (wxWindow
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28209 if (SWIG_arg_fail(1)) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28226 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
;
28228 wxWindow
*arg1
= (wxWindow
*) 0 ;
28229 wxWindow
*arg2
= (wxWindow
*) 0 ;
28231 PyObject
* obj0
= 0 ;
28232 PyObject
* obj1
= 0 ;
28233 char *kwnames
[] = {
28234 (char *) "self",(char *) "newParent", NULL
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28239 if (SWIG_arg_fail(1)) SWIG_fail
;
28240 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28241 if (SWIG_arg_fail(2)) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (bool)(arg1
)->Reparent(arg2
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28258 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28261 wxWindow
*arg2
= (wxWindow
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "child", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28270 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(2)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 (arg1
)->AddChild(arg2
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 Py_INCREF(Py_None
); resultobj
= Py_None
;
28287 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxWindow
*arg1
= (wxWindow
*) 0 ;
28290 wxWindow
*arg2
= (wxWindow
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self",(char *) "child", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail
;
28300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(2)) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 (arg1
)->RemoveChild(arg2
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 Py_INCREF(Py_None
); resultobj
= Py_None
;
28316 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxWindow
*arg1
= (wxWindow
*) 0 ;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "winid", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail
;
28331 arg2
= (long)(SWIG_As_long(obj1
));
28332 if (SWIG_arg_fail(2)) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= wxPyMake_wxObject(result
, 0);
28350 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxWindow
*arg1
= (wxWindow
*) 0 ;
28353 wxString
*arg2
= 0 ;
28355 bool temp2
= false ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char *kwnames
[] = {
28359 (char *) "self",(char *) "name", NULL
28362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28364 if (SWIG_arg_fail(1)) SWIG_fail
;
28366 arg2
= wxString_in_helper(obj1
);
28367 if (arg2
== NULL
) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= wxPyMake_wxObject(result
, 0);
28394 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxWindow
*arg1
= (wxWindow
*) 0 ;
28397 wxEvtHandler
*result
;
28398 PyObject
* obj0
= 0 ;
28399 char *kwnames
[] = {
28400 (char *) "self", NULL
28403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28405 if (SWIG_arg_fail(1)) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= wxPyMake_wxObject(result
, 0);
28422 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxWindow
*arg1
= (wxWindow
*) 0 ;
28425 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "self",(char *) "handler", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28434 if (SWIG_arg_fail(1)) SWIG_fail
;
28435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28436 if (SWIG_arg_fail(2)) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 (arg1
)->SetEventHandler(arg2
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28444 Py_INCREF(Py_None
); resultobj
= Py_None
;
28451 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxWindow
*arg1
= (wxWindow
*) 0 ;
28454 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char *kwnames
[] = {
28458 (char *) "self",(char *) "handler", NULL
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28463 if (SWIG_arg_fail(1)) SWIG_fail
;
28464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(2)) SWIG_fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 (arg1
)->PushEventHandler(arg2
);
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 Py_INCREF(Py_None
); resultobj
= Py_None
;
28480 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxWindow
*arg1
= (wxWindow
*) 0 ;
28483 bool arg2
= (bool) false ;
28484 wxEvtHandler
*result
;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self",(char *) "deleteHandler", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail
;
28496 arg2
= (bool)(SWIG_As_bool(obj1
));
28497 if (SWIG_arg_fail(2)) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= wxPyMake_wxObject(result
, 0);
28516 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxWindow
*arg1
= (wxWindow
*) 0 ;
28519 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self",(char *) "handler", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28529 if (SWIG_arg_fail(1)) SWIG_fail
;
28530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28531 if (SWIG_arg_fail(2)) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28548 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxWindow
*arg1
= (wxWindow
*) 0 ;
28551 wxValidator
*arg2
= 0 ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 char *kwnames
[] = {
28555 (char *) "self",(char *) "validator", NULL
28558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28560 if (SWIG_arg_fail(1)) SWIG_fail
;
28562 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28563 if (SWIG_arg_fail(2)) SWIG_fail
;
28564 if (arg2
== NULL
) {
28565 SWIG_null_ref("wxValidator");
28567 if (SWIG_arg_fail(2)) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxWindow
*arg1
= (wxWindow
*) 0 ;
28586 wxValidator
*result
;
28587 PyObject
* obj0
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28594 if (SWIG_arg_fail(1)) SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= (wxValidator
*)(arg1
)->GetValidator();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= wxPyMake_wxObject(result
, 0);
28611 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 wxWindow
*arg1
= (wxWindow
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 result
= (bool)(arg1
)->Validate();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28639 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxWindow
*arg1
= (wxWindow
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 char *kwnames
[] = {
28645 (char *) "self", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28650 if (SWIG_arg_fail(1)) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (bool)(arg1
)->TransferDataToWindow();
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28667 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 PyObject
* obj0
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28678 if (SWIG_arg_fail(1)) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (bool)(arg1
)->TransferDataFromWindow();
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28695 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxWindow
*arg1
= (wxWindow
*) 0 ;
28698 PyObject
* obj0
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28705 if (SWIG_arg_fail(1)) SWIG_fail
;
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 (arg1
)->InitDialog();
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 Py_INCREF(Py_None
); resultobj
= Py_None
;
28720 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
;
28722 wxWindow
*arg1
= (wxWindow
*) 0 ;
28723 wxAcceleratorTable
*arg2
= 0 ;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self",(char *) "accel", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28732 if (SWIG_arg_fail(1)) SWIG_fail
;
28734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28735 if (SWIG_arg_fail(2)) SWIG_fail
;
28736 if (arg2
== NULL
) {
28737 SWIG_null_ref("wxAcceleratorTable");
28739 if (SWIG_arg_fail(2)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxWindow
*arg1
= (wxWindow
*) 0 ;
28758 wxAcceleratorTable
*result
;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28766 if (SWIG_arg_fail(1)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28781 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxWindow
*arg1
= (wxWindow
*) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 PyObject
* obj2
= 0 ;
28791 PyObject
* obj3
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28798 if (SWIG_arg_fail(1)) SWIG_fail
;
28800 arg2
= (int)(SWIG_As_int(obj1
));
28801 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 arg3
= (int)(SWIG_As_int(obj2
));
28805 if (SWIG_arg_fail(3)) SWIG_fail
;
28808 arg4
= (int)(SWIG_As_int(obj3
));
28809 if (SWIG_arg_fail(4)) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28827 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxWindow
*arg1
= (wxWindow
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "hotkeyId", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28840 if (SWIG_arg_fail(1)) SWIG_fail
;
28842 arg2
= (int)(SWIG_As_int(obj1
));
28843 if (SWIG_arg_fail(2)) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxWindow
*arg1
= (wxWindow
*) 0 ;
28864 wxPoint
*arg2
= 0 ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char *kwnames
[] = {
28870 (char *) "self",(char *) "pt", NULL
28873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail
;
28878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28888 wxPoint
* resultptr
;
28889 resultptr
= new wxPoint((wxPoint
&)(result
));
28890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28898 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxWindow
*arg1
= (wxWindow
*) 0 ;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 char *kwnames
[] = {
28907 (char *) "self",(char *) "sz", NULL
28910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28912 if (SWIG_arg_fail(1)) SWIG_fail
;
28915 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28925 wxSize
* resultptr
;
28926 resultptr
= new wxSize((wxSize
&)(result
));
28927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28935 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxWindow
*arg1
= (wxWindow
*) 0 ;
28938 wxPoint
*arg2
= 0 ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "pt", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28949 if (SWIG_arg_fail(1)) SWIG_fail
;
28952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28962 wxPoint
* resultptr
;
28963 resultptr
= new wxPoint((wxPoint
&)(result
));
28964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28972 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28973 PyObject
*resultobj
;
28974 wxWindow
*arg1
= (wxWindow
*) 0 ;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 char *kwnames
[] = {
28981 (char *) "self",(char *) "sz", NULL
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28986 if (SWIG_arg_fail(1)) SWIG_fail
;
28989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28999 wxSize
* resultptr
;
29000 resultptr
= new wxSize((wxSize
&)(result
));
29001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29009 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
;
29011 wxWindow
*arg1
= (wxWindow
*) 0 ;
29012 wxPoint
*arg2
= 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "pt", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29023 if (SWIG_arg_fail(1)) SWIG_fail
;
29026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29036 wxPoint
* resultptr
;
29037 resultptr
= new wxPoint((wxPoint
&)(result
));
29038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29046 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxWindow
*arg1
= (wxWindow
*) 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "sz", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29060 if (SWIG_arg_fail(1)) SWIG_fail
;
29063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29073 wxSize
* resultptr
;
29074 resultptr
= new wxSize((wxSize
&)(result
));
29075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29083 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxWindow
*arg1
= (wxWindow
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "x",(char *) "y", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 arg2
= (int)(SWIG_As_int(obj1
));
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29103 arg3
= (int)(SWIG_As_int(obj2
));
29104 if (SWIG_arg_fail(3)) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->WarpPointer(arg2
,arg3
);
29110 wxPyEndAllowThreads(__tstate
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29113 Py_INCREF(Py_None
); resultobj
= Py_None
;
29120 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxWindow
*arg1
= (wxWindow
*) 0 ;
29123 PyObject
* obj0
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29130 if (SWIG_arg_fail(1)) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 (arg1
)->CaptureMouse();
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 Py_INCREF(Py_None
); resultobj
= Py_None
;
29145 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxWindow
*arg1
= (wxWindow
*) 0 ;
29148 PyObject
* obj0
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29155 if (SWIG_arg_fail(1)) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->ReleaseMouse();
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 Py_INCREF(Py_None
); resultobj
= Py_None
;
29170 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
;
29173 char *kwnames
[] = {
29177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29179 if (!wxPyCheckForApp()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (wxWindow
*)wxWindow::GetCapture();
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= wxPyMake_wxObject(result
, 0);
29195 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxWindow
*arg1
= (wxWindow
*) 0 ;
29199 PyObject
* obj0
= 0 ;
29200 char *kwnames
[] = {
29201 (char *) "self", NULL
29204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29206 if (SWIG_arg_fail(1)) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29223 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxWindow
*arg1
= (wxWindow
*) 0 ;
29226 bool arg2
= (bool) true ;
29227 wxRect
*arg3
= (wxRect
*) NULL
;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29237 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 arg2
= (bool)(SWIG_As_bool(obj1
));
29241 if (SWIG_arg_fail(2)) SWIG_fail
;
29245 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29246 if (SWIG_arg_fail(3)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
;
29264 wxWindow
*arg1
= (wxWindow
*) 0 ;
29266 bool arg3
= (bool) true ;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 PyObject
* obj2
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29277 if (SWIG_arg_fail(1)) SWIG_fail
;
29280 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29284 arg3
= (bool)(SWIG_As_bool(obj2
));
29285 if (SWIG_arg_fail(3)) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29302 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxWindow
*arg1
= (wxWindow
*) 0 ;
29305 PyObject
* obj0
= 0 ;
29306 char *kwnames
[] = {
29307 (char *) "self", NULL
29310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29312 if (SWIG_arg_fail(1)) SWIG_fail
;
29314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 Py_INCREF(Py_None
); resultobj
= Py_None
;
29327 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxWindow
*arg1
= (wxWindow
*) 0 ;
29330 PyObject
* obj0
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29337 if (SWIG_arg_fail(1)) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 (arg1
)->ClearBackground();
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 Py_INCREF(Py_None
); resultobj
= Py_None
;
29352 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxWindow
*arg1
= (wxWindow
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29362 if (SWIG_arg_fail(1)) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 Py_INCREF(Py_None
); resultobj
= Py_None
;
29377 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
;
29379 wxWindow
*arg1
= (wxWindow
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "self", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 Py_INCREF(Py_None
); resultobj
= Py_None
;
29402 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxWindow
*arg1
= (wxWindow
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self",(char *) "dc", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29414 if (SWIG_arg_fail(1)) SWIG_fail
;
29416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(2)) SWIG_fail
;
29418 if (arg2
== NULL
) {
29419 SWIG_null_ref("wxDC");
29421 if (SWIG_arg_fail(2)) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 (arg1
)->PrepareDC(*arg2
);
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29430 Py_INCREF(Py_None
); resultobj
= Py_None
;
29437 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxWindow
*arg1
= (wxWindow
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 char *kwnames
[] = {
29443 (char *) "self", NULL
29446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29448 if (SWIG_arg_fail(1)) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29453 result
= (wxRegion
*) &_result_ref
;
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29466 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxWindow
*arg1
= (wxWindow
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 char *kwnames
[] = {
29472 (char *) "self", NULL
29475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29477 if (SWIG_arg_fail(1)) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 wxRect
* resultptr
;
29487 resultptr
= new wxRect((wxRect
&)(result
));
29488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29496 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxWindow
*arg1
= (wxWindow
*) 0 ;
29501 int arg4
= (int) 1 ;
29502 int arg5
= (int) 1 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 PyObject
* obj2
= 0 ;
29507 PyObject
* obj3
= 0 ;
29508 PyObject
* obj4
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29515 if (SWIG_arg_fail(1)) SWIG_fail
;
29517 arg2
= (int)(SWIG_As_int(obj1
));
29518 if (SWIG_arg_fail(2)) SWIG_fail
;
29521 arg3
= (int)(SWIG_As_int(obj2
));
29522 if (SWIG_arg_fail(3)) SWIG_fail
;
29526 arg4
= (int)(SWIG_As_int(obj3
));
29527 if (SWIG_arg_fail(4)) SWIG_fail
;
29532 arg5
= (int)(SWIG_As_int(obj4
));
29533 if (SWIG_arg_fail(5)) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29552 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxWindow
*arg1
= (wxWindow
*) 0 ;
29555 wxPoint
*arg2
= 0 ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self",(char *) "pt", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail
;
29569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29587 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxWindow
*arg1
= (wxWindow
*) 0 ;
29593 PyObject
* obj0
= 0 ;
29594 PyObject
* obj1
= 0 ;
29595 char *kwnames
[] = {
29596 (char *) "self",(char *) "rect", NULL
29599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29601 if (SWIG_arg_fail(1)) SWIG_fail
;
29604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29622 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxWindow
*arg1
= (wxWindow
*) 0 ;
29625 wxVisualAttributes result
;
29626 PyObject
* obj0
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29633 if (SWIG_arg_fail(1)) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29642 wxVisualAttributes
* resultptr
;
29643 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29652 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29655 wxVisualAttributes result
;
29656 PyObject
* obj0
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "variant", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29664 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29665 if (SWIG_arg_fail(1)) SWIG_fail
;
29669 if (!wxPyCheckForApp()) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29677 wxVisualAttributes
* resultptr
;
29678 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29687 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxWindow
*arg1
= (wxWindow
*) 0 ;
29690 wxColour
*arg2
= 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "colour", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(1)) SWIG_fail
;
29704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29722 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
;
29724 wxWindow
*arg1
= (wxWindow
*) 0 ;
29725 wxColour
*arg2
= 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self",(char *) "colour", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29735 if (SWIG_arg_fail(1)) SWIG_fail
;
29738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 Py_INCREF(Py_None
); resultobj
= Py_None
;
29754 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxWindow
*arg1
= (wxWindow
*) 0 ;
29757 wxColour
*arg2
= 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self",(char *) "colour", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29768 if (SWIG_arg_fail(1)) SWIG_fail
;
29771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29789 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
;
29791 wxWindow
*arg1
= (wxWindow
*) 0 ;
29792 wxColour
*arg2
= 0 ;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self",(char *) "colour", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29802 if (SWIG_arg_fail(1)) SWIG_fail
;
29805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 Py_INCREF(Py_None
); resultobj
= Py_None
;
29821 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29822 PyObject
*resultobj
;
29823 wxWindow
*arg1
= (wxWindow
*) 0 ;
29825 PyObject
* obj0
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29832 if (SWIG_arg_fail(1)) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 wxColour
* resultptr
;
29842 resultptr
= new wxColour((wxColour
&)(result
));
29843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29851 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxWindow
*arg1
= (wxWindow
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "self", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29862 if (SWIG_arg_fail(1)) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29871 wxColour
* resultptr
;
29872 resultptr
= new wxColour((wxColour
&)(result
));
29873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29881 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
;
29883 wxWindow
*arg1
= (wxWindow
*) 0 ;
29885 PyObject
* obj0
= 0 ;
29886 char *kwnames
[] = {
29887 (char *) "self", NULL
29890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29892 if (SWIG_arg_fail(1)) SWIG_fail
;
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29909 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
;
29911 wxWindow
*arg1
= (wxWindow
*) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29920 if (SWIG_arg_fail(1)) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29937 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxWindow
*arg1
= (wxWindow
*) 0 ;
29940 wxBackgroundStyle arg2
;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "style", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29950 if (SWIG_arg_fail(1)) SWIG_fail
;
29952 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29953 if (SWIG_arg_fail(2)) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29971 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxWindow
*arg1
= (wxWindow
*) 0 ;
29974 wxBackgroundStyle result
;
29975 PyObject
* obj0
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(1)) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_From_int((result
));
29997 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
;
29999 wxWindow
*arg1
= (wxWindow
*) 0 ;
30001 PyObject
* obj0
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30008 if (SWIG_arg_fail(1)) SWIG_fail
;
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (bool)(arg1
)->HasTransparentBackground();
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30025 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxWindow
*arg1
= (wxWindow
*) 0 ;
30028 wxCursor
*arg2
= 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "self",(char *) "cursor", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30038 if (SWIG_arg_fail(1)) SWIG_fail
;
30040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30041 if (SWIG_arg_fail(2)) SWIG_fail
;
30042 if (arg2
== NULL
) {
30043 SWIG_null_ref("wxCursor");
30045 if (SWIG_arg_fail(2)) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxWindow
*arg1
= (wxWindow
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30074 if (SWIG_arg_fail(1)) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= (arg1
)->GetCursor();
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 wxCursor
* resultptr
;
30084 resultptr
= new wxCursor((wxCursor
&)(result
));
30085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30093 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxWindow
*arg1
= (wxWindow
*) 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self",(char *) "font", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail
;
30108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30109 if (SWIG_arg_fail(2)) SWIG_fail
;
30110 if (arg2
== NULL
) {
30111 SWIG_null_ref("wxFont");
30113 if (SWIG_arg_fail(2)) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30131 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxWindow
*arg1
= (wxWindow
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "font", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30143 if (SWIG_arg_fail(1)) SWIG_fail
;
30145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30146 if (SWIG_arg_fail(2)) SWIG_fail
;
30147 if (arg2
== NULL
) {
30148 SWIG_null_ref("wxFont");
30150 if (SWIG_arg_fail(2)) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 Py_INCREF(Py_None
); resultobj
= Py_None
;
30166 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxWindow
*arg1
= (wxWindow
*) 0 ;
30170 PyObject
* obj0
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30177 if (SWIG_arg_fail(1)) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (arg1
)->GetFont();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 wxFont
* resultptr
;
30187 resultptr
= new wxFont((wxFont
&)(result
));
30188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30196 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxWindow
*arg1
= (wxWindow
*) 0 ;
30199 wxCaret
*arg2
= (wxCaret
*) 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char *kwnames
[] = {
30203 (char *) "self",(char *) "caret", NULL
30206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30208 if (SWIG_arg_fail(1)) SWIG_fail
;
30209 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30210 if (SWIG_arg_fail(2)) SWIG_fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 (arg1
)->SetCaret(arg2
);
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30218 Py_INCREF(Py_None
); resultobj
= Py_None
;
30225 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
;
30227 wxWindow
*arg1
= (wxWindow
*) 0 ;
30229 PyObject
* obj0
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30236 if (SWIG_arg_fail(1)) SWIG_fail
;
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30251 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
;
30253 wxWindow
*arg1
= (wxWindow
*) 0 ;
30255 PyObject
* obj0
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30262 if (SWIG_arg_fail(1)) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_From_int((int)(result
));
30279 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxWindow
*arg1
= (wxWindow
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= SWIG_From_int((int)(result
));
30307 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
;
30309 wxWindow
*arg1
= (wxWindow
*) 0 ;
30310 wxString
*arg2
= 0 ;
30311 int *arg3
= (int *) 0 ;
30312 int *arg4
= (int *) 0 ;
30313 bool temp2
= false ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self",(char *) "string", NULL
30324 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30325 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30328 if (SWIG_arg_fail(1)) SWIG_fail
;
30330 arg2
= wxString_in_helper(obj1
);
30331 if (arg2
== NULL
) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 Py_INCREF(Py_None
); resultobj
= Py_None
;
30342 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30343 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30344 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30345 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30360 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30362 wxWindow
*arg1
= (wxWindow
*) 0 ;
30363 wxString
*arg2
= 0 ;
30364 int *arg3
= (int *) 0 ;
30365 int *arg4
= (int *) 0 ;
30366 int *arg5
= (int *) 0 ;
30367 int *arg6
= (int *) 0 ;
30368 wxFont
*arg7
= (wxFont
*) NULL
;
30369 bool temp2
= false ;
30378 PyObject
* obj0
= 0 ;
30379 PyObject
* obj1
= 0 ;
30380 PyObject
* obj2
= 0 ;
30381 char *kwnames
[] = {
30382 (char *) "self",(char *) "string",(char *) "font", NULL
30385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30386 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30387 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30388 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30391 if (SWIG_arg_fail(1)) SWIG_fail
;
30393 arg2
= wxString_in_helper(obj1
);
30394 if (arg2
== NULL
) SWIG_fail
;
30398 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30399 if (SWIG_arg_fail(7)) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 Py_INCREF(Py_None
); resultobj
= Py_None
;
30409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30410 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30411 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30412 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30413 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30414 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30415 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30416 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30431 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxWindow
*arg1
= (wxWindow
*) 0 ;
30434 int *arg2
= (int *) 0 ;
30435 int *arg3
= (int *) 0 ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 PyObject
* obj2
= 0 ;
30443 char *kwnames
[] = {
30444 (char *) "self",(char *) "x",(char *) "y", NULL
30447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30449 if (SWIG_arg_fail(1)) SWIG_fail
;
30451 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30452 temp2
= SWIG_As_int(obj1
);
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30455 res2
= SWIG_NEWOBJ
;
30459 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30460 temp3
= SWIG_As_int(obj2
);
30461 if (SWIG_arg_fail(3)) SWIG_fail
;
30463 res3
= SWIG_NEWOBJ
;
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 Py_INCREF(Py_None
); resultobj
= Py_None
;
30474 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30475 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30476 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30477 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30484 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
;
30486 wxWindow
*arg1
= (wxWindow
*) 0 ;
30487 int *arg2
= (int *) 0 ;
30488 int *arg3
= (int *) 0 ;
30493 PyObject
* obj0
= 0 ;
30494 PyObject
* obj1
= 0 ;
30495 PyObject
* obj2
= 0 ;
30496 char *kwnames
[] = {
30497 (char *) "self",(char *) "x",(char *) "y", NULL
30500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail
;
30504 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30505 temp2
= SWIG_As_int(obj1
);
30506 if (SWIG_arg_fail(2)) SWIG_fail
;
30508 res2
= SWIG_NEWOBJ
;
30512 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30513 temp3
= SWIG_As_int(obj2
);
30514 if (SWIG_arg_fail(3)) SWIG_fail
;
30516 res3
= SWIG_NEWOBJ
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 Py_INCREF(Py_None
); resultobj
= Py_None
;
30527 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30528 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30529 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30530 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30537 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
;
30539 wxWindow
*arg1
= (wxWindow
*) 0 ;
30540 wxPoint
*arg2
= 0 ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self",(char *) "pt", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30551 if (SWIG_arg_fail(1)) SWIG_fail
;
30554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30564 wxPoint
* resultptr
;
30565 resultptr
= new wxPoint((wxPoint
&)(result
));
30566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30574 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxWindow
*arg1
= (wxWindow
*) 0 ;
30577 wxPoint
*arg2
= 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "pt", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30601 wxPoint
* resultptr
;
30602 resultptr
= new wxPoint((wxPoint
&)(result
));
30603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30611 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxWindow
*arg1
= (wxWindow
*) 0 ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 PyObject
* obj2
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self",(char *) "x",(char *) "y", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30626 if (SWIG_arg_fail(1)) SWIG_fail
;
30628 arg2
= (int)(SWIG_As_int(obj1
));
30629 if (SWIG_arg_fail(2)) SWIG_fail
;
30632 arg3
= (int)(SWIG_As_int(obj2
));
30633 if (SWIG_arg_fail(3)) SWIG_fail
;
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_From_int((result
));
30649 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxWindow
*arg1
= (wxWindow
*) 0 ;
30652 wxPoint
*arg2
= 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "pt", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30663 if (SWIG_arg_fail(1)) SWIG_fail
;
30666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_From_int((result
));
30682 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30683 PyObject
*resultobj
;
30684 wxWindow
*arg1
= (wxWindow
*) 0 ;
30687 PyObject
* obj0
= 0 ;
30688 PyObject
* obj1
= 0 ;
30690 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(1)) SWIG_fail
;
30694 arg2
= (long)(SWIG_As_long(obj1
));
30695 if (SWIG_arg_fail(2)) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_From_int((result
));
30711 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30712 PyObject
*resultobj
;
30713 wxWindow
*arg1
= (wxWindow
*) 0 ;
30715 PyObject
* obj0
= 0 ;
30717 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30719 if (SWIG_arg_fail(1)) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_From_int((result
));
30734 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30739 argc
= PyObject_Length(args
);
30740 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30741 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30747 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30755 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30770 _v
= SWIG_Check_long(argv
[1]);
30772 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30777 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30782 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
;
30784 wxWindow
*arg1
= (wxWindow
*) 0 ;
30785 long arg2
= (long) wxUPDATE_UI_NONE
;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "flags", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30794 if (SWIG_arg_fail(1)) SWIG_fail
;
30797 arg2
= (long)(SWIG_As_long(obj1
));
30798 if (SWIG_arg_fail(2)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 (arg1
)->UpdateWindowUI(arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 Py_INCREF(Py_None
); resultobj
= Py_None
;
30815 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxWindow
*arg1
= (wxWindow
*) 0 ;
30818 wxMenu
*arg2
= (wxMenu
*) 0 ;
30819 int arg3
= (int) -1 ;
30820 int arg4
= (int) -1 ;
30822 PyObject
* obj0
= 0 ;
30823 PyObject
* obj1
= 0 ;
30824 PyObject
* obj2
= 0 ;
30825 PyObject
* obj3
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30833 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30834 if (SWIG_arg_fail(2)) SWIG_fail
;
30837 arg3
= (int)(SWIG_As_int(obj2
));
30838 if (SWIG_arg_fail(3)) SWIG_fail
;
30843 arg4
= (int)(SWIG_As_int(obj3
));
30844 if (SWIG_arg_fail(4)) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30863 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxWindow
*arg1
= (wxWindow
*) 0 ;
30866 wxMenu
*arg2
= (wxMenu
*) 0 ;
30867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 PyObject
* obj2
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self",(char *) "menu",(char *) "pos", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail
;
30881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30882 if (SWIG_arg_fail(2)) SWIG_fail
;
30886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30905 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxWindow
*arg1
= (wxWindow
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30916 if (SWIG_arg_fail(1)) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (long)wxWindow_GetHandle(arg1
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_From_long((long)(result
));
30933 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "handle", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(1)) SWIG_fail
;
30947 arg2
= (long)(SWIG_As_long(obj1
));
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 wxWindow_AssociateHandle(arg1
,arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxWindow
*arg1
= (wxWindow
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30974 if (SWIG_arg_fail(1)) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 (arg1
)->DissociateHandle();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 Py_INCREF(Py_None
); resultobj
= Py_None
;
30989 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxWindow
*arg1
= (wxWindow
*) 0 ;
30992 wxPaintEvent
*arg2
= 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self",(char *) "event", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
31000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31004 if (SWIG_arg_fail(2)) SWIG_fail
;
31005 if (arg2
== NULL
) {
31006 SWIG_null_ref("wxPaintEvent");
31008 if (SWIG_arg_fail(2)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 (arg1
)->OnPaint(*arg2
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 Py_INCREF(Py_None
); resultobj
= Py_None
;
31024 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxWindow
*arg1
= (wxWindow
*) 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 char *kwnames
[] = {
31032 (char *) "self",(char *) "orient", NULL
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31037 if (SWIG_arg_fail(1)) SWIG_fail
;
31039 arg2
= (int)(SWIG_As_int(obj1
));
31040 if (SWIG_arg_fail(2)) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31058 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
;
31060 wxWindow
*arg1
= (wxWindow
*) 0 ;
31065 bool arg6
= (bool) true ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 PyObject
* obj2
= 0 ;
31069 PyObject
* obj3
= 0 ;
31070 PyObject
* obj4
= 0 ;
31071 PyObject
* obj5
= 0 ;
31072 char *kwnames
[] = {
31073 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31078 if (SWIG_arg_fail(1)) SWIG_fail
;
31080 arg2
= (int)(SWIG_As_int(obj1
));
31081 if (SWIG_arg_fail(2)) SWIG_fail
;
31084 arg3
= (int)(SWIG_As_int(obj2
));
31085 if (SWIG_arg_fail(3)) SWIG_fail
;
31088 arg4
= (int)(SWIG_As_int(obj3
));
31089 if (SWIG_arg_fail(4)) SWIG_fail
;
31092 arg5
= (int)(SWIG_As_int(obj4
));
31093 if (SWIG_arg_fail(5)) SWIG_fail
;
31097 arg6
= (bool)(SWIG_As_bool(obj5
));
31098 if (SWIG_arg_fail(6)) SWIG_fail
;
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31108 Py_INCREF(Py_None
); resultobj
= Py_None
;
31115 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxWindow
*arg1
= (wxWindow
*) 0 ;
31120 bool arg4
= (bool) true ;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 PyObject
* obj2
= 0 ;
31124 PyObject
* obj3
= 0 ;
31125 char *kwnames
[] = {
31126 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31131 if (SWIG_arg_fail(1)) SWIG_fail
;
31133 arg2
= (int)(SWIG_As_int(obj1
));
31134 if (SWIG_arg_fail(2)) SWIG_fail
;
31137 arg3
= (int)(SWIG_As_int(obj2
));
31138 if (SWIG_arg_fail(3)) SWIG_fail
;
31142 arg4
= (bool)(SWIG_As_bool(obj3
));
31143 if (SWIG_arg_fail(4)) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 Py_INCREF(Py_None
); resultobj
= Py_None
;
31160 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxWindow
*arg1
= (wxWindow
*) 0 ;
31165 PyObject
* obj0
= 0 ;
31166 PyObject
* obj1
= 0 ;
31167 char *kwnames
[] = {
31168 (char *) "self",(char *) "orientation", NULL
31171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31173 if (SWIG_arg_fail(1)) SWIG_fail
;
31175 arg2
= (int)(SWIG_As_int(obj1
));
31176 if (SWIG_arg_fail(2)) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_From_int((int)(result
));
31194 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31195 PyObject
*resultobj
;
31196 wxWindow
*arg1
= (wxWindow
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self",(char *) "orientation", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31207 if (SWIG_arg_fail(1)) SWIG_fail
;
31209 arg2
= (int)(SWIG_As_int(obj1
));
31210 if (SWIG_arg_fail(2)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= SWIG_From_int((int)(result
));
31228 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
;
31230 wxWindow
*arg1
= (wxWindow
*) 0 ;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 char *kwnames
[] = {
31236 (char *) "self",(char *) "orientation", NULL
31239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31241 if (SWIG_arg_fail(1)) SWIG_fail
;
31243 arg2
= (int)(SWIG_As_int(obj1
));
31244 if (SWIG_arg_fail(2)) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= SWIG_From_int((int)(result
));
31262 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxWindow
*arg1
= (wxWindow
*) 0 ;
31267 wxRect
*arg4
= (wxRect
*) NULL
;
31268 PyObject
* obj0
= 0 ;
31269 PyObject
* obj1
= 0 ;
31270 PyObject
* obj2
= 0 ;
31271 PyObject
* obj3
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31278 if (SWIG_arg_fail(1)) SWIG_fail
;
31280 arg2
= (int)(SWIG_As_int(obj1
));
31281 if (SWIG_arg_fail(2)) SWIG_fail
;
31284 arg3
= (int)(SWIG_As_int(obj2
));
31285 if (SWIG_arg_fail(3)) SWIG_fail
;
31288 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(4)) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 Py_INCREF(Py_None
); resultobj
= Py_None
;
31305 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
;
31307 wxWindow
*arg1
= (wxWindow
*) 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 char *kwnames
[] = {
31313 (char *) "self",(char *) "lines", NULL
31316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31318 if (SWIG_arg_fail(1)) SWIG_fail
;
31320 arg2
= (int)(SWIG_As_int(obj1
));
31321 if (SWIG_arg_fail(2)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= (bool)(arg1
)->ScrollLines(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31339 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
;
31341 wxWindow
*arg1
= (wxWindow
*) 0 ;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self",(char *) "pages", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31352 if (SWIG_arg_fail(1)) SWIG_fail
;
31354 arg2
= (int)(SWIG_As_int(obj1
));
31355 if (SWIG_arg_fail(2)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (bool)(arg1
)->ScrollPages(arg2
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31373 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
;
31375 wxWindow
*arg1
= (wxWindow
*) 0 ;
31377 PyObject
* obj0
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "self", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31384 if (SWIG_arg_fail(1)) SWIG_fail
;
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 result
= (bool)(arg1
)->LineUp();
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31401 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31402 PyObject
*resultobj
;
31403 wxWindow
*arg1
= (wxWindow
*) 0 ;
31405 PyObject
* obj0
= 0 ;
31406 char *kwnames
[] = {
31407 (char *) "self", NULL
31410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31412 if (SWIG_arg_fail(1)) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (bool)(arg1
)->LineDown();
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31429 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31430 PyObject
*resultobj
;
31431 wxWindow
*arg1
= (wxWindow
*) 0 ;
31433 PyObject
* obj0
= 0 ;
31434 char *kwnames
[] = {
31435 (char *) "self", NULL
31438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31440 if (SWIG_arg_fail(1)) SWIG_fail
;
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 result
= (bool)(arg1
)->PageUp();
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31457 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31458 PyObject
*resultobj
;
31459 wxWindow
*arg1
= (wxWindow
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31468 if (SWIG_arg_fail(1)) SWIG_fail
;
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= (bool)(arg1
)->PageDown();
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31485 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 wxWindow
*arg1
= (wxWindow
*) 0 ;
31488 wxString
*arg2
= 0 ;
31489 bool temp2
= false ;
31490 PyObject
* obj0
= 0 ;
31491 PyObject
* obj1
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self",(char *) "text", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31498 if (SWIG_arg_fail(1)) SWIG_fail
;
31500 arg2
= wxString_in_helper(obj1
);
31501 if (arg2
== NULL
) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 Py_INCREF(Py_None
); resultobj
= Py_None
;
31526 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
;
31528 wxWindow
*arg1
= (wxWindow
*) 0 ;
31529 wxString
*arg2
= 0 ;
31530 bool temp2
= false ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 char *kwnames
[] = {
31534 (char *) "self",(char *) "text", NULL
31537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31539 if (SWIG_arg_fail(1)) SWIG_fail
;
31541 arg2
= wxString_in_helper(obj1
);
31542 if (arg2
== NULL
) SWIG_fail
;
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 Py_INCREF(Py_None
); resultobj
= Py_None
;
31567 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
;
31569 wxWindow
*arg1
= (wxWindow
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail
;
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31599 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxWindow
*arg1
= (wxWindow
*) 0 ;
31602 wxString
*arg2
= 0 ;
31603 bool temp2
= false ;
31604 PyObject
* obj0
= 0 ;
31605 PyObject
* obj1
= 0 ;
31606 char *kwnames
[] = {
31607 (char *) "self",(char *) "tip", NULL
31610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31612 if (SWIG_arg_fail(1)) SWIG_fail
;
31614 arg2
= wxString_in_helper(obj1
);
31615 if (arg2
== NULL
) SWIG_fail
;
31619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31622 wxPyEndAllowThreads(__tstate
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 Py_INCREF(Py_None
); resultobj
= Py_None
;
31640 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
;
31642 wxWindow
*arg1
= (wxWindow
*) 0 ;
31643 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 char *kwnames
[] = {
31647 (char *) "self",(char *) "tip", NULL
31650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31652 if (SWIG_arg_fail(1)) SWIG_fail
;
31653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31654 if (SWIG_arg_fail(2)) SWIG_fail
;
31656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31657 (arg1
)->SetToolTip(arg2
);
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31662 Py_INCREF(Py_None
); resultobj
= Py_None
;
31669 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
;
31671 wxWindow
*arg1
= (wxWindow
*) 0 ;
31673 PyObject
* obj0
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= wxPyMake_wxObject(result
, 0);
31697 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
;
31699 wxWindow
*arg1
= (wxWindow
*) 0 ;
31700 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31701 PyObject
* obj0
= 0 ;
31702 PyObject
* obj1
= 0 ;
31703 char *kwnames
[] = {
31704 (char *) "self",(char *) "dropTarget", NULL
31707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31709 if (SWIG_arg_fail(1)) SWIG_fail
;
31710 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31711 if (SWIG_arg_fail(2)) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 (arg1
)->SetDropTarget(arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 Py_INCREF(Py_None
); resultobj
= Py_None
;
31726 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
;
31728 wxWindow
*arg1
= (wxWindow
*) 0 ;
31729 wxPyDropTarget
*result
;
31730 PyObject
* obj0
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31752 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
;
31754 wxWindow
*arg1
= (wxWindow
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 PyObject
* obj1
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self",(char *) "accept", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31764 if (SWIG_arg_fail(1)) SWIG_fail
;
31766 arg2
= (bool)(SWIG_As_bool(obj1
));
31767 if (SWIG_arg_fail(2)) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 (arg1
)->DragAcceptFiles(arg2
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 Py_INCREF(Py_None
); resultobj
= Py_None
;
31783 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
;
31785 wxWindow
*arg1
= (wxWindow
*) 0 ;
31786 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31787 PyObject
* obj0
= 0 ;
31788 PyObject
* obj1
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self",(char *) "constraints", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31795 if (SWIG_arg_fail(1)) SWIG_fail
;
31796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31797 if (SWIG_arg_fail(2)) SWIG_fail
;
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 (arg1
)->SetConstraints(arg2
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 Py_INCREF(Py_None
); resultobj
= Py_None
;
31812 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxWindow
*arg1
= (wxWindow
*) 0 ;
31815 wxLayoutConstraints
*result
;
31816 PyObject
* obj0
= 0 ;
31817 char *kwnames
[] = {
31818 (char *) "self", NULL
31821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31838 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxWindow
*arg1
= (wxWindow
*) 0 ;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self",(char *) "autoLayout", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail
;
31852 arg2
= (bool)(SWIG_As_bool(obj1
));
31853 if (SWIG_arg_fail(2)) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->SetAutoLayout(arg2
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 Py_INCREF(Py_None
); resultobj
= Py_None
;
31869 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
;
31871 wxWindow
*arg1
= (wxWindow
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 char *kwnames
[] = {
31875 (char *) "self", NULL
31878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31880 if (SWIG_arg_fail(1)) SWIG_fail
;
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31897 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
;
31899 wxWindow
*arg1
= (wxWindow
*) 0 ;
31901 PyObject
* obj0
= 0 ;
31902 char *kwnames
[] = {
31903 (char *) "self", NULL
31906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31908 if (SWIG_arg_fail(1)) SWIG_fail
;
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 result
= (bool)(arg1
)->Layout();
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31925 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxWindow
*arg1
= (wxWindow
*) 0 ;
31928 wxSizer
*arg2
= (wxSizer
*) 0 ;
31929 bool arg3
= (bool) true ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 PyObject
* obj2
= 0 ;
31933 char *kwnames
[] = {
31934 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31939 if (SWIG_arg_fail(1)) SWIG_fail
;
31940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31941 if (SWIG_arg_fail(2)) SWIG_fail
;
31944 arg3
= (bool)(SWIG_As_bool(obj2
));
31945 if (SWIG_arg_fail(3)) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 (arg1
)->SetSizer(arg2
,arg3
);
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 Py_INCREF(Py_None
); resultobj
= Py_None
;
31962 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
;
31964 wxWindow
*arg1
= (wxWindow
*) 0 ;
31965 wxSizer
*arg2
= (wxSizer
*) 0 ;
31966 bool arg3
= (bool) true ;
31967 PyObject
* obj0
= 0 ;
31968 PyObject
* obj1
= 0 ;
31969 PyObject
* obj2
= 0 ;
31970 char *kwnames
[] = {
31971 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31976 if (SWIG_arg_fail(1)) SWIG_fail
;
31977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31978 if (SWIG_arg_fail(2)) SWIG_fail
;
31981 arg3
= (bool)(SWIG_As_bool(obj2
));
31982 if (SWIG_arg_fail(3)) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 Py_INCREF(Py_None
); resultobj
= Py_None
;
31999 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
;
32001 wxWindow
*arg1
= (wxWindow
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 char *kwnames
[] = {
32005 (char *) "self", NULL
32008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32010 if (SWIG_arg_fail(1)) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= wxPyMake_wxSizer(result
, 0);
32027 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
;
32029 wxWindow
*arg1
= (wxWindow
*) 0 ;
32030 wxSizer
*arg2
= (wxSizer
*) 0 ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 char *kwnames
[] = {
32034 (char *) "self",(char *) "sizer", NULL
32037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32039 if (SWIG_arg_fail(1)) SWIG_fail
;
32040 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32041 if (SWIG_arg_fail(2)) SWIG_fail
;
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 (arg1
)->SetContainingSizer(arg2
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 Py_INCREF(Py_None
); resultobj
= Py_None
;
32056 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32057 PyObject
*resultobj
;
32058 wxWindow
*arg1
= (wxWindow
*) 0 ;
32060 PyObject
* obj0
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32067 if (SWIG_arg_fail(1)) SWIG_fail
;
32069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32070 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= wxPyMake_wxSizer(result
, 0);
32084 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxWindow
*arg1
= (wxWindow
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 char *kwnames
[] = {
32089 (char *) "self", NULL
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32094 if (SWIG_arg_fail(1)) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 (arg1
)->InheritAttributes();
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 Py_INCREF(Py_None
); resultobj
= Py_None
;
32109 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32110 PyObject
*resultobj
;
32111 wxWindow
*arg1
= (wxWindow
*) 0 ;
32113 PyObject
* obj0
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32120 if (SWIG_arg_fail(1)) SWIG_fail
;
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32137 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32140 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32142 return Py_BuildValue((char *)"");
32144 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32147 wxWindow
*arg2
= (wxWindow
*) NULL
;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "id",(char *) "parent", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32157 arg1
= (long)(SWIG_As_long(obj0
));
32158 if (SWIG_arg_fail(1)) SWIG_fail
;
32161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32162 if (SWIG_arg_fail(2)) SWIG_fail
;
32165 if (!wxPyCheckForApp()) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32173 resultobj
= wxPyMake_wxObject(result
, 0);
32181 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxString
*arg1
= 0 ;
32184 wxWindow
*arg2
= (wxWindow
*) NULL
;
32186 bool temp1
= false ;
32187 PyObject
* obj0
= 0 ;
32188 PyObject
* obj1
= 0 ;
32189 char *kwnames
[] = {
32190 (char *) "name",(char *) "parent", NULL
32193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 arg1
= wxString_in_helper(obj0
);
32196 if (arg1
== NULL
) SWIG_fail
;
32200 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32201 if (SWIG_arg_fail(2)) SWIG_fail
;
32204 if (!wxPyCheckForApp()) SWIG_fail
;
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= wxPyMake_wxObject(result
, 0);
32228 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
;
32230 wxString
*arg1
= 0 ;
32231 wxWindow
*arg2
= (wxWindow
*) NULL
;
32233 bool temp1
= false ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char *kwnames
[] = {
32237 (char *) "label",(char *) "parent", NULL
32240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32242 arg1
= wxString_in_helper(obj0
);
32243 if (arg1
== NULL
) SWIG_fail
;
32247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32248 if (SWIG_arg_fail(2)) SWIG_fail
;
32251 if (!wxPyCheckForApp()) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= wxPyMake_wxObject(result
, 0);
32275 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxWindow
*arg1
= (wxWindow
*) 0 ;
32278 unsigned long arg2
;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 char *kwnames
[] = {
32283 (char *) "parent",(char *) "_hWnd", NULL
32286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32288 if (SWIG_arg_fail(1)) SWIG_fail
;
32290 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32291 if (SWIG_arg_fail(2)) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32301 resultobj
= wxPyMake_wxObject(result
, 0);
32309 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
;
32312 char *kwnames
[] = {
32316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 result
= (PyObject
*)GetTopLevelWindows();
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= result
;
32331 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxValidator
*result
;
32334 char *kwnames
[] = {
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 result
= (wxValidator
*)new wxValidator();
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32353 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
;
32355 wxValidator
*arg1
= (wxValidator
*) 0 ;
32356 wxValidator
*result
;
32357 PyObject
* obj0
= 0 ;
32358 char *kwnames
[] = {
32359 (char *) "self", NULL
32362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32364 if (SWIG_arg_fail(1)) SWIG_fail
;
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 result
= (wxValidator
*)(arg1
)->Clone();
32369 wxPyEndAllowThreads(__tstate
);
32370 if (PyErr_Occurred()) SWIG_fail
;
32373 resultobj
= wxPyMake_wxObject(result
, 0);
32381 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
;
32383 wxValidator
*arg1
= (wxValidator
*) 0 ;
32384 wxWindow
*arg2
= (wxWindow
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "parent", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32394 if (SWIG_arg_fail(1)) SWIG_fail
;
32395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32396 if (SWIG_arg_fail(2)) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= (bool)(arg1
)->Validate(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32413 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxValidator
*arg1
= (wxValidator
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32424 if (SWIG_arg_fail(1)) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (bool)(arg1
)->TransferToWindow();
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32441 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxValidator
*arg1
= (wxValidator
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "self", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32452 if (SWIG_arg_fail(1)) SWIG_fail
;
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 result
= (bool)(arg1
)->TransferFromWindow();
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32469 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
;
32471 wxValidator
*arg1
= (wxValidator
*) 0 ;
32473 PyObject
* obj0
= 0 ;
32474 char *kwnames
[] = {
32475 (char *) "self", NULL
32478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32480 if (SWIG_arg_fail(1)) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 result
= (wxWindow
*)(arg1
)->GetWindow();
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= wxPyMake_wxObject(result
, 0);
32497 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32498 PyObject
*resultobj
;
32499 wxValidator
*arg1
= (wxValidator
*) 0 ;
32500 wxWindow
*arg2
= (wxWindow
*) 0 ;
32501 PyObject
* obj0
= 0 ;
32502 PyObject
* obj1
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self",(char *) "window", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32509 if (SWIG_arg_fail(1)) SWIG_fail
;
32510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32511 if (SWIG_arg_fail(2)) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 (arg1
)->SetWindow(arg2
);
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 Py_INCREF(Py_None
); resultobj
= Py_None
;
32526 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32529 char *kwnames
[] = {
32533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 result
= (bool)wxValidator::IsSilent();
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32550 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32551 PyObject
*resultobj
;
32552 int arg1
= (int) true ;
32553 PyObject
* obj0
= 0 ;
32554 char *kwnames
[] = {
32555 (char *) "doIt", NULL
32558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32561 arg1
= (int)(SWIG_As_int(obj0
));
32562 if (SWIG_arg_fail(1)) SWIG_fail
;
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 wxValidator::SetBellOnError(arg1
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32572 Py_INCREF(Py_None
); resultobj
= Py_None
;
32579 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32582 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32584 return Py_BuildValue((char *)"");
32586 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
;
32588 wxPyValidator
*result
;
32589 char *kwnames
[] = {
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32596 result
= (wxPyValidator
*)new wxPyValidator();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32608 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
;
32610 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32611 PyObject
*arg2
= (PyObject
*) 0 ;
32612 PyObject
*arg3
= (PyObject
*) 0 ;
32613 int arg4
= (int) true ;
32614 PyObject
* obj0
= 0 ;
32615 PyObject
* obj1
= 0 ;
32616 PyObject
* obj2
= 0 ;
32617 PyObject
* obj3
= 0 ;
32618 char *kwnames
[] = {
32619 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32624 if (SWIG_arg_fail(1)) SWIG_fail
;
32629 arg4
= (int)(SWIG_As_int(obj3
));
32630 if (SWIG_arg_fail(4)) SWIG_fail
;
32634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32635 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32637 wxPyEndAllowThreads(__tstate
);
32638 if (PyErr_Occurred()) SWIG_fail
;
32640 Py_INCREF(Py_None
); resultobj
= Py_None
;
32647 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32650 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32652 return Py_BuildValue((char *)"");
32654 static int _wrap_DefaultValidator_set(PyObject
*) {
32655 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32660 static PyObject
*_wrap_DefaultValidator_get(void) {
32663 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32668 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32669 PyObject
*resultobj
;
32670 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32672 long arg2
= (long) 0 ;
32674 bool temp1
= false ;
32675 PyObject
* obj0
= 0 ;
32676 PyObject
* obj1
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "title",(char *) "style", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32684 arg1
= wxString_in_helper(obj0
);
32685 if (arg1
== NULL
) SWIG_fail
;
32691 arg2
= (long)(SWIG_As_long(obj1
));
32692 if (SWIG_arg_fail(2)) SWIG_fail
;
32696 if (!wxPyCheckForApp()) SWIG_fail
;
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32700 wxPyEndAllowThreads(__tstate
);
32701 if (PyErr_Occurred()) SWIG_fail
;
32703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32718 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32719 PyObject
*resultobj
;
32720 wxMenu
*arg1
= (wxMenu
*) 0 ;
32722 wxString
*arg3
= 0 ;
32723 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32724 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32725 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32726 wxMenuItem
*result
;
32727 bool temp3
= false ;
32728 bool temp4
= false ;
32729 PyObject
* obj0
= 0 ;
32730 PyObject
* obj1
= 0 ;
32731 PyObject
* obj2
= 0 ;
32732 PyObject
* obj3
= 0 ;
32733 PyObject
* obj4
= 0 ;
32734 char *kwnames
[] = {
32735 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32740 if (SWIG_arg_fail(1)) SWIG_fail
;
32742 arg2
= (int)(SWIG_As_int(obj1
));
32743 if (SWIG_arg_fail(2)) SWIG_fail
;
32746 arg3
= wxString_in_helper(obj2
);
32747 if (arg3
== NULL
) SWIG_fail
;
32752 arg4
= wxString_in_helper(obj3
);
32753 if (arg4
== NULL
) SWIG_fail
;
32759 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32760 if (SWIG_arg_fail(5)) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= wxPyMake_wxObject(result
, 0);
32795 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
;
32797 wxMenu
*arg1
= (wxMenu
*) 0 ;
32798 wxMenuItem
*result
;
32799 PyObject
* obj0
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail
;
32808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32809 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32811 wxPyEndAllowThreads(__tstate
);
32812 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= wxPyMake_wxObject(result
, 0);
32823 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenu
*arg1
= (wxMenu
*) 0 ;
32827 wxString
*arg3
= 0 ;
32828 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32829 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32830 wxMenuItem
*result
;
32831 bool temp3
= false ;
32832 bool temp4
= false ;
32833 PyObject
* obj0
= 0 ;
32834 PyObject
* obj1
= 0 ;
32835 PyObject
* obj2
= 0 ;
32836 PyObject
* obj3
= 0 ;
32837 char *kwnames
[] = {
32838 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32843 if (SWIG_arg_fail(1)) SWIG_fail
;
32845 arg2
= (int)(SWIG_As_int(obj1
));
32846 if (SWIG_arg_fail(2)) SWIG_fail
;
32849 arg3
= wxString_in_helper(obj2
);
32850 if (arg3
== NULL
) SWIG_fail
;
32855 arg4
= wxString_in_helper(obj3
);
32856 if (arg4
== NULL
) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 resultobj
= wxPyMake_wxObject(result
, 0);
32892 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxMenu
*arg1
= (wxMenu
*) 0 ;
32896 wxString
*arg3
= 0 ;
32897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32899 wxMenuItem
*result
;
32900 bool temp3
= false ;
32901 bool temp4
= false ;
32902 PyObject
* obj0
= 0 ;
32903 PyObject
* obj1
= 0 ;
32904 PyObject
* obj2
= 0 ;
32905 PyObject
* obj3
= 0 ;
32906 char *kwnames
[] = {
32907 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32912 if (SWIG_arg_fail(1)) SWIG_fail
;
32914 arg2
= (int)(SWIG_As_int(obj1
));
32915 if (SWIG_arg_fail(2)) SWIG_fail
;
32918 arg3
= wxString_in_helper(obj2
);
32919 if (arg3
== NULL
) SWIG_fail
;
32924 arg4
= wxString_in_helper(obj3
);
32925 if (arg4
== NULL
) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32937 resultobj
= wxPyMake_wxObject(result
, 0);
32961 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32962 PyObject
*resultobj
;
32963 wxMenu
*arg1
= (wxMenu
*) 0 ;
32965 wxString
*arg3
= 0 ;
32966 wxMenu
*arg4
= (wxMenu
*) 0 ;
32967 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32968 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32969 wxMenuItem
*result
;
32970 bool temp3
= false ;
32971 bool temp5
= false ;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 PyObject
* obj2
= 0 ;
32975 PyObject
* obj3
= 0 ;
32976 PyObject
* obj4
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32983 if (SWIG_arg_fail(1)) SWIG_fail
;
32985 arg2
= (int)(SWIG_As_int(obj1
));
32986 if (SWIG_arg_fail(2)) SWIG_fail
;
32989 arg3
= wxString_in_helper(obj2
);
32990 if (arg3
== NULL
) SWIG_fail
;
32993 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32994 if (SWIG_arg_fail(4)) SWIG_fail
;
32997 arg5
= wxString_in_helper(obj4
);
32998 if (arg5
== NULL
) SWIG_fail
;
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= wxPyMake_wxObject(result
, 0);
33034 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
;
33036 wxMenu
*arg1
= (wxMenu
*) 0 ;
33037 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33038 wxMenuItem
*result
;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 char *kwnames
[] = {
33042 (char *) "self",(char *) "item", NULL
33045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33047 if (SWIG_arg_fail(1)) SWIG_fail
;
33048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33049 if (SWIG_arg_fail(2)) SWIG_fail
;
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= wxPyMake_wxObject(result
, 0);
33066 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
;
33068 wxMenu
*arg1
= (wxMenu
*) 0 ;
33069 PyObject
* obj0
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail
;
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33084 Py_INCREF(Py_None
); resultobj
= Py_None
;
33091 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
;
33093 wxMenu
*arg1
= (wxMenu
*) 0 ;
33095 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33096 wxMenuItem
*result
;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 PyObject
* obj2
= 0 ;
33100 char *kwnames
[] = {
33101 (char *) "self",(char *) "pos",(char *) "item", NULL
33104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33106 if (SWIG_arg_fail(1)) SWIG_fail
;
33108 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33109 if (SWIG_arg_fail(2)) SWIG_fail
;
33111 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33112 if (SWIG_arg_fail(3)) SWIG_fail
;
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= wxPyMake_wxObject(result
, 0);
33129 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33130 PyObject
*resultobj
;
33131 wxMenu
*arg1
= (wxMenu
*) 0 ;
33134 wxString
*arg4
= 0 ;
33135 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33136 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33137 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33138 wxMenuItem
*result
;
33139 bool temp4
= false ;
33140 bool temp5
= false ;
33141 PyObject
* obj0
= 0 ;
33142 PyObject
* obj1
= 0 ;
33143 PyObject
* obj2
= 0 ;
33144 PyObject
* obj3
= 0 ;
33145 PyObject
* obj4
= 0 ;
33146 PyObject
* obj5
= 0 ;
33147 char *kwnames
[] = {
33148 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33153 if (SWIG_arg_fail(1)) SWIG_fail
;
33155 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33156 if (SWIG_arg_fail(2)) SWIG_fail
;
33159 arg3
= (int)(SWIG_As_int(obj2
));
33160 if (SWIG_arg_fail(3)) SWIG_fail
;
33163 arg4
= wxString_in_helper(obj3
);
33164 if (arg4
== NULL
) SWIG_fail
;
33169 arg5
= wxString_in_helper(obj4
);
33170 if (arg5
== NULL
) SWIG_fail
;
33176 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33177 if (SWIG_arg_fail(6)) SWIG_fail
;
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= wxPyMake_wxObject(result
, 0);
33212 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
;
33214 wxMenu
*arg1
= (wxMenu
*) 0 ;
33216 wxMenuItem
*result
;
33217 PyObject
* obj0
= 0 ;
33218 PyObject
* obj1
= 0 ;
33219 char *kwnames
[] = {
33220 (char *) "self",(char *) "pos", NULL
33223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33225 if (SWIG_arg_fail(1)) SWIG_fail
;
33227 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33228 if (SWIG_arg_fail(2)) SWIG_fail
;
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33234 wxPyEndAllowThreads(__tstate
);
33235 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= wxPyMake_wxObject(result
, 0);
33246 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
;
33248 wxMenu
*arg1
= (wxMenu
*) 0 ;
33251 wxString
*arg4
= 0 ;
33252 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33253 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33254 wxMenuItem
*result
;
33255 bool temp4
= false ;
33256 bool temp5
= false ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 PyObject
* obj2
= 0 ;
33260 PyObject
* obj3
= 0 ;
33261 PyObject
* obj4
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
33275 if (SWIG_arg_fail(3)) SWIG_fail
;
33278 arg4
= wxString_in_helper(obj3
);
33279 if (arg4
== NULL
) SWIG_fail
;
33284 arg5
= wxString_in_helper(obj4
);
33285 if (arg5
== NULL
) SWIG_fail
;
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33297 resultobj
= wxPyMake_wxObject(result
, 0);
33321 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33322 PyObject
*resultobj
;
33323 wxMenu
*arg1
= (wxMenu
*) 0 ;
33326 wxString
*arg4
= 0 ;
33327 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33328 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33329 wxMenuItem
*result
;
33330 bool temp4
= false ;
33331 bool temp5
= false ;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 PyObject
* obj2
= 0 ;
33335 PyObject
* obj3
= 0 ;
33336 PyObject
* obj4
= 0 ;
33337 char *kwnames
[] = {
33338 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33343 if (SWIG_arg_fail(1)) SWIG_fail
;
33345 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33346 if (SWIG_arg_fail(2)) SWIG_fail
;
33349 arg3
= (int)(SWIG_As_int(obj2
));
33350 if (SWIG_arg_fail(3)) SWIG_fail
;
33353 arg4
= wxString_in_helper(obj3
);
33354 if (arg4
== NULL
) SWIG_fail
;
33359 arg5
= wxString_in_helper(obj4
);
33360 if (arg5
== NULL
) SWIG_fail
;
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33372 resultobj
= wxPyMake_wxObject(result
, 0);
33396 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33397 PyObject
*resultobj
;
33398 wxMenu
*arg1
= (wxMenu
*) 0 ;
33401 wxString
*arg4
= 0 ;
33402 wxMenu
*arg5
= (wxMenu
*) 0 ;
33403 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33404 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33405 wxMenuItem
*result
;
33406 bool temp4
= false ;
33407 bool temp6
= false ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 PyObject
* obj2
= 0 ;
33411 PyObject
* obj3
= 0 ;
33412 PyObject
* obj4
= 0 ;
33413 PyObject
* obj5
= 0 ;
33414 char *kwnames
[] = {
33415 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33420 if (SWIG_arg_fail(1)) SWIG_fail
;
33422 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33423 if (SWIG_arg_fail(2)) SWIG_fail
;
33426 arg3
= (int)(SWIG_As_int(obj2
));
33427 if (SWIG_arg_fail(3)) SWIG_fail
;
33430 arg4
= wxString_in_helper(obj3
);
33431 if (arg4
== NULL
) SWIG_fail
;
33434 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33435 if (SWIG_arg_fail(5)) SWIG_fail
;
33438 arg6
= wxString_in_helper(obj5
);
33439 if (arg6
== NULL
) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= wxPyMake_wxObject(result
, 0);
33475 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33476 PyObject
*resultobj
;
33477 wxMenu
*arg1
= (wxMenu
*) 0 ;
33478 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33479 wxMenuItem
*result
;
33480 PyObject
* obj0
= 0 ;
33481 PyObject
* obj1
= 0 ;
33482 char *kwnames
[] = {
33483 (char *) "self",(char *) "item", NULL
33486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33488 if (SWIG_arg_fail(1)) SWIG_fail
;
33489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33490 if (SWIG_arg_fail(2)) SWIG_fail
;
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= wxPyMake_wxObject(result
, 0);
33507 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
;
33509 wxMenu
*arg1
= (wxMenu
*) 0 ;
33511 wxString
*arg3
= 0 ;
33512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33514 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33515 wxMenuItem
*result
;
33516 bool temp3
= false ;
33517 bool temp4
= false ;
33518 PyObject
* obj0
= 0 ;
33519 PyObject
* obj1
= 0 ;
33520 PyObject
* obj2
= 0 ;
33521 PyObject
* obj3
= 0 ;
33522 PyObject
* obj4
= 0 ;
33523 char *kwnames
[] = {
33524 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33529 if (SWIG_arg_fail(1)) SWIG_fail
;
33531 arg2
= (int)(SWIG_As_int(obj1
));
33532 if (SWIG_arg_fail(2)) SWIG_fail
;
33535 arg3
= wxString_in_helper(obj2
);
33536 if (arg3
== NULL
) SWIG_fail
;
33541 arg4
= wxString_in_helper(obj3
);
33542 if (arg4
== NULL
) SWIG_fail
;
33548 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33549 if (SWIG_arg_fail(5)) SWIG_fail
;
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33556 wxPyEndAllowThreads(__tstate
);
33557 if (PyErr_Occurred()) SWIG_fail
;
33560 resultobj
= wxPyMake_wxObject(result
, 0);
33584 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33585 PyObject
*resultobj
;
33586 wxMenu
*arg1
= (wxMenu
*) 0 ;
33587 wxMenuItem
*result
;
33588 PyObject
* obj0
= 0 ;
33589 char *kwnames
[] = {
33590 (char *) "self", NULL
33593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33595 if (SWIG_arg_fail(1)) SWIG_fail
;
33597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33600 wxPyEndAllowThreads(__tstate
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= wxPyMake_wxObject(result
, 0);
33612 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
;
33614 wxMenu
*arg1
= (wxMenu
*) 0 ;
33616 wxString
*arg3
= 0 ;
33617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33619 wxMenuItem
*result
;
33620 bool temp3
= false ;
33621 bool temp4
= false ;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 PyObject
* obj2
= 0 ;
33625 PyObject
* obj3
= 0 ;
33626 char *kwnames
[] = {
33627 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33632 if (SWIG_arg_fail(1)) SWIG_fail
;
33634 arg2
= (int)(SWIG_As_int(obj1
));
33635 if (SWIG_arg_fail(2)) SWIG_fail
;
33638 arg3
= wxString_in_helper(obj2
);
33639 if (arg3
== NULL
) SWIG_fail
;
33644 arg4
= wxString_in_helper(obj3
);
33645 if (arg4
== NULL
) SWIG_fail
;
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33651 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33657 resultobj
= wxPyMake_wxObject(result
, 0);
33681 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33682 PyObject
*resultobj
;
33683 wxMenu
*arg1
= (wxMenu
*) 0 ;
33685 wxString
*arg3
= 0 ;
33686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33688 wxMenuItem
*result
;
33689 bool temp3
= false ;
33690 bool temp4
= false ;
33691 PyObject
* obj0
= 0 ;
33692 PyObject
* obj1
= 0 ;
33693 PyObject
* obj2
= 0 ;
33694 PyObject
* obj3
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33701 if (SWIG_arg_fail(1)) SWIG_fail
;
33703 arg2
= (int)(SWIG_As_int(obj1
));
33704 if (SWIG_arg_fail(2)) SWIG_fail
;
33707 arg3
= wxString_in_helper(obj2
);
33708 if (arg3
== NULL
) SWIG_fail
;
33713 arg4
= wxString_in_helper(obj3
);
33714 if (arg4
== NULL
) SWIG_fail
;
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= wxPyMake_wxObject(result
, 0);
33750 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
;
33752 wxMenu
*arg1
= (wxMenu
*) 0 ;
33754 wxString
*arg3
= 0 ;
33755 wxMenu
*arg4
= (wxMenu
*) 0 ;
33756 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33757 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33758 wxMenuItem
*result
;
33759 bool temp3
= false ;
33760 bool temp5
= false ;
33761 PyObject
* obj0
= 0 ;
33762 PyObject
* obj1
= 0 ;
33763 PyObject
* obj2
= 0 ;
33764 PyObject
* obj3
= 0 ;
33765 PyObject
* obj4
= 0 ;
33766 char *kwnames
[] = {
33767 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33772 if (SWIG_arg_fail(1)) SWIG_fail
;
33774 arg2
= (int)(SWIG_As_int(obj1
));
33775 if (SWIG_arg_fail(2)) SWIG_fail
;
33778 arg3
= wxString_in_helper(obj2
);
33779 if (arg3
== NULL
) SWIG_fail
;
33782 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33783 if (SWIG_arg_fail(4)) SWIG_fail
;
33786 arg5
= wxString_in_helper(obj4
);
33787 if (arg5
== NULL
) SWIG_fail
;
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= wxPyMake_wxObject(result
, 0);
33823 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxMenu
*arg1
= (wxMenu
*) 0 ;
33827 wxMenuItem
*result
;
33828 PyObject
* obj0
= 0 ;
33829 PyObject
* obj1
= 0 ;
33830 char *kwnames
[] = {
33831 (char *) "self",(char *) "id", NULL
33834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33836 if (SWIG_arg_fail(1)) SWIG_fail
;
33838 arg2
= (int)(SWIG_As_int(obj1
));
33839 if (SWIG_arg_fail(2)) SWIG_fail
;
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= wxPyMake_wxObject(result
, 0);
33857 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxMenu
*arg1
= (wxMenu
*) 0 ;
33860 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33861 wxMenuItem
*result
;
33862 PyObject
* obj0
= 0 ;
33863 PyObject
* obj1
= 0 ;
33864 char *kwnames
[] = {
33865 (char *) "self",(char *) "item", NULL
33868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33870 if (SWIG_arg_fail(1)) SWIG_fail
;
33871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33872 if (SWIG_arg_fail(2)) SWIG_fail
;
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= wxPyMake_wxObject(result
, 0);
33889 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
;
33891 wxMenu
*arg1
= (wxMenu
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "id", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33902 if (SWIG_arg_fail(1)) SWIG_fail
;
33904 arg2
= (int)(SWIG_As_int(obj1
));
33905 if (SWIG_arg_fail(2)) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (bool)(arg1
)->Delete(arg2
);
33911 wxPyEndAllowThreads(__tstate
);
33912 if (PyErr_Occurred()) SWIG_fail
;
33915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33923 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
;
33925 wxMenu
*arg1
= (wxMenu
*) 0 ;
33926 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 char *kwnames
[] = {
33931 (char *) "self",(char *) "item", NULL
33934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33936 if (SWIG_arg_fail(1)) SWIG_fail
;
33937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33938 if (SWIG_arg_fail(2)) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 result
= (bool)(arg1
)->Delete(arg2
);
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33955 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33956 PyObject
*resultobj
;
33957 wxMenu
*arg1
= (wxMenu
*) 0 ;
33958 PyObject
* obj0
= 0 ;
33959 char *kwnames
[] = {
33960 (char *) "self", NULL
33963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33965 if (SWIG_arg_fail(1)) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 wxMenu_Destroy(arg1
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 Py_INCREF(Py_None
); resultobj
= Py_None
;
33980 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxMenu
*arg1
= (wxMenu
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 PyObject
* obj1
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "self",(char *) "id", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33993 if (SWIG_arg_fail(1)) SWIG_fail
;
33995 arg2
= (int)(SWIG_As_int(obj1
));
33996 if (SWIG_arg_fail(2)) SWIG_fail
;
33999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34000 result
= (bool)(arg1
)->Destroy(arg2
);
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34014 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
;
34016 wxMenu
*arg1
= (wxMenu
*) 0 ;
34017 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 char *kwnames
[] = {
34022 (char *) "self",(char *) "item", NULL
34025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34027 if (SWIG_arg_fail(1)) SWIG_fail
;
34028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34029 if (SWIG_arg_fail(2)) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 result
= (bool)(arg1
)->Destroy(arg2
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34046 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
;
34048 wxMenu
*arg1
= (wxMenu
*) 0 ;
34050 PyObject
* obj0
= 0 ;
34051 char *kwnames
[] = {
34052 (char *) "self", NULL
34055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34057 if (SWIG_arg_fail(1)) SWIG_fail
;
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34062 wxPyEndAllowThreads(__tstate
);
34063 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34074 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
;
34076 wxMenu
*arg1
= (wxMenu
*) 0 ;
34078 PyObject
* obj0
= 0 ;
34079 char *kwnames
[] = {
34080 (char *) "self", NULL
34083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34085 if (SWIG_arg_fail(1)) SWIG_fail
;
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= result
;
34100 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34101 PyObject
*resultobj
;
34102 wxMenu
*arg1
= (wxMenu
*) 0 ;
34103 wxString
*arg2
= 0 ;
34105 bool temp2
= false ;
34106 PyObject
* obj0
= 0 ;
34107 PyObject
* obj1
= 0 ;
34108 char *kwnames
[] = {
34109 (char *) "self",(char *) "item", NULL
34112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34114 if (SWIG_arg_fail(1)) SWIG_fail
;
34116 arg2
= wxString_in_helper(obj1
);
34117 if (arg2
== NULL
) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= SWIG_From_int((int)(result
));
34144 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxMenu
*arg1
= (wxMenu
*) 0 ;
34148 wxMenuItem
*result
;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self",(char *) "id", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",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
= (int)(SWIG_As_int(obj1
));
34160 if (SWIG_arg_fail(2)) SWIG_fail
;
34163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34164 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34166 wxPyEndAllowThreads(__tstate
);
34167 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= wxPyMake_wxObject(result
, 0);
34178 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
;
34180 wxMenu
*arg1
= (wxMenu
*) 0 ;
34182 wxMenuItem
*result
;
34183 PyObject
* obj0
= 0 ;
34184 PyObject
* obj1
= 0 ;
34185 char *kwnames
[] = {
34186 (char *) "self",(char *) "position", NULL
34189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34191 if (SWIG_arg_fail(1)) SWIG_fail
;
34193 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34194 if (SWIG_arg_fail(2)) SWIG_fail
;
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34200 wxPyEndAllowThreads(__tstate
);
34201 if (PyErr_Occurred()) SWIG_fail
;
34204 resultobj
= wxPyMake_wxObject(result
, 0);
34212 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
;
34214 wxMenu
*arg1
= (wxMenu
*) 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 PyObject
* obj2
= 0 ;
34220 char *kwnames
[] = {
34221 (char *) "self",(char *) "id",(char *) "enable", NULL
34224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34226 if (SWIG_arg_fail(1)) SWIG_fail
;
34228 arg2
= (int)(SWIG_As_int(obj1
));
34229 if (SWIG_arg_fail(2)) SWIG_fail
;
34232 arg3
= (bool)(SWIG_As_bool(obj2
));
34233 if (SWIG_arg_fail(3)) SWIG_fail
;
34236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34237 (arg1
)->Enable(arg2
,arg3
);
34239 wxPyEndAllowThreads(__tstate
);
34240 if (PyErr_Occurred()) SWIG_fail
;
34242 Py_INCREF(Py_None
); resultobj
= Py_None
;
34249 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34250 PyObject
*resultobj
;
34251 wxMenu
*arg1
= (wxMenu
*) 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char *kwnames
[] = {
34257 (char *) "self",(char *) "id", NULL
34260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail
;
34264 arg2
= (int)(SWIG_As_int(obj1
));
34265 if (SWIG_arg_fail(2)) SWIG_fail
;
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34283 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34284 PyObject
*resultobj
;
34285 wxMenu
*arg1
= (wxMenu
*) 0 ;
34288 PyObject
* obj0
= 0 ;
34289 PyObject
* obj1
= 0 ;
34290 PyObject
* obj2
= 0 ;
34291 char *kwnames
[] = {
34292 (char *) "self",(char *) "id",(char *) "check", NULL
34295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34297 if (SWIG_arg_fail(1)) SWIG_fail
;
34299 arg2
= (int)(SWIG_As_int(obj1
));
34300 if (SWIG_arg_fail(2)) SWIG_fail
;
34303 arg3
= (bool)(SWIG_As_bool(obj2
));
34304 if (SWIG_arg_fail(3)) SWIG_fail
;
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 (arg1
)->Check(arg2
,arg3
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 Py_INCREF(Py_None
); resultobj
= Py_None
;
34320 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
;
34322 wxMenu
*arg1
= (wxMenu
*) 0 ;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 char *kwnames
[] = {
34328 (char *) "self",(char *) "id", NULL
34331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34333 if (SWIG_arg_fail(1)) SWIG_fail
;
34335 arg2
= (int)(SWIG_As_int(obj1
));
34336 if (SWIG_arg_fail(2)) SWIG_fail
;
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34354 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34355 PyObject
*resultobj
;
34356 wxMenu
*arg1
= (wxMenu
*) 0 ;
34358 wxString
*arg3
= 0 ;
34359 bool temp3
= false ;
34360 PyObject
* obj0
= 0 ;
34361 PyObject
* obj1
= 0 ;
34362 PyObject
* obj2
= 0 ;
34363 char *kwnames
[] = {
34364 (char *) "self",(char *) "id",(char *) "label", NULL
34367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34369 if (SWIG_arg_fail(1)) SWIG_fail
;
34371 arg2
= (int)(SWIG_As_int(obj1
));
34372 if (SWIG_arg_fail(2)) SWIG_fail
;
34375 arg3
= wxString_in_helper(obj2
);
34376 if (arg3
== NULL
) SWIG_fail
;
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 Py_INCREF(Py_None
); resultobj
= Py_None
;
34401 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 wxMenu
*arg1
= (wxMenu
*) 0 ;
34406 PyObject
* obj0
= 0 ;
34407 PyObject
* obj1
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self",(char *) "id", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34414 if (SWIG_arg_fail(1)) SWIG_fail
;
34416 arg2
= (int)(SWIG_As_int(obj1
));
34417 if (SWIG_arg_fail(2)) SWIG_fail
;
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34423 wxPyEndAllowThreads(__tstate
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34439 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
;
34441 wxMenu
*arg1
= (wxMenu
*) 0 ;
34443 wxString
*arg3
= 0 ;
34444 bool temp3
= false ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 PyObject
* obj2
= 0 ;
34448 char *kwnames
[] = {
34449 (char *) "self",(char *) "id",(char *) "helpString", NULL
34452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34454 if (SWIG_arg_fail(1)) SWIG_fail
;
34456 arg2
= (int)(SWIG_As_int(obj1
));
34457 if (SWIG_arg_fail(2)) SWIG_fail
;
34460 arg3
= wxString_in_helper(obj2
);
34461 if (arg3
== NULL
) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 Py_INCREF(Py_None
); resultobj
= Py_None
;
34486 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
;
34488 wxMenu
*arg1
= (wxMenu
*) 0 ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 char *kwnames
[] = {
34494 (char *) "self",(char *) "id", NULL
34497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34499 if (SWIG_arg_fail(1)) SWIG_fail
;
34501 arg2
= (int)(SWIG_As_int(obj1
));
34502 if (SWIG_arg_fail(2)) SWIG_fail
;
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34506 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34524 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34525 PyObject
*resultobj
;
34526 wxMenu
*arg1
= (wxMenu
*) 0 ;
34527 wxString
*arg2
= 0 ;
34528 bool temp2
= false ;
34529 PyObject
* obj0
= 0 ;
34530 PyObject
* obj1
= 0 ;
34531 char *kwnames
[] = {
34532 (char *) "self",(char *) "title", NULL
34535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34537 if (SWIG_arg_fail(1)) SWIG_fail
;
34539 arg2
= wxString_in_helper(obj1
);
34540 if (arg2
== NULL
) SWIG_fail
;
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 (arg1
)->SetTitle((wxString
const &)*arg2
);
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34550 Py_INCREF(Py_None
); resultobj
= Py_None
;
34565 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34566 PyObject
*resultobj
;
34567 wxMenu
*arg1
= (wxMenu
*) 0 ;
34569 PyObject
* obj0
= 0 ;
34570 char *kwnames
[] = {
34571 (char *) "self", NULL
34574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34576 if (SWIG_arg_fail(1)) SWIG_fail
;
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 result
= ((wxMenu
const *)arg1
)->GetTitle();
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34597 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
;
34599 wxMenu
*arg1
= (wxMenu
*) 0 ;
34600 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34601 PyObject
* obj0
= 0 ;
34602 PyObject
* obj1
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self",(char *) "handler", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34609 if (SWIG_arg_fail(1)) SWIG_fail
;
34610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34611 if (SWIG_arg_fail(2)) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 (arg1
)->SetEventHandler(arg2
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 Py_INCREF(Py_None
); resultobj
= Py_None
;
34626 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
;
34628 wxMenu
*arg1
= (wxMenu
*) 0 ;
34629 wxEvtHandler
*result
;
34630 PyObject
* obj0
= 0 ;
34631 char *kwnames
[] = {
34632 (char *) "self", NULL
34635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34637 if (SWIG_arg_fail(1)) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= wxPyMake_wxObject(result
, 0);
34654 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34655 PyObject
*resultobj
;
34656 wxMenu
*arg1
= (wxMenu
*) 0 ;
34657 wxWindow
*arg2
= (wxWindow
*) 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 char *kwnames
[] = {
34661 (char *) "self",(char *) "win", NULL
34664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34666 if (SWIG_arg_fail(1)) SWIG_fail
;
34667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34668 if (SWIG_arg_fail(2)) SWIG_fail
;
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->SetInvokingWindow(arg2
);
34673 wxPyEndAllowThreads(__tstate
);
34674 if (PyErr_Occurred()) SWIG_fail
;
34676 Py_INCREF(Py_None
); resultobj
= Py_None
;
34683 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34684 PyObject
*resultobj
;
34685 wxMenu
*arg1
= (wxMenu
*) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34694 if (SWIG_arg_fail(1)) SWIG_fail
;
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34703 resultobj
= wxPyMake_wxObject(result
, 0);
34711 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34712 PyObject
*resultobj
;
34713 wxMenu
*arg1
= (wxMenu
*) 0 ;
34715 PyObject
* obj0
= 0 ;
34716 char *kwnames
[] = {
34717 (char *) "self", NULL
34720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34722 if (SWIG_arg_fail(1)) SWIG_fail
;
34724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34725 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34727 wxPyEndAllowThreads(__tstate
);
34728 if (PyErr_Occurred()) SWIG_fail
;
34731 resultobj
= SWIG_From_long((long)(result
));
34739 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
;
34741 wxMenu
*arg1
= (wxMenu
*) 0 ;
34742 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 char *kwnames
[] = {
34746 (char *) "self",(char *) "source", NULL
34749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34751 if (SWIG_arg_fail(1)) SWIG_fail
;
34753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34754 if (SWIG_arg_fail(2)) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->UpdateUI(arg2
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 Py_INCREF(Py_None
); resultobj
= Py_None
;
34770 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
;
34772 wxMenu
*arg1
= (wxMenu
*) 0 ;
34774 PyObject
* obj0
= 0 ;
34775 char *kwnames
[] = {
34776 (char *) "self", NULL
34779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34781 if (SWIG_arg_fail(1)) SWIG_fail
;
34783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34784 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34786 wxPyEndAllowThreads(__tstate
);
34787 if (PyErr_Occurred()) SWIG_fail
;
34790 resultobj
= wxPyMake_wxObject(result
, 0);
34798 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
;
34800 wxMenu
*arg1
= (wxMenu
*) 0 ;
34801 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34802 PyObject
* obj0
= 0 ;
34803 PyObject
* obj1
= 0 ;
34804 char *kwnames
[] = {
34805 (char *) "self",(char *) "menubar", NULL
34808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34810 if (SWIG_arg_fail(1)) SWIG_fail
;
34811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34812 if (SWIG_arg_fail(2)) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 (arg1
)->Attach(arg2
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 Py_INCREF(Py_None
); resultobj
= Py_None
;
34827 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
;
34829 wxMenu
*arg1
= (wxMenu
*) 0 ;
34830 PyObject
* obj0
= 0 ;
34831 char *kwnames
[] = {
34832 (char *) "self", NULL
34835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(1)) SWIG_fail
;
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 Py_INCREF(Py_None
); resultobj
= Py_None
;
34852 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34853 PyObject
*resultobj
;
34854 wxMenu
*arg1
= (wxMenu
*) 0 ;
34856 PyObject
* obj0
= 0 ;
34857 char *kwnames
[] = {
34858 (char *) "self", NULL
34861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34863 if (SWIG_arg_fail(1)) SWIG_fail
;
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34880 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34881 PyObject
*resultobj
;
34882 wxMenu
*arg1
= (wxMenu
*) 0 ;
34883 wxMenu
*arg2
= (wxMenu
*) 0 ;
34884 PyObject
* obj0
= 0 ;
34885 PyObject
* obj1
= 0 ;
34886 char *kwnames
[] = {
34887 (char *) "self",(char *) "parent", NULL
34890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34892 if (SWIG_arg_fail(1)) SWIG_fail
;
34893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34894 if (SWIG_arg_fail(2)) SWIG_fail
;
34896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 (arg1
)->SetParent(arg2
);
34899 wxPyEndAllowThreads(__tstate
);
34900 if (PyErr_Occurred()) SWIG_fail
;
34902 Py_INCREF(Py_None
); resultobj
= Py_None
;
34909 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34910 PyObject
*resultobj
;
34911 wxMenu
*arg1
= (wxMenu
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 char *kwnames
[] = {
34915 (char *) "self", NULL
34918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34920 if (SWIG_arg_fail(1)) SWIG_fail
;
34922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34923 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= wxPyMake_wxObject(result
, 0);
34937 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34940 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34942 return Py_BuildValue((char *)"");
34944 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
;
34946 long arg1
= (long) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 char *kwnames
[] = {
34950 (char *) "style", NULL
34953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34956 arg1
= (long)(SWIG_As_long(obj0
));
34957 if (SWIG_arg_fail(1)) SWIG_fail
;
34961 if (!wxPyCheckForApp()) SWIG_fail
;
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34975 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
;
34977 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34978 wxMenu
*arg2
= (wxMenu
*) 0 ;
34979 wxString
*arg3
= 0 ;
34981 bool temp3
= false ;
34982 PyObject
* obj0
= 0 ;
34983 PyObject
* obj1
= 0 ;
34984 PyObject
* obj2
= 0 ;
34985 char *kwnames
[] = {
34986 (char *) "self",(char *) "menu",(char *) "title", NULL
34989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34991 if (SWIG_arg_fail(1)) SWIG_fail
;
34992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34993 if (SWIG_arg_fail(2)) SWIG_fail
;
34995 arg3
= wxString_in_helper(obj2
);
34996 if (arg3
== NULL
) SWIG_fail
;
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35023 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
;
35025 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35027 wxMenu
*arg3
= (wxMenu
*) 0 ;
35028 wxString
*arg4
= 0 ;
35030 bool temp4
= false ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 PyObject
* obj2
= 0 ;
35034 PyObject
* obj3
= 0 ;
35035 char *kwnames
[] = {
35036 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35041 if (SWIG_arg_fail(1)) SWIG_fail
;
35043 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35044 if (SWIG_arg_fail(2)) SWIG_fail
;
35046 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35047 if (SWIG_arg_fail(3)) SWIG_fail
;
35049 arg4
= wxString_in_helper(obj3
);
35050 if (arg4
== NULL
) SWIG_fail
;
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35077 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35078 PyObject
*resultobj
;
35079 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35081 PyObject
* obj0
= 0 ;
35082 char *kwnames
[] = {
35083 (char *) "self", NULL
35086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35088 if (SWIG_arg_fail(1)) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35105 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 char *kwnames
[] = {
35113 (char *) "self",(char *) "pos", NULL
35116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35118 if (SWIG_arg_fail(1)) SWIG_fail
;
35120 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35121 if (SWIG_arg_fail(2)) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35131 resultobj
= wxPyMake_wxObject(result
, 0);
35139 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
;
35141 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35143 wxMenu
*arg3
= (wxMenu
*) 0 ;
35144 wxString
*arg4
= 0 ;
35146 bool temp4
= false ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 PyObject
* obj3
= 0 ;
35151 char *kwnames
[] = {
35152 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35157 if (SWIG_arg_fail(1)) SWIG_fail
;
35159 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35160 if (SWIG_arg_fail(2)) SWIG_fail
;
35162 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35163 if (SWIG_arg_fail(3)) SWIG_fail
;
35165 arg4
= wxString_in_helper(obj3
);
35166 if (arg4
== NULL
) SWIG_fail
;
35170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35171 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= wxPyMake_wxObject(result
, 0);
35193 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
;
35195 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self",(char *) "pos", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35206 if (SWIG_arg_fail(1)) SWIG_fail
;
35208 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35209 if (SWIG_arg_fail(2)) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= wxPyMake_wxObject(result
, 0);
35227 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
;
35229 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 PyObject
* obj2
= 0 ;
35235 char *kwnames
[] = {
35236 (char *) "self",(char *) "pos",(char *) "enable", NULL
35239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35241 if (SWIG_arg_fail(1)) SWIG_fail
;
35243 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35244 if (SWIG_arg_fail(2)) SWIG_fail
;
35247 arg3
= (bool)(SWIG_As_bool(obj2
));
35248 if (SWIG_arg_fail(3)) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 (arg1
)->EnableTop(arg2
,arg3
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 Py_INCREF(Py_None
); resultobj
= Py_None
;
35264 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35265 PyObject
*resultobj
;
35266 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 char *kwnames
[] = {
35272 (char *) "self",(char *) "pos", NULL
35275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35277 if (SWIG_arg_fail(1)) SWIG_fail
;
35279 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35280 if (SWIG_arg_fail(2)) SWIG_fail
;
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35286 wxPyEndAllowThreads(__tstate
);
35287 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35298 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
;
35300 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35302 wxString
*arg3
= 0 ;
35303 bool temp3
= false ;
35304 PyObject
* obj0
= 0 ;
35305 PyObject
* obj1
= 0 ;
35306 PyObject
* obj2
= 0 ;
35307 char *kwnames
[] = {
35308 (char *) "self",(char *) "pos",(char *) "label", NULL
35311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35313 if (SWIG_arg_fail(1)) SWIG_fail
;
35315 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35316 if (SWIG_arg_fail(2)) SWIG_fail
;
35319 arg3
= wxString_in_helper(obj2
);
35320 if (arg3
== NULL
) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 Py_INCREF(Py_None
); resultobj
= Py_None
;
35345 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35350 PyObject
* obj0
= 0 ;
35351 PyObject
* obj1
= 0 ;
35352 char *kwnames
[] = {
35353 (char *) "self",(char *) "pos", NULL
35356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35358 if (SWIG_arg_fail(1)) SWIG_fail
;
35360 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35361 if (SWIG_arg_fail(2)) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35367 wxPyEndAllowThreads(__tstate
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35383 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35384 PyObject
*resultobj
;
35385 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35386 wxString
*arg2
= 0 ;
35387 wxString
*arg3
= 0 ;
35389 bool temp2
= false ;
35390 bool temp3
= false ;
35391 PyObject
* obj0
= 0 ;
35392 PyObject
* obj1
= 0 ;
35393 PyObject
* obj2
= 0 ;
35394 char *kwnames
[] = {
35395 (char *) "self",(char *) "menu",(char *) "item", NULL
35398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35400 if (SWIG_arg_fail(1)) SWIG_fail
;
35402 arg2
= wxString_in_helper(obj1
);
35403 if (arg2
== NULL
) SWIG_fail
;
35407 arg3
= wxString_in_helper(obj2
);
35408 if (arg3
== NULL
) SWIG_fail
;
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_From_int((int)(result
));
35443 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
;
35445 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35447 wxMenuItem
*result
;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 char *kwnames
[] = {
35451 (char *) "self",(char *) "id", NULL
35454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35456 if (SWIG_arg_fail(1)) SWIG_fail
;
35458 arg2
= (int)(SWIG_As_int(obj1
));
35459 if (SWIG_arg_fail(2)) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35469 resultobj
= wxPyMake_wxObject(result
, 0);
35477 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
;
35479 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35480 wxString
*arg2
= 0 ;
35482 bool temp2
= false ;
35483 PyObject
* obj0
= 0 ;
35484 PyObject
* obj1
= 0 ;
35485 char *kwnames
[] = {
35486 (char *) "self",(char *) "title", NULL
35489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35491 if (SWIG_arg_fail(1)) SWIG_fail
;
35493 arg2
= wxString_in_helper(obj1
);
35494 if (arg2
== NULL
) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= SWIG_From_int((int)(result
));
35521 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
;
35523 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 PyObject
* obj2
= 0 ;
35529 char *kwnames
[] = {
35530 (char *) "self",(char *) "id",(char *) "enable", NULL
35533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35535 if (SWIG_arg_fail(1)) SWIG_fail
;
35537 arg2
= (int)(SWIG_As_int(obj1
));
35538 if (SWIG_arg_fail(2)) SWIG_fail
;
35541 arg3
= (bool)(SWIG_As_bool(obj2
));
35542 if (SWIG_arg_fail(3)) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 (arg1
)->Enable(arg2
,arg3
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 Py_INCREF(Py_None
); resultobj
= Py_None
;
35558 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
;
35560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35563 PyObject
* obj0
= 0 ;
35564 PyObject
* obj1
= 0 ;
35565 PyObject
* obj2
= 0 ;
35566 char *kwnames
[] = {
35567 (char *) "self",(char *) "id",(char *) "check", NULL
35570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35572 if (SWIG_arg_fail(1)) SWIG_fail
;
35574 arg2
= (int)(SWIG_As_int(obj1
));
35575 if (SWIG_arg_fail(2)) SWIG_fail
;
35578 arg3
= (bool)(SWIG_As_bool(obj2
));
35579 if (SWIG_arg_fail(3)) SWIG_fail
;
35582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35583 (arg1
)->Check(arg2
,arg3
);
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 Py_INCREF(Py_None
); resultobj
= Py_None
;
35595 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
;
35597 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35600 PyObject
* obj0
= 0 ;
35601 PyObject
* obj1
= 0 ;
35602 char *kwnames
[] = {
35603 (char *) "self",(char *) "id", NULL
35606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35608 if (SWIG_arg_fail(1)) SWIG_fail
;
35610 arg2
= (int)(SWIG_As_int(obj1
));
35611 if (SWIG_arg_fail(2)) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35629 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35630 PyObject
*resultobj
;
35631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35634 PyObject
* obj0
= 0 ;
35635 PyObject
* obj1
= 0 ;
35636 char *kwnames
[] = {
35637 (char *) "self",(char *) "id", NULL
35640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35642 if (SWIG_arg_fail(1)) SWIG_fail
;
35644 arg2
= (int)(SWIG_As_int(obj1
));
35645 if (SWIG_arg_fail(2)) SWIG_fail
;
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35663 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35667 wxString
*arg3
= 0 ;
35668 bool temp3
= false ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 PyObject
* obj2
= 0 ;
35672 char *kwnames
[] = {
35673 (char *) "self",(char *) "id",(char *) "label", NULL
35676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35678 if (SWIG_arg_fail(1)) SWIG_fail
;
35680 arg2
= (int)(SWIG_As_int(obj1
));
35681 if (SWIG_arg_fail(2)) SWIG_fail
;
35684 arg3
= wxString_in_helper(obj2
);
35685 if (arg3
== NULL
) SWIG_fail
;
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35692 wxPyEndAllowThreads(__tstate
);
35693 if (PyErr_Occurred()) SWIG_fail
;
35695 Py_INCREF(Py_None
); resultobj
= Py_None
;
35710 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35711 PyObject
*resultobj
;
35712 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35715 PyObject
* obj0
= 0 ;
35716 PyObject
* obj1
= 0 ;
35717 char *kwnames
[] = {
35718 (char *) "self",(char *) "id", NULL
35721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35723 if (SWIG_arg_fail(1)) SWIG_fail
;
35725 arg2
= (int)(SWIG_As_int(obj1
));
35726 if (SWIG_arg_fail(2)) SWIG_fail
;
35729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35730 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35732 wxPyEndAllowThreads(__tstate
);
35733 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35748 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35752 wxString
*arg3
= 0 ;
35753 bool temp3
= false ;
35754 PyObject
* obj0
= 0 ;
35755 PyObject
* obj1
= 0 ;
35756 PyObject
* obj2
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "self",(char *) "id",(char *) "helpString", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35763 if (SWIG_arg_fail(1)) SWIG_fail
;
35765 arg2
= (int)(SWIG_As_int(obj1
));
35766 if (SWIG_arg_fail(2)) SWIG_fail
;
35769 arg3
= wxString_in_helper(obj2
);
35770 if (arg3
== NULL
) SWIG_fail
;
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35777 wxPyEndAllowThreads(__tstate
);
35778 if (PyErr_Occurred()) SWIG_fail
;
35780 Py_INCREF(Py_None
); resultobj
= Py_None
;
35795 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
;
35797 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35800 PyObject
* obj0
= 0 ;
35801 PyObject
* obj1
= 0 ;
35802 char *kwnames
[] = {
35803 (char *) "self",(char *) "id", NULL
35806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35808 if (SWIG_arg_fail(1)) SWIG_fail
;
35810 arg2
= (int)(SWIG_As_int(obj1
));
35811 if (SWIG_arg_fail(2)) SWIG_fail
;
35814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35815 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35817 wxPyEndAllowThreads(__tstate
);
35818 if (PyErr_Occurred()) SWIG_fail
;
35822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35833 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35834 PyObject
*resultobj
;
35835 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35837 PyObject
* obj0
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(1)) SWIG_fail
;
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= wxPyMake_wxObject(result
, 0);
35861 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
;
35863 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35865 PyObject
* obj0
= 0 ;
35866 char *kwnames
[] = {
35867 (char *) "self", NULL
35870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35872 if (SWIG_arg_fail(1)) SWIG_fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35889 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35892 wxFrame
*arg2
= (wxFrame
*) 0 ;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char *kwnames
[] = {
35896 (char *) "self",(char *) "frame", NULL
35899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35901 if (SWIG_arg_fail(1)) SWIG_fail
;
35902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35903 if (SWIG_arg_fail(2)) SWIG_fail
;
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 (arg1
)->Attach(arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 Py_INCREF(Py_None
); resultobj
= Py_None
;
35918 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
;
35920 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35921 PyObject
* obj0
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35928 if (SWIG_arg_fail(1)) SWIG_fail
;
35930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 Py_INCREF(Py_None
); resultobj
= Py_None
;
35943 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35946 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35948 return Py_BuildValue((char *)"");
35950 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35951 PyObject
*resultobj
;
35952 wxMenu
*arg1
= (wxMenu
*) NULL
;
35953 int arg2
= (int) wxID_ANY
;
35954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35956 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35957 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35958 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35959 wxMenu
*arg6
= (wxMenu
*) NULL
;
35960 wxMenuItem
*result
;
35961 bool temp3
= false ;
35962 bool temp4
= false ;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 PyObject
* obj2
= 0 ;
35966 PyObject
* obj3
= 0 ;
35967 PyObject
* obj4
= 0 ;
35968 PyObject
* obj5
= 0 ;
35969 char *kwnames
[] = {
35970 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35976 if (SWIG_arg_fail(1)) SWIG_fail
;
35980 arg2
= (int)(SWIG_As_int(obj1
));
35981 if (SWIG_arg_fail(2)) SWIG_fail
;
35986 arg3
= wxString_in_helper(obj2
);
35987 if (arg3
== NULL
) SWIG_fail
;
35993 arg4
= wxString_in_helper(obj3
);
35994 if (arg4
== NULL
) SWIG_fail
;
36000 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36001 if (SWIG_arg_fail(5)) SWIG_fail
;
36005 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36006 if (SWIG_arg_fail(6)) SWIG_fail
;
36009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36010 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36012 wxPyEndAllowThreads(__tstate
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36016 resultobj
= wxPyMake_wxObject(result
, 1);
36040 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36041 PyObject
*resultobj
;
36042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36044 PyObject
* obj0
= 0 ;
36045 char *kwnames
[] = {
36046 (char *) "self", NULL
36049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36051 if (SWIG_arg_fail(1)) SWIG_fail
;
36053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36054 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36060 resultobj
= wxPyMake_wxObject(result
, 0);
36068 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36071 wxMenu
*arg2
= (wxMenu
*) 0 ;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 char *kwnames
[] = {
36075 (char *) "self",(char *) "menu", NULL
36078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36080 if (SWIG_arg_fail(1)) SWIG_fail
;
36081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36082 if (SWIG_arg_fail(2)) SWIG_fail
;
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 (arg1
)->SetMenu(arg2
);
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36090 Py_INCREF(Py_None
); resultobj
= Py_None
;
36097 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36098 PyObject
*resultobj
;
36099 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 char *kwnames
[] = {
36104 (char *) "self",(char *) "id", NULL
36107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36109 if (SWIG_arg_fail(1)) SWIG_fail
;
36111 arg2
= (int)(SWIG_As_int(obj1
));
36112 if (SWIG_arg_fail(2)) SWIG_fail
;
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->SetId(arg2
);
36118 wxPyEndAllowThreads(__tstate
);
36119 if (PyErr_Occurred()) SWIG_fail
;
36121 Py_INCREF(Py_None
); resultobj
= Py_None
;
36128 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36129 PyObject
*resultobj
;
36130 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36132 PyObject
* obj0
= 0 ;
36133 char *kwnames
[] = {
36134 (char *) "self", NULL
36137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36139 if (SWIG_arg_fail(1)) SWIG_fail
;
36141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36142 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= SWIG_From_int((int)(result
));
36156 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36167 if (SWIG_arg_fail(1)) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36184 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36187 wxString
*arg2
= 0 ;
36188 bool temp2
= false ;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 char *kwnames
[] = {
36192 (char *) "self",(char *) "str", NULL
36195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36197 if (SWIG_arg_fail(1)) SWIG_fail
;
36199 arg2
= wxString_in_helper(obj1
);
36200 if (arg2
== NULL
) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 (arg1
)->SetText((wxString
const &)*arg2
);
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36210 Py_INCREF(Py_None
); resultobj
= Py_None
;
36225 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36226 PyObject
*resultobj
;
36227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36229 PyObject
* obj0
= 0 ;
36230 char *kwnames
[] = {
36231 (char *) "self", NULL
36234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36236 if (SWIG_arg_fail(1)) SWIG_fail
;
36238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36239 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36257 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36258 PyObject
*resultobj
;
36259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36261 PyObject
* obj0
= 0 ;
36262 char *kwnames
[] = {
36263 (char *) "self", NULL
36266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36268 if (SWIG_arg_fail(1)) SWIG_fail
;
36270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36273 result
= (wxString
*) &_result_ref
;
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36281 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36283 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36292 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36293 PyObject
*resultobj
;
36294 wxString
*arg1
= 0 ;
36296 bool temp1
= false ;
36297 PyObject
* obj0
= 0 ;
36298 char *kwnames
[] = {
36299 (char *) "text", NULL
36302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36304 arg1
= wxString_in_helper(obj0
);
36305 if (arg1
== NULL
) SWIG_fail
;
36309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36310 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36336 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36337 PyObject
*resultobj
;
36338 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36340 PyObject
* obj0
= 0 ;
36341 char *kwnames
[] = {
36342 (char *) "self", NULL
36345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36347 if (SWIG_arg_fail(1)) SWIG_fail
;
36349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36352 wxPyEndAllowThreads(__tstate
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36355 resultobj
= SWIG_From_int((result
));
36362 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36363 PyObject
*resultobj
;
36364 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36366 PyObject
* obj0
= 0 ;
36367 PyObject
* obj1
= 0 ;
36368 char *kwnames
[] = {
36369 (char *) "self",(char *) "kind", NULL
36372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36374 if (SWIG_arg_fail(1)) SWIG_fail
;
36376 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36377 if (SWIG_arg_fail(2)) SWIG_fail
;
36380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36381 (arg1
)->SetKind((wxItemKind
)arg2
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 Py_INCREF(Py_None
); resultobj
= Py_None
;
36393 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
;
36395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 char *kwnames
[] = {
36400 (char *) "self",(char *) "checkable", NULL
36403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36405 if (SWIG_arg_fail(1)) SWIG_fail
;
36407 arg2
= (bool)(SWIG_As_bool(obj1
));
36408 if (SWIG_arg_fail(2)) SWIG_fail
;
36411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36412 (arg1
)->SetCheckable(arg2
);
36414 wxPyEndAllowThreads(__tstate
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36417 Py_INCREF(Py_None
); resultobj
= Py_None
;
36424 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
;
36426 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36428 PyObject
* obj0
= 0 ;
36429 char *kwnames
[] = {
36430 (char *) "self", NULL
36433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36435 if (SWIG_arg_fail(1)) SWIG_fail
;
36437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36438 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36440 wxPyEndAllowThreads(__tstate
);
36441 if (PyErr_Occurred()) SWIG_fail
;
36444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36452 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
;
36454 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 char *kwnames
[] = {
36458 (char *) "self", NULL
36461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36463 if (SWIG_arg_fail(1)) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36480 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36481 PyObject
*resultobj
;
36482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36483 wxMenu
*arg2
= (wxMenu
*) 0 ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char *kwnames
[] = {
36487 (char *) "self",(char *) "menu", NULL
36490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36492 if (SWIG_arg_fail(1)) SWIG_fail
;
36493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36494 if (SWIG_arg_fail(2)) SWIG_fail
;
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 (arg1
)->SetSubMenu(arg2
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 Py_INCREF(Py_None
); resultobj
= Py_None
;
36509 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36510 PyObject
*resultobj
;
36511 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36513 PyObject
* obj0
= 0 ;
36514 char *kwnames
[] = {
36515 (char *) "self", NULL
36518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36520 if (SWIG_arg_fail(1)) SWIG_fail
;
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= wxPyMake_wxObject(result
, 0);
36537 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36540 bool arg2
= (bool) true ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 char *kwnames
[] = {
36544 (char *) "self",(char *) "enable", NULL
36547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36549 if (SWIG_arg_fail(1)) SWIG_fail
;
36552 arg2
= (bool)(SWIG_As_bool(obj1
));
36553 if (SWIG_arg_fail(2)) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 (arg1
)->Enable(arg2
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 Py_INCREF(Py_None
); resultobj
= Py_None
;
36570 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36571 PyObject
*resultobj
;
36572 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36574 PyObject
* obj0
= 0 ;
36575 char *kwnames
[] = {
36576 (char *) "self", NULL
36579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36581 if (SWIG_arg_fail(1)) SWIG_fail
;
36583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36584 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36586 wxPyEndAllowThreads(__tstate
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36598 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
;
36600 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36601 bool arg2
= (bool) true ;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36604 char *kwnames
[] = {
36605 (char *) "self",(char *) "check", NULL
36608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36610 if (SWIG_arg_fail(1)) SWIG_fail
;
36613 arg2
= (bool)(SWIG_As_bool(obj1
));
36614 if (SWIG_arg_fail(2)) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 (arg1
)->Check(arg2
);
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 Py_INCREF(Py_None
); resultobj
= Py_None
;
36631 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
;
36633 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36635 PyObject
* obj0
= 0 ;
36636 char *kwnames
[] = {
36637 (char *) "self", NULL
36640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36642 if (SWIG_arg_fail(1)) SWIG_fail
;
36644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36645 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36659 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36660 PyObject
*resultobj
;
36661 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36662 PyObject
* obj0
= 0 ;
36663 char *kwnames
[] = {
36664 (char *) "self", NULL
36667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36669 if (SWIG_arg_fail(1)) SWIG_fail
;
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 wxPyEndAllowThreads(__tstate
);
36675 if (PyErr_Occurred()) SWIG_fail
;
36677 Py_INCREF(Py_None
); resultobj
= Py_None
;
36684 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
;
36686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36687 wxString
*arg2
= 0 ;
36688 bool temp2
= false ;
36689 PyObject
* obj0
= 0 ;
36690 PyObject
* obj1
= 0 ;
36691 char *kwnames
[] = {
36692 (char *) "self",(char *) "str", NULL
36695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36697 if (SWIG_arg_fail(1)) SWIG_fail
;
36699 arg2
= wxString_in_helper(obj1
);
36700 if (arg2
== NULL
) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 (arg1
)->SetHelp((wxString
const &)*arg2
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 Py_INCREF(Py_None
); resultobj
= Py_None
;
36725 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36726 PyObject
*resultobj
;
36727 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 char *kwnames
[] = {
36731 (char *) "self", NULL
36734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36736 if (SWIG_arg_fail(1)) SWIG_fail
;
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36741 result
= (wxString
*) &_result_ref
;
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36760 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36761 PyObject
*resultobj
;
36762 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36763 wxAcceleratorEntry
*result
;
36764 PyObject
* obj0
= 0 ;
36765 char *kwnames
[] = {
36766 (char *) "self", NULL
36769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36771 if (SWIG_arg_fail(1)) SWIG_fail
;
36773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36774 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36776 wxPyEndAllowThreads(__tstate
);
36777 if (PyErr_Occurred()) SWIG_fail
;
36779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36786 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36787 PyObject
*resultobj
;
36788 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36789 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36790 PyObject
* obj0
= 0 ;
36791 PyObject
* obj1
= 0 ;
36792 char *kwnames
[] = {
36793 (char *) "self",(char *) "accel", NULL
36796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36798 if (SWIG_arg_fail(1)) SWIG_fail
;
36799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36800 if (SWIG_arg_fail(2)) SWIG_fail
;
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 (arg1
)->SetAccel(arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 Py_INCREF(Py_None
); resultobj
= Py_None
;
36815 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
;
36817 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36819 PyObject
* obj0
= 0 ;
36820 PyObject
* obj1
= 0 ;
36821 char *kwnames
[] = {
36822 (char *) "self",(char *) "font", NULL
36825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36827 if (SWIG_arg_fail(1)) SWIG_fail
;
36829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36830 if (SWIG_arg_fail(2)) SWIG_fail
;
36831 if (arg2
== NULL
) {
36832 SWIG_null_ref("wxFont");
36834 if (SWIG_arg_fail(2)) SWIG_fail
;
36837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36838 (arg1
)->SetFont((wxFont
const &)*arg2
);
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 Py_INCREF(Py_None
); resultobj
= Py_None
;
36850 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
;
36852 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 char *kwnames
[] = {
36856 (char *) "self", NULL
36859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36861 if (SWIG_arg_fail(1)) SWIG_fail
;
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 result
= (arg1
)->GetFont();
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36870 wxFont
* resultptr
;
36871 resultptr
= new wxFont((wxFont
&)(result
));
36872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36880 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36881 PyObject
*resultobj
;
36882 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36883 wxColour
*arg2
= 0 ;
36885 PyObject
* obj0
= 0 ;
36886 PyObject
* obj1
= 0 ;
36887 char *kwnames
[] = {
36888 (char *) "self",(char *) "colText", NULL
36891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36893 if (SWIG_arg_fail(1)) SWIG_fail
;
36896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36905 Py_INCREF(Py_None
); resultobj
= Py_None
;
36912 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
;
36914 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36916 PyObject
* obj0
= 0 ;
36917 char *kwnames
[] = {
36918 (char *) "self", NULL
36921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36923 if (SWIG_arg_fail(1)) SWIG_fail
;
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 result
= (arg1
)->GetTextColour();
36928 wxPyEndAllowThreads(__tstate
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36932 wxColour
* resultptr
;
36933 resultptr
= new wxColour((wxColour
&)(result
));
36934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36942 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36943 PyObject
*resultobj
;
36944 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36945 wxColour
*arg2
= 0 ;
36947 PyObject
* obj0
= 0 ;
36948 PyObject
* obj1
= 0 ;
36949 char *kwnames
[] = {
36950 (char *) "self",(char *) "colBack", NULL
36953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36955 if (SWIG_arg_fail(1)) SWIG_fail
;
36958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36964 wxPyEndAllowThreads(__tstate
);
36965 if (PyErr_Occurred()) SWIG_fail
;
36967 Py_INCREF(Py_None
); resultobj
= Py_None
;
36974 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36975 PyObject
*resultobj
;
36976 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36978 PyObject
* obj0
= 0 ;
36979 char *kwnames
[] = {
36980 (char *) "self", NULL
36983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36985 if (SWIG_arg_fail(1)) SWIG_fail
;
36987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36988 result
= (arg1
)->GetBackgroundColour();
36990 wxPyEndAllowThreads(__tstate
);
36991 if (PyErr_Occurred()) SWIG_fail
;
36994 wxColour
* resultptr
;
36995 resultptr
= new wxColour((wxColour
&)(result
));
36996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37004 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37005 PyObject
*resultobj
;
37006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37007 wxBitmap
*arg2
= 0 ;
37008 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37009 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37010 PyObject
* obj0
= 0 ;
37011 PyObject
* obj1
= 0 ;
37012 PyObject
* obj2
= 0 ;
37013 char *kwnames
[] = {
37014 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37019 if (SWIG_arg_fail(1)) SWIG_fail
;
37021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37022 if (SWIG_arg_fail(2)) SWIG_fail
;
37023 if (arg2
== NULL
) {
37024 SWIG_null_ref("wxBitmap");
37026 if (SWIG_arg_fail(2)) SWIG_fail
;
37030 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37031 if (SWIG_arg_fail(3)) SWIG_fail
;
37032 if (arg3
== NULL
) {
37033 SWIG_null_ref("wxBitmap");
37035 if (SWIG_arg_fail(3)) SWIG_fail
;
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 Py_INCREF(Py_None
); resultobj
= Py_None
;
37052 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37053 PyObject
*resultobj
;
37054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37055 wxBitmap
*arg2
= 0 ;
37056 PyObject
* obj0
= 0 ;
37057 PyObject
* obj1
= 0 ;
37058 char *kwnames
[] = {
37059 (char *) "self",(char *) "bmpDisabled", NULL
37062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37064 if (SWIG_arg_fail(1)) SWIG_fail
;
37066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37067 if (SWIG_arg_fail(2)) SWIG_fail
;
37068 if (arg2
== NULL
) {
37069 SWIG_null_ref("wxBitmap");
37071 if (SWIG_arg_fail(2)) SWIG_fail
;
37074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 Py_INCREF(Py_None
); resultobj
= Py_None
;
37087 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37088 PyObject
*resultobj
;
37089 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37091 PyObject
* obj0
= 0 ;
37092 char *kwnames
[] = {
37093 (char *) "self", NULL
37096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37098 if (SWIG_arg_fail(1)) SWIG_fail
;
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37102 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37103 result
= (wxBitmap
*) &_result_ref
;
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37110 wxBitmap
* resultptr
= new wxBitmap(*result
);
37111 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37119 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
;
37121 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37123 PyObject
* obj0
= 0 ;
37124 PyObject
* obj1
= 0 ;
37125 char *kwnames
[] = {
37126 (char *) "self",(char *) "nWidth", NULL
37129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37131 if (SWIG_arg_fail(1)) SWIG_fail
;
37133 arg2
= (int)(SWIG_As_int(obj1
));
37134 if (SWIG_arg_fail(2)) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 (arg1
)->SetMarginWidth(arg2
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 Py_INCREF(Py_None
); resultobj
= Py_None
;
37150 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37154 PyObject
* obj0
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37161 if (SWIG_arg_fail(1)) SWIG_fail
;
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 result
= (int)(arg1
)->GetMarginWidth();
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= SWIG_From_int((int)(result
));
37178 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
;
37181 char *kwnames
[] = {
37185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_From_int((int)(result
));
37202 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37203 PyObject
*resultobj
;
37204 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37206 PyObject
* obj0
= 0 ;
37207 char *kwnames
[] = {
37208 (char *) "self", NULL
37211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37213 if (SWIG_arg_fail(1)) SWIG_fail
;
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37216 result
= (bool)(arg1
)->IsOwnerDrawn();
37218 wxPyEndAllowThreads(__tstate
);
37219 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37230 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
;
37232 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37233 bool arg2
= (bool) true ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 char *kwnames
[] = {
37237 (char *) "self",(char *) "ownerDrawn", NULL
37240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37242 if (SWIG_arg_fail(1)) SWIG_fail
;
37245 arg2
= (bool)(SWIG_As_bool(obj1
));
37246 if (SWIG_arg_fail(2)) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 (arg1
)->SetOwnerDrawn(arg2
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 Py_INCREF(Py_None
); resultobj
= Py_None
;
37263 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37266 PyObject
* obj0
= 0 ;
37267 char *kwnames
[] = {
37268 (char *) "self", NULL
37271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37273 if (SWIG_arg_fail(1)) SWIG_fail
;
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 (arg1
)->ResetOwnerDrawn();
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 Py_INCREF(Py_None
); resultobj
= Py_None
;
37288 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
;
37290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37291 wxBitmap
*arg2
= 0 ;
37292 PyObject
* obj0
= 0 ;
37293 PyObject
* obj1
= 0 ;
37294 char *kwnames
[] = {
37295 (char *) "self",(char *) "bitmap", NULL
37298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37300 if (SWIG_arg_fail(1)) SWIG_fail
;
37302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37303 if (SWIG_arg_fail(2)) SWIG_fail
;
37304 if (arg2
== NULL
) {
37305 SWIG_null_ref("wxBitmap");
37307 if (SWIG_arg_fail(2)) SWIG_fail
;
37310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37311 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37316 Py_INCREF(Py_None
); resultobj
= Py_None
;
37323 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37324 PyObject
*resultobj
;
37325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37327 PyObject
* obj0
= 0 ;
37328 char *kwnames
[] = {
37329 (char *) "self", NULL
37332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37334 if (SWIG_arg_fail(1)) SWIG_fail
;
37336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37339 result
= (wxBitmap
*) &_result_ref
;
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37346 wxBitmap
* resultptr
= new wxBitmap(*result
);
37347 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37355 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37358 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37360 return Py_BuildValue((char *)"");
37362 static int _wrap_ControlNameStr_set(PyObject
*) {
37363 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37368 static PyObject
*_wrap_ControlNameStr_get(void) {
37373 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37375 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37382 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
;
37384 wxWindow
*arg1
= (wxWindow
*) 0 ;
37385 int arg2
= (int) -1 ;
37386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37390 long arg5
= (long) 0 ;
37391 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37392 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37393 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37398 bool temp7
= false ;
37399 PyObject
* obj0
= 0 ;
37400 PyObject
* obj1
= 0 ;
37401 PyObject
* obj2
= 0 ;
37402 PyObject
* obj3
= 0 ;
37403 PyObject
* obj4
= 0 ;
37404 PyObject
* obj5
= 0 ;
37405 PyObject
* obj6
= 0 ;
37406 char *kwnames
[] = {
37407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37412 if (SWIG_arg_fail(1)) SWIG_fail
;
37415 arg2
= (int)(SWIG_As_int(obj1
));
37416 if (SWIG_arg_fail(2)) SWIG_fail
;
37422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37433 arg5
= (long)(SWIG_As_long(obj4
));
37434 if (SWIG_arg_fail(5)) SWIG_fail
;
37439 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37440 if (SWIG_arg_fail(6)) SWIG_fail
;
37441 if (arg6
== NULL
) {
37442 SWIG_null_ref("wxValidator");
37444 if (SWIG_arg_fail(6)) SWIG_fail
;
37449 arg7
= wxString_in_helper(obj6
);
37450 if (arg7
== NULL
) SWIG_fail
;
37455 if (!wxPyCheckForApp()) SWIG_fail
;
37456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37457 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37477 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37478 PyObject
*resultobj
;
37480 char *kwnames
[] = {
37484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37486 if (!wxPyCheckForApp()) SWIG_fail
;
37487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37488 result
= (wxControl
*)new wxControl();
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37500 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37501 PyObject
*resultobj
;
37502 wxControl
*arg1
= (wxControl
*) 0 ;
37503 wxWindow
*arg2
= (wxWindow
*) 0 ;
37504 int arg3
= (int) -1 ;
37505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37509 long arg6
= (long) 0 ;
37510 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37511 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37512 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37513 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37517 bool temp8
= false ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 PyObject
* obj2
= 0 ;
37521 PyObject
* obj3
= 0 ;
37522 PyObject
* obj4
= 0 ;
37523 PyObject
* obj5
= 0 ;
37524 PyObject
* obj6
= 0 ;
37525 PyObject
* obj7
= 0 ;
37526 char *kwnames
[] = {
37527 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37532 if (SWIG_arg_fail(1)) SWIG_fail
;
37533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37534 if (SWIG_arg_fail(2)) SWIG_fail
;
37537 arg3
= (int)(SWIG_As_int(obj2
));
37538 if (SWIG_arg_fail(3)) SWIG_fail
;
37544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37555 arg6
= (long)(SWIG_As_long(obj5
));
37556 if (SWIG_arg_fail(6)) SWIG_fail
;
37561 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37562 if (SWIG_arg_fail(7)) SWIG_fail
;
37563 if (arg7
== NULL
) {
37564 SWIG_null_ref("wxValidator");
37566 if (SWIG_arg_fail(7)) SWIG_fail
;
37571 arg8
= wxString_in_helper(obj7
);
37572 if (arg8
== NULL
) SWIG_fail
;
37577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37600 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
;
37602 wxControl
*arg1
= (wxControl
*) 0 ;
37603 wxCommandEvent
*arg2
= 0 ;
37604 PyObject
* obj0
= 0 ;
37605 PyObject
* obj1
= 0 ;
37606 char *kwnames
[] = {
37607 (char *) "self",(char *) "event", NULL
37610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37612 if (SWIG_arg_fail(1)) SWIG_fail
;
37614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37615 if (SWIG_arg_fail(2)) SWIG_fail
;
37616 if (arg2
== NULL
) {
37617 SWIG_null_ref("wxCommandEvent");
37619 if (SWIG_arg_fail(2)) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 (arg1
)->Command(*arg2
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 Py_INCREF(Py_None
); resultobj
= Py_None
;
37635 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
;
37637 wxControl
*arg1
= (wxControl
*) 0 ;
37639 PyObject
* obj0
= 0 ;
37640 char *kwnames
[] = {
37641 (char *) "self", NULL
37644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37646 if (SWIG_arg_fail(1)) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (arg1
)->GetLabel();
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37667 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxControl
*arg1
= (wxControl
*) 0 ;
37670 wxString
*arg2
= 0 ;
37671 bool temp2
= false ;
37672 PyObject
* obj0
= 0 ;
37673 PyObject
* obj1
= 0 ;
37674 char *kwnames
[] = {
37675 (char *) "self",(char *) "label", NULL
37678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37680 if (SWIG_arg_fail(1)) SWIG_fail
;
37682 arg2
= wxString_in_helper(obj1
);
37683 if (arg2
== NULL
) SWIG_fail
;
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37688 (arg1
)->SetLabel((wxString
const &)*arg2
);
37690 wxPyEndAllowThreads(__tstate
);
37691 if (PyErr_Occurred()) SWIG_fail
;
37693 Py_INCREF(Py_None
); resultobj
= Py_None
;
37708 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37709 PyObject
*resultobj
;
37710 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37711 wxVisualAttributes result
;
37712 PyObject
* obj0
= 0 ;
37713 char *kwnames
[] = {
37714 (char *) "variant", NULL
37717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37720 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37721 if (SWIG_arg_fail(1)) SWIG_fail
;
37725 if (!wxPyCheckForApp()) SWIG_fail
;
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 wxVisualAttributes
* resultptr
;
37734 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37743 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37746 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37748 return Py_BuildValue((char *)"");
37750 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37751 PyObject
*resultobj
;
37752 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37753 wxString
*arg2
= 0 ;
37754 PyObject
*arg3
= (PyObject
*) NULL
;
37756 bool temp2
= false ;
37757 PyObject
* obj0
= 0 ;
37758 PyObject
* obj1
= 0 ;
37759 PyObject
* obj2
= 0 ;
37760 char *kwnames
[] = {
37761 (char *) "self",(char *) "item",(char *) "clientData", NULL
37764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37766 if (SWIG_arg_fail(1)) SWIG_fail
;
37768 arg2
= wxString_in_helper(obj1
);
37769 if (arg2
== NULL
) SWIG_fail
;
37776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37777 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37779 wxPyEndAllowThreads(__tstate
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37783 resultobj
= SWIG_From_int((int)(result
));
37799 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37800 PyObject
*resultobj
;
37801 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37802 wxArrayString
*arg2
= 0 ;
37803 bool temp2
= false ;
37804 PyObject
* obj0
= 0 ;
37805 PyObject
* obj1
= 0 ;
37806 char *kwnames
[] = {
37807 (char *) "self",(char *) "strings", NULL
37810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37812 if (SWIG_arg_fail(1)) SWIG_fail
;
37814 if (! PySequence_Check(obj1
)) {
37815 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37818 arg2
= new wxArrayString
;
37820 int i
, len
=PySequence_Length(obj1
);
37821 for (i
=0; i
<len
; i
++) {
37822 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37824 PyObject
* str
= PyObject_Unicode(item
);
37826 PyObject
* str
= PyObject_Str(item
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37829 arg2
->Add(Py2wxString(str
));
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 (arg1
)->Append((wxArrayString
const &)*arg2
);
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37841 Py_INCREF(Py_None
); resultobj
= Py_None
;
37843 if (temp2
) delete arg2
;
37848 if (temp2
) delete arg2
;
37854 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37855 PyObject
*resultobj
;
37856 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37857 wxString
*arg2
= 0 ;
37859 PyObject
*arg4
= (PyObject
*) NULL
;
37861 bool temp2
= false ;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37864 PyObject
* obj2
= 0 ;
37865 PyObject
* obj3
= 0 ;
37866 char *kwnames
[] = {
37867 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37872 if (SWIG_arg_fail(1)) SWIG_fail
;
37874 arg2
= wxString_in_helper(obj1
);
37875 if (arg2
== NULL
) SWIG_fail
;
37879 arg3
= (int)(SWIG_As_int(obj2
));
37880 if (SWIG_arg_fail(3)) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37893 resultobj
= SWIG_From_int((int)(result
));
37909 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37910 PyObject
*resultobj
;
37911 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37912 PyObject
* obj0
= 0 ;
37913 char *kwnames
[] = {
37914 (char *) "self", NULL
37917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37919 if (SWIG_arg_fail(1)) SWIG_fail
;
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 wxPyEndAllowThreads(__tstate
);
37925 if (PyErr_Occurred()) SWIG_fail
;
37927 Py_INCREF(Py_None
); resultobj
= Py_None
;
37934 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37935 PyObject
*resultobj
;
37936 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37938 PyObject
* obj0
= 0 ;
37939 PyObject
* obj1
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "self",(char *) "n", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37946 if (SWIG_arg_fail(1)) SWIG_fail
;
37948 arg2
= (int)(SWIG_As_int(obj1
));
37949 if (SWIG_arg_fail(2)) SWIG_fail
;
37952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 (arg1
)->Delete(arg2
);
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37958 Py_INCREF(Py_None
); resultobj
= Py_None
;
37965 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
;
37967 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37970 PyObject
* obj0
= 0 ;
37971 PyObject
* obj1
= 0 ;
37972 char *kwnames
[] = {
37973 (char *) "self",(char *) "n", NULL
37976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37978 if (SWIG_arg_fail(1)) SWIG_fail
;
37980 arg2
= (int)(SWIG_As_int(obj1
));
37981 if (SWIG_arg_fail(2)) SWIG_fail
;
37984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37985 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37987 wxPyEndAllowThreads(__tstate
);
37988 if (PyErr_Occurred()) SWIG_fail
;
37990 resultobj
= result
;
37997 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37998 PyObject
*resultobj
;
37999 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38001 PyObject
*arg3
= (PyObject
*) 0 ;
38002 PyObject
* obj0
= 0 ;
38003 PyObject
* obj1
= 0 ;
38004 PyObject
* obj2
= 0 ;
38005 char *kwnames
[] = {
38006 (char *) "self",(char *) "n",(char *) "clientData", NULL
38009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38011 if (SWIG_arg_fail(1)) SWIG_fail
;
38013 arg2
= (int)(SWIG_As_int(obj1
));
38014 if (SWIG_arg_fail(2)) SWIG_fail
;
38018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38019 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38024 Py_INCREF(Py_None
); resultobj
= Py_None
;
38031 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38032 PyObject
*resultobj
;
38033 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38035 PyObject
* obj0
= 0 ;
38036 char *kwnames
[] = {
38037 (char *) "self", NULL
38040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38042 if (SWIG_arg_fail(1)) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38051 resultobj
= SWIG_From_int((int)(result
));
38059 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38060 PyObject
*resultobj
;
38061 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38063 PyObject
* obj0
= 0 ;
38064 char *kwnames
[] = {
38065 (char *) "self", NULL
38068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38070 if (SWIG_arg_fail(1)) SWIG_fail
;
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38087 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38088 PyObject
*resultobj
;
38089 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38092 PyObject
* obj0
= 0 ;
38093 PyObject
* obj1
= 0 ;
38094 char *kwnames
[] = {
38095 (char *) "self",(char *) "n", NULL
38098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38100 if (SWIG_arg_fail(1)) SWIG_fail
;
38102 arg2
= (int)(SWIG_As_int(obj1
));
38103 if (SWIG_arg_fail(2)) SWIG_fail
;
38106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38107 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38125 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38126 PyObject
*resultobj
;
38127 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38128 wxArrayString result
;
38129 PyObject
* obj0
= 0 ;
38130 char *kwnames
[] = {
38131 (char *) "self", NULL
38134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38136 if (SWIG_arg_fail(1)) SWIG_fail
;
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38141 wxPyEndAllowThreads(__tstate
);
38142 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= wxArrayString2PyList_helper(result
);
38153 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
;
38155 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38157 wxString
*arg3
= 0 ;
38158 bool temp3
= false ;
38159 PyObject
* obj0
= 0 ;
38160 PyObject
* obj1
= 0 ;
38161 PyObject
* obj2
= 0 ;
38162 char *kwnames
[] = {
38163 (char *) "self",(char *) "n",(char *) "s", NULL
38166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38168 if (SWIG_arg_fail(1)) SWIG_fail
;
38170 arg2
= (int)(SWIG_As_int(obj1
));
38171 if (SWIG_arg_fail(2)) SWIG_fail
;
38174 arg3
= wxString_in_helper(obj2
);
38175 if (arg3
== NULL
) SWIG_fail
;
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38185 Py_INCREF(Py_None
); resultobj
= Py_None
;
38200 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38201 PyObject
*resultobj
;
38202 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38203 wxString
*arg2
= 0 ;
38205 bool temp2
= false ;
38206 PyObject
* obj0
= 0 ;
38207 PyObject
* obj1
= 0 ;
38208 char *kwnames
[] = {
38209 (char *) "self",(char *) "s", NULL
38212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38214 if (SWIG_arg_fail(1)) SWIG_fail
;
38216 arg2
= wxString_in_helper(obj1
);
38217 if (arg2
== NULL
) SWIG_fail
;
38221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38222 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38224 wxPyEndAllowThreads(__tstate
);
38225 if (PyErr_Occurred()) SWIG_fail
;
38228 resultobj
= SWIG_From_int((int)(result
));
38244 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
;
38246 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38248 PyObject
* obj0
= 0 ;
38249 PyObject
* obj1
= 0 ;
38250 char *kwnames
[] = {
38251 (char *) "self",(char *) "n", NULL
38254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38256 if (SWIG_arg_fail(1)) SWIG_fail
;
38258 arg2
= (int)(SWIG_As_int(obj1
));
38259 if (SWIG_arg_fail(2)) SWIG_fail
;
38262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38263 (arg1
)->SetSelection(arg2
);
38265 wxPyEndAllowThreads(__tstate
);
38266 if (PyErr_Occurred()) SWIG_fail
;
38268 Py_INCREF(Py_None
); resultobj
= Py_None
;
38275 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38276 PyObject
*resultobj
;
38277 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38279 PyObject
* obj0
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38286 if (SWIG_arg_fail(1)) SWIG_fail
;
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= SWIG_From_int((int)(result
));
38303 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
;
38305 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38306 wxString
*arg2
= 0 ;
38308 bool temp2
= false ;
38309 PyObject
* obj0
= 0 ;
38310 PyObject
* obj1
= 0 ;
38311 char *kwnames
[] = {
38312 (char *) "self",(char *) "s", NULL
38315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38317 if (SWIG_arg_fail(1)) SWIG_fail
;
38319 arg2
= wxString_in_helper(obj1
);
38320 if (arg2
== NULL
) SWIG_fail
;
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38347 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38348 PyObject
*resultobj
;
38349 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38351 PyObject
* obj0
= 0 ;
38352 char *kwnames
[] = {
38353 (char *) "self", NULL
38356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38358 if (SWIG_arg_fail(1)) SWIG_fail
;
38360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38361 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38363 wxPyEndAllowThreads(__tstate
);
38364 if (PyErr_Occurred()) SWIG_fail
;
38368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38379 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38380 PyObject
*resultobj
;
38381 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38383 PyObject
* obj0
= 0 ;
38384 PyObject
* obj1
= 0 ;
38385 char *kwnames
[] = {
38386 (char *) "self",(char *) "n", NULL
38389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38391 if (SWIG_arg_fail(1)) SWIG_fail
;
38393 arg2
= (int)(SWIG_As_int(obj1
));
38394 if (SWIG_arg_fail(2)) SWIG_fail
;
38397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38398 (arg1
)->Select(arg2
);
38400 wxPyEndAllowThreads(__tstate
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38403 Py_INCREF(Py_None
); resultobj
= Py_None
;
38410 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38413 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38415 return Py_BuildValue((char *)"");
38417 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38420 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38422 return Py_BuildValue((char *)"");
38424 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38425 PyObject
*resultobj
;
38426 wxSizerItem
*result
;
38427 char *kwnames
[] = {
38431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 result
= (wxSizerItem
*)new wxSizerItem();
38436 wxPyEndAllowThreads(__tstate
);
38437 if (PyErr_Occurred()) SWIG_fail
;
38439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38446 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38447 PyObject
*resultobj
;
38448 wxWindow
*arg1
= (wxWindow
*) 0 ;
38452 PyObject
*arg5
= (PyObject
*) NULL
;
38453 wxSizerItem
*result
;
38454 PyObject
* obj0
= 0 ;
38455 PyObject
* obj1
= 0 ;
38456 PyObject
* obj2
= 0 ;
38457 PyObject
* obj3
= 0 ;
38458 PyObject
* obj4
= 0 ;
38459 char *kwnames
[] = {
38460 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38465 if (SWIG_arg_fail(1)) SWIG_fail
;
38467 arg2
= (int)(SWIG_As_int(obj1
));
38468 if (SWIG_arg_fail(2)) SWIG_fail
;
38471 arg3
= (int)(SWIG_As_int(obj2
));
38472 if (SWIG_arg_fail(3)) SWIG_fail
;
38475 arg4
= (int)(SWIG_As_int(obj3
));
38476 if (SWIG_arg_fail(4)) SWIG_fail
;
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38495 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38496 PyObject
*resultobj
;
38502 PyObject
*arg6
= (PyObject
*) NULL
;
38503 wxSizerItem
*result
;
38504 PyObject
* obj0
= 0 ;
38505 PyObject
* obj1
= 0 ;
38506 PyObject
* obj2
= 0 ;
38507 PyObject
* obj3
= 0 ;
38508 PyObject
* obj4
= 0 ;
38509 PyObject
* obj5
= 0 ;
38510 char *kwnames
[] = {
38511 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38516 arg1
= (int)(SWIG_As_int(obj0
));
38517 if (SWIG_arg_fail(1)) SWIG_fail
;
38520 arg2
= (int)(SWIG_As_int(obj1
));
38521 if (SWIG_arg_fail(2)) SWIG_fail
;
38524 arg3
= (int)(SWIG_As_int(obj2
));
38525 if (SWIG_arg_fail(3)) SWIG_fail
;
38528 arg4
= (int)(SWIG_As_int(obj3
));
38529 if (SWIG_arg_fail(4)) SWIG_fail
;
38532 arg5
= (int)(SWIG_As_int(obj4
));
38533 if (SWIG_arg_fail(5)) SWIG_fail
;
38539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38540 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38552 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
;
38554 wxSizer
*arg1
= (wxSizer
*) 0 ;
38558 PyObject
*arg5
= (PyObject
*) NULL
;
38559 wxSizerItem
*result
;
38560 PyObject
* obj0
= 0 ;
38561 PyObject
* obj1
= 0 ;
38562 PyObject
* obj2
= 0 ;
38563 PyObject
* obj3
= 0 ;
38564 PyObject
* obj4
= 0 ;
38565 char *kwnames
[] = {
38566 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38571 if (SWIG_arg_fail(1)) SWIG_fail
;
38573 arg2
= (int)(SWIG_As_int(obj1
));
38574 if (SWIG_arg_fail(2)) SWIG_fail
;
38577 arg3
= (int)(SWIG_As_int(obj2
));
38578 if (SWIG_arg_fail(3)) SWIG_fail
;
38581 arg4
= (int)(SWIG_As_int(obj3
));
38582 if (SWIG_arg_fail(4)) SWIG_fail
;
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38601 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
;
38603 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38604 PyObject
* obj0
= 0 ;
38605 char *kwnames
[] = {
38606 (char *) "self", NULL
38609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38611 if (SWIG_arg_fail(1)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 (arg1
)->DeleteWindows();
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 Py_INCREF(Py_None
); resultobj
= Py_None
;
38626 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38627 PyObject
*resultobj
;
38628 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38629 PyObject
* obj0
= 0 ;
38630 char *kwnames
[] = {
38631 (char *) "self", NULL
38634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38636 if (SWIG_arg_fail(1)) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 (arg1
)->DetachSizer();
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38644 Py_INCREF(Py_None
); resultobj
= Py_None
;
38651 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38652 PyObject
*resultobj
;
38653 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38655 PyObject
* obj0
= 0 ;
38656 char *kwnames
[] = {
38657 (char *) "self", NULL
38660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38662 if (SWIG_arg_fail(1)) SWIG_fail
;
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 result
= (arg1
)->GetSize();
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38671 wxSize
* resultptr
;
38672 resultptr
= new wxSize((wxSize
&)(result
));
38673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38681 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38682 PyObject
*resultobj
;
38683 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38685 PyObject
* obj0
= 0 ;
38686 char *kwnames
[] = {
38687 (char *) "self", NULL
38690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38692 if (SWIG_arg_fail(1)) SWIG_fail
;
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38695 result
= (arg1
)->CalcMin();
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38701 wxSize
* resultptr
;
38702 resultptr
= new wxSize((wxSize
&)(result
));
38703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38711 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38712 PyObject
*resultobj
;
38713 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38718 PyObject
* obj2
= 0 ;
38719 char *kwnames
[] = {
38720 (char *) "self",(char *) "pos",(char *) "size", NULL
38723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38725 if (SWIG_arg_fail(1)) SWIG_fail
;
38728 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38729 if (SWIG_arg_fail(2)) SWIG_fail
;
38730 if (argp
== NULL
) {
38731 SWIG_null_ref("wxPoint");
38733 if (SWIG_arg_fail(2)) SWIG_fail
;
38738 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38739 if (SWIG_arg_fail(3)) SWIG_fail
;
38740 if (argp
== NULL
) {
38741 SWIG_null_ref("wxSize");
38743 if (SWIG_arg_fail(3)) SWIG_fail
;
38747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38748 (arg1
)->SetDimension(arg2
,arg3
);
38750 wxPyEndAllowThreads(__tstate
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38753 Py_INCREF(Py_None
); resultobj
= Py_None
;
38760 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38761 PyObject
*resultobj
;
38762 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38764 PyObject
* obj0
= 0 ;
38765 char *kwnames
[] = {
38766 (char *) "self", NULL
38769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38771 if (SWIG_arg_fail(1)) SWIG_fail
;
38773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38774 result
= (arg1
)->GetMinSize();
38776 wxPyEndAllowThreads(__tstate
);
38777 if (PyErr_Occurred()) SWIG_fail
;
38780 wxSize
* resultptr
;
38781 resultptr
= new wxSize((wxSize
&)(result
));
38782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38790 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
;
38792 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38794 PyObject
* obj0
= 0 ;
38795 char *kwnames
[] = {
38796 (char *) "self", NULL
38799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38801 if (SWIG_arg_fail(1)) SWIG_fail
;
38803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38804 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38806 wxPyEndAllowThreads(__tstate
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38810 wxSize
* resultptr
;
38811 resultptr
= new wxSize((wxSize
&)(result
));
38812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38820 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
;
38822 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38825 PyObject
* obj0
= 0 ;
38826 PyObject
* obj1
= 0 ;
38827 PyObject
* obj2
= 0 ;
38828 char *kwnames
[] = {
38829 (char *) "self",(char *) "x",(char *) "y", NULL
38832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38834 if (SWIG_arg_fail(1)) SWIG_fail
;
38836 arg2
= (int)(SWIG_As_int(obj1
));
38837 if (SWIG_arg_fail(2)) SWIG_fail
;
38840 arg3
= (int)(SWIG_As_int(obj2
));
38841 if (SWIG_arg_fail(3)) SWIG_fail
;
38844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38845 (arg1
)->SetInitSize(arg2
,arg3
);
38847 wxPyEndAllowThreads(__tstate
);
38848 if (PyErr_Occurred()) SWIG_fail
;
38850 Py_INCREF(Py_None
); resultobj
= Py_None
;
38857 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38858 PyObject
*resultobj
;
38859 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38862 PyObject
* obj0
= 0 ;
38863 PyObject
* obj1
= 0 ;
38864 PyObject
* obj2
= 0 ;
38865 char *kwnames
[] = {
38866 (char *) "self",(char *) "width",(char *) "height", NULL
38869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38871 if (SWIG_arg_fail(1)) SWIG_fail
;
38873 arg2
= (int)(SWIG_As_int(obj1
));
38874 if (SWIG_arg_fail(2)) SWIG_fail
;
38877 arg3
= (int)(SWIG_As_int(obj2
));
38878 if (SWIG_arg_fail(3)) SWIG_fail
;
38881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38882 (arg1
)->SetRatio(arg2
,arg3
);
38884 wxPyEndAllowThreads(__tstate
);
38885 if (PyErr_Occurred()) SWIG_fail
;
38887 Py_INCREF(Py_None
); resultobj
= Py_None
;
38894 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
;
38896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38899 PyObject
* obj0
= 0 ;
38900 PyObject
* obj1
= 0 ;
38901 char *kwnames
[] = {
38902 (char *) "self",(char *) "size", NULL
38905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38907 if (SWIG_arg_fail(1)) SWIG_fail
;
38910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38914 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38916 wxPyEndAllowThreads(__tstate
);
38917 if (PyErr_Occurred()) SWIG_fail
;
38919 Py_INCREF(Py_None
); resultobj
= Py_None
;
38926 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38927 PyObject
*resultobj
;
38928 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38930 PyObject
* obj0
= 0 ;
38931 PyObject
* obj1
= 0 ;
38932 char *kwnames
[] = {
38933 (char *) "self",(char *) "ratio", NULL
38936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38938 if (SWIG_arg_fail(1)) SWIG_fail
;
38940 arg2
= (float)(SWIG_As_float(obj1
));
38941 if (SWIG_arg_fail(2)) SWIG_fail
;
38944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38945 (arg1
)->SetRatio(arg2
);
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38950 Py_INCREF(Py_None
); resultobj
= Py_None
;
38957 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
;
38959 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38961 PyObject
* obj0
= 0 ;
38962 char *kwnames
[] = {
38963 (char *) "self", NULL
38966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38968 if (SWIG_arg_fail(1)) SWIG_fail
;
38970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38971 result
= (float)(arg1
)->GetRatio();
38973 wxPyEndAllowThreads(__tstate
);
38974 if (PyErr_Occurred()) SWIG_fail
;
38977 resultobj
= SWIG_From_float((float)(result
));
38985 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38986 PyObject
*resultobj
;
38987 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38989 PyObject
* obj0
= 0 ;
38990 char *kwnames
[] = {
38991 (char *) "self", NULL
38994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38996 if (SWIG_arg_fail(1)) SWIG_fail
;
38998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38999 result
= (arg1
)->GetRect();
39001 wxPyEndAllowThreads(__tstate
);
39002 if (PyErr_Occurred()) SWIG_fail
;
39005 wxRect
* resultptr
;
39006 resultptr
= new wxRect((wxRect
&)(result
));
39007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39015 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39016 PyObject
*resultobj
;
39017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39019 PyObject
* obj0
= 0 ;
39020 char *kwnames
[] = {
39021 (char *) "self", NULL
39024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39026 if (SWIG_arg_fail(1)) SWIG_fail
;
39028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39029 result
= (bool)(arg1
)->IsWindow();
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39043 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39044 PyObject
*resultobj
;
39045 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39047 PyObject
* obj0
= 0 ;
39048 char *kwnames
[] = {
39049 (char *) "self", NULL
39052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39054 if (SWIG_arg_fail(1)) SWIG_fail
;
39056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39057 result
= (bool)(arg1
)->IsSizer();
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39071 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39072 PyObject
*resultobj
;
39073 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39075 PyObject
* obj0
= 0 ;
39076 char *kwnames
[] = {
39077 (char *) "self", NULL
39080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39082 if (SWIG_arg_fail(1)) SWIG_fail
;
39084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39085 result
= (bool)(arg1
)->IsSpacer();
39087 wxPyEndAllowThreads(__tstate
);
39088 if (PyErr_Occurred()) SWIG_fail
;
39091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39099 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
;
39101 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39103 PyObject
* obj0
= 0 ;
39104 PyObject
* obj1
= 0 ;
39105 char *kwnames
[] = {
39106 (char *) "self",(char *) "proportion", NULL
39109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39111 if (SWIG_arg_fail(1)) SWIG_fail
;
39113 arg2
= (int)(SWIG_As_int(obj1
));
39114 if (SWIG_arg_fail(2)) SWIG_fail
;
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 (arg1
)->SetProportion(arg2
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 Py_INCREF(Py_None
); resultobj
= Py_None
;
39130 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
;
39132 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39134 PyObject
* obj0
= 0 ;
39135 char *kwnames
[] = {
39136 (char *) "self", NULL
39139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39141 if (SWIG_arg_fail(1)) SWIG_fail
;
39143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39144 result
= (int)(arg1
)->GetProportion();
39146 wxPyEndAllowThreads(__tstate
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39150 resultobj
= SWIG_From_int((int)(result
));
39158 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39159 PyObject
*resultobj
;
39160 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39162 PyObject
* obj0
= 0 ;
39163 PyObject
* obj1
= 0 ;
39164 char *kwnames
[] = {
39165 (char *) "self",(char *) "flag", NULL
39168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39170 if (SWIG_arg_fail(1)) SWIG_fail
;
39172 arg2
= (int)(SWIG_As_int(obj1
));
39173 if (SWIG_arg_fail(2)) SWIG_fail
;
39176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39177 (arg1
)->SetFlag(arg2
);
39179 wxPyEndAllowThreads(__tstate
);
39180 if (PyErr_Occurred()) SWIG_fail
;
39182 Py_INCREF(Py_None
); resultobj
= Py_None
;
39189 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39190 PyObject
*resultobj
;
39191 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39193 PyObject
* obj0
= 0 ;
39194 char *kwnames
[] = {
39195 (char *) "self", NULL
39198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39200 if (SWIG_arg_fail(1)) SWIG_fail
;
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 result
= (int)(arg1
)->GetFlag();
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39209 resultobj
= SWIG_From_int((int)(result
));
39217 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
;
39219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39221 PyObject
* obj0
= 0 ;
39222 PyObject
* obj1
= 0 ;
39223 char *kwnames
[] = {
39224 (char *) "self",(char *) "border", NULL
39227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39229 if (SWIG_arg_fail(1)) SWIG_fail
;
39231 arg2
= (int)(SWIG_As_int(obj1
));
39232 if (SWIG_arg_fail(2)) SWIG_fail
;
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 (arg1
)->SetBorder(arg2
);
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39241 Py_INCREF(Py_None
); resultobj
= Py_None
;
39248 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39249 PyObject
*resultobj
;
39250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39252 PyObject
* obj0
= 0 ;
39253 char *kwnames
[] = {
39254 (char *) "self", NULL
39257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39259 if (SWIG_arg_fail(1)) SWIG_fail
;
39261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39262 result
= (int)(arg1
)->GetBorder();
39264 wxPyEndAllowThreads(__tstate
);
39265 if (PyErr_Occurred()) SWIG_fail
;
39268 resultobj
= SWIG_From_int((int)(result
));
39276 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39277 PyObject
*resultobj
;
39278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39280 PyObject
* obj0
= 0 ;
39281 char *kwnames
[] = {
39282 (char *) "self", NULL
39285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39287 if (SWIG_arg_fail(1)) SWIG_fail
;
39289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39290 result
= (wxWindow
*)(arg1
)->GetWindow();
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39296 resultobj
= wxPyMake_wxObject(result
, 0);
39304 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39305 PyObject
*resultobj
;
39306 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39307 wxWindow
*arg2
= (wxWindow
*) 0 ;
39308 PyObject
* obj0
= 0 ;
39309 PyObject
* obj1
= 0 ;
39310 char *kwnames
[] = {
39311 (char *) "self",(char *) "window", NULL
39314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39316 if (SWIG_arg_fail(1)) SWIG_fail
;
39317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39318 if (SWIG_arg_fail(2)) SWIG_fail
;
39320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39321 (arg1
)->SetWindow(arg2
);
39323 wxPyEndAllowThreads(__tstate
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39326 Py_INCREF(Py_None
); resultobj
= Py_None
;
39333 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39334 PyObject
*resultobj
;
39335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39337 PyObject
* obj0
= 0 ;
39338 char *kwnames
[] = {
39339 (char *) "self", NULL
39342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39344 if (SWIG_arg_fail(1)) SWIG_fail
;
39346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39347 result
= (wxSizer
*)(arg1
)->GetSizer();
39349 wxPyEndAllowThreads(__tstate
);
39350 if (PyErr_Occurred()) SWIG_fail
;
39353 resultobj
= wxPyMake_wxSizer(result
, 0);
39361 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39362 PyObject
*resultobj
;
39363 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39364 wxSizer
*arg2
= (wxSizer
*) 0 ;
39365 PyObject
* obj0
= 0 ;
39366 PyObject
* obj1
= 0 ;
39367 char *kwnames
[] = {
39368 (char *) "self",(char *) "sizer", NULL
39371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39373 if (SWIG_arg_fail(1)) SWIG_fail
;
39374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39375 if (SWIG_arg_fail(2)) SWIG_fail
;
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 (arg1
)->SetSizer(arg2
);
39380 wxPyEndAllowThreads(__tstate
);
39381 if (PyErr_Occurred()) SWIG_fail
;
39383 Py_INCREF(Py_None
); resultobj
= Py_None
;
39390 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39391 PyObject
*resultobj
;
39392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39394 PyObject
* obj0
= 0 ;
39395 char *kwnames
[] = {
39396 (char *) "self", NULL
39399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39401 if (SWIG_arg_fail(1)) SWIG_fail
;
39403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39406 result
= (wxSize
*) &_result_ref
;
39409 wxPyEndAllowThreads(__tstate
);
39410 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39419 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39420 PyObject
*resultobj
;
39421 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39424 PyObject
* obj0
= 0 ;
39425 PyObject
* obj1
= 0 ;
39426 char *kwnames
[] = {
39427 (char *) "self",(char *) "size", NULL
39430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39432 if (SWIG_arg_fail(1)) SWIG_fail
;
39435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39439 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39444 Py_INCREF(Py_None
); resultobj
= Py_None
;
39451 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39452 PyObject
*resultobj
;
39453 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39455 PyObject
* obj0
= 0 ;
39456 PyObject
* obj1
= 0 ;
39457 char *kwnames
[] = {
39458 (char *) "self",(char *) "show", NULL
39461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39463 if (SWIG_arg_fail(1)) SWIG_fail
;
39465 arg2
= (bool)(SWIG_As_bool(obj1
));
39466 if (SWIG_arg_fail(2)) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 (arg1
)->Show(arg2
);
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39475 Py_INCREF(Py_None
); resultobj
= Py_None
;
39482 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39483 PyObject
*resultobj
;
39484 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39486 PyObject
* obj0
= 0 ;
39487 char *kwnames
[] = {
39488 (char *) "self", NULL
39491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39493 if (SWIG_arg_fail(1)) SWIG_fail
;
39495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39496 result
= (bool)(arg1
)->IsShown();
39498 wxPyEndAllowThreads(__tstate
);
39499 if (PyErr_Occurred()) SWIG_fail
;
39502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39510 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39511 PyObject
*resultobj
;
39512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39514 PyObject
* obj0
= 0 ;
39515 char *kwnames
[] = {
39516 (char *) "self", NULL
39519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39521 if (SWIG_arg_fail(1)) SWIG_fail
;
39523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39524 result
= (arg1
)->GetPosition();
39526 wxPyEndAllowThreads(__tstate
);
39527 if (PyErr_Occurred()) SWIG_fail
;
39530 wxPoint
* resultptr
;
39531 resultptr
= new wxPoint((wxPoint
&)(result
));
39532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39540 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39541 PyObject
*resultobj
;
39542 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39544 PyObject
* obj0
= 0 ;
39545 char *kwnames
[] = {
39546 (char *) "self", NULL
39549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39551 if (SWIG_arg_fail(1)) SWIG_fail
;
39553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39554 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= result
;
39566 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39569 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39571 return Py_BuildValue((char *)"");
39573 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39574 PyObject
*resultobj
;
39575 wxSizer
*arg1
= (wxSizer
*) 0 ;
39576 PyObject
*arg2
= (PyObject
*) 0 ;
39577 PyObject
* obj0
= 0 ;
39578 PyObject
* obj1
= 0 ;
39579 char *kwnames
[] = {
39580 (char *) "self",(char *) "_self", NULL
39583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39585 if (SWIG_arg_fail(1)) SWIG_fail
;
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39589 wxSizer__setOORInfo(arg1
,arg2
);
39591 wxPyEndAllowThreads(__tstate
);
39592 if (PyErr_Occurred()) SWIG_fail
;
39594 Py_INCREF(Py_None
); resultobj
= Py_None
;
39601 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39602 PyObject
*resultobj
;
39603 wxSizer
*arg1
= (wxSizer
*) 0 ;
39604 PyObject
*arg2
= (PyObject
*) 0 ;
39605 int arg3
= (int) 0 ;
39606 int arg4
= (int) 0 ;
39607 int arg5
= (int) 0 ;
39608 PyObject
*arg6
= (PyObject
*) NULL
;
39609 wxSizerItem
*result
;
39610 PyObject
* obj0
= 0 ;
39611 PyObject
* obj1
= 0 ;
39612 PyObject
* obj2
= 0 ;
39613 PyObject
* obj3
= 0 ;
39614 PyObject
* obj4
= 0 ;
39615 PyObject
* obj5
= 0 ;
39616 char *kwnames
[] = {
39617 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39622 if (SWIG_arg_fail(1)) SWIG_fail
;
39626 arg3
= (int)(SWIG_As_int(obj2
));
39627 if (SWIG_arg_fail(3)) SWIG_fail
;
39632 arg4
= (int)(SWIG_As_int(obj3
));
39633 if (SWIG_arg_fail(4)) SWIG_fail
;
39638 arg5
= (int)(SWIG_As_int(obj4
));
39639 if (SWIG_arg_fail(5)) SWIG_fail
;
39646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39647 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39649 wxPyEndAllowThreads(__tstate
);
39650 if (PyErr_Occurred()) SWIG_fail
;
39652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39659 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39660 PyObject
*resultobj
;
39661 wxSizer
*arg1
= (wxSizer
*) 0 ;
39663 PyObject
*arg3
= (PyObject
*) 0 ;
39664 int arg4
= (int) 0 ;
39665 int arg5
= (int) 0 ;
39666 int arg6
= (int) 0 ;
39667 PyObject
*arg7
= (PyObject
*) NULL
;
39668 wxSizerItem
*result
;
39669 PyObject
* obj0
= 0 ;
39670 PyObject
* obj1
= 0 ;
39671 PyObject
* obj2
= 0 ;
39672 PyObject
* obj3
= 0 ;
39673 PyObject
* obj4
= 0 ;
39674 PyObject
* obj5
= 0 ;
39675 PyObject
* obj6
= 0 ;
39676 char *kwnames
[] = {
39677 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39682 if (SWIG_arg_fail(1)) SWIG_fail
;
39684 arg2
= (int)(SWIG_As_int(obj1
));
39685 if (SWIG_arg_fail(2)) SWIG_fail
;
39690 arg4
= (int)(SWIG_As_int(obj3
));
39691 if (SWIG_arg_fail(4)) SWIG_fail
;
39696 arg5
= (int)(SWIG_As_int(obj4
));
39697 if (SWIG_arg_fail(5)) SWIG_fail
;
39702 arg6
= (int)(SWIG_As_int(obj5
));
39703 if (SWIG_arg_fail(6)) SWIG_fail
;
39710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39711 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39713 wxPyEndAllowThreads(__tstate
);
39714 if (PyErr_Occurred()) SWIG_fail
;
39716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39723 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39724 PyObject
*resultobj
;
39725 wxSizer
*arg1
= (wxSizer
*) 0 ;
39726 PyObject
*arg2
= (PyObject
*) 0 ;
39727 int arg3
= (int) 0 ;
39728 int arg4
= (int) 0 ;
39729 int arg5
= (int) 0 ;
39730 PyObject
*arg6
= (PyObject
*) NULL
;
39731 wxSizerItem
*result
;
39732 PyObject
* obj0
= 0 ;
39733 PyObject
* obj1
= 0 ;
39734 PyObject
* obj2
= 0 ;
39735 PyObject
* obj3
= 0 ;
39736 PyObject
* obj4
= 0 ;
39737 PyObject
* obj5
= 0 ;
39738 char *kwnames
[] = {
39739 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39744 if (SWIG_arg_fail(1)) SWIG_fail
;
39748 arg3
= (int)(SWIG_As_int(obj2
));
39749 if (SWIG_arg_fail(3)) SWIG_fail
;
39754 arg4
= (int)(SWIG_As_int(obj3
));
39755 if (SWIG_arg_fail(4)) SWIG_fail
;
39760 arg5
= (int)(SWIG_As_int(obj4
));
39761 if (SWIG_arg_fail(5)) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39771 wxPyEndAllowThreads(__tstate
);
39772 if (PyErr_Occurred()) SWIG_fail
;
39774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39781 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39782 PyObject
*resultobj
;
39783 wxSizer
*arg1
= (wxSizer
*) 0 ;
39784 PyObject
*arg2
= (PyObject
*) 0 ;
39786 PyObject
* obj0
= 0 ;
39787 PyObject
* obj1
= 0 ;
39788 char *kwnames
[] = {
39789 (char *) "self",(char *) "item", NULL
39792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39794 if (SWIG_arg_fail(1)) SWIG_fail
;
39797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39798 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39800 wxPyEndAllowThreads(__tstate
);
39801 if (PyErr_Occurred()) SWIG_fail
;
39804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39812 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39813 PyObject
*resultobj
;
39814 wxSizer
*arg1
= (wxSizer
*) 0 ;
39815 PyObject
*arg2
= (PyObject
*) 0 ;
39817 PyObject
* obj0
= 0 ;
39818 PyObject
* obj1
= 0 ;
39819 char *kwnames
[] = {
39820 (char *) "self",(char *) "item", NULL
39823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39825 if (SWIG_arg_fail(1)) SWIG_fail
;
39828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39843 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
;
39845 wxSizer
*arg1
= (wxSizer
*) 0 ;
39846 PyObject
*arg2
= (PyObject
*) 0 ;
39847 wxSizerItem
*result
;
39848 PyObject
* obj0
= 0 ;
39849 PyObject
* obj1
= 0 ;
39850 char *kwnames
[] = {
39851 (char *) "self",(char *) "item", NULL
39854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39856 if (SWIG_arg_fail(1)) SWIG_fail
;
39859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39860 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39862 wxPyEndAllowThreads(__tstate
);
39863 if (PyErr_Occurred()) SWIG_fail
;
39865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39872 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39873 PyObject
*resultobj
;
39874 wxSizer
*arg1
= (wxSizer
*) 0 ;
39875 PyObject
*arg2
= (PyObject
*) 0 ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 PyObject
* obj2
= 0 ;
39881 char *kwnames
[] = {
39882 (char *) "self",(char *) "item",(char *) "size", NULL
39885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39887 if (SWIG_arg_fail(1)) SWIG_fail
;
39891 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39895 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39897 wxPyEndAllowThreads(__tstate
);
39898 if (PyErr_Occurred()) SWIG_fail
;
39900 Py_INCREF(Py_None
); resultobj
= Py_None
;
39907 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39908 PyObject
*resultobj
;
39909 wxSizer
*arg1
= (wxSizer
*) 0 ;
39910 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39911 wxSizerItem
*result
;
39912 PyObject
* obj0
= 0 ;
39913 PyObject
* obj1
= 0 ;
39914 char *kwnames
[] = {
39915 (char *) "self",(char *) "item", NULL
39918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39920 if (SWIG_arg_fail(1)) SWIG_fail
;
39921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39922 if (SWIG_arg_fail(2)) SWIG_fail
;
39924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39925 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39937 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
;
39939 wxSizer
*arg1
= (wxSizer
*) 0 ;
39941 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39942 wxSizerItem
*result
;
39943 PyObject
* obj0
= 0 ;
39944 PyObject
* obj1
= 0 ;
39945 PyObject
* obj2
= 0 ;
39946 char *kwnames
[] = {
39947 (char *) "self",(char *) "index",(char *) "item", NULL
39950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39952 if (SWIG_arg_fail(1)) SWIG_fail
;
39954 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39955 if (SWIG_arg_fail(2)) SWIG_fail
;
39957 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39958 if (SWIG_arg_fail(3)) SWIG_fail
;
39960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39961 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39963 wxPyEndAllowThreads(__tstate
);
39964 if (PyErr_Occurred()) SWIG_fail
;
39966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39973 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39974 PyObject
*resultobj
;
39975 wxSizer
*arg1
= (wxSizer
*) 0 ;
39976 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39977 wxSizerItem
*result
;
39978 PyObject
* obj0
= 0 ;
39979 PyObject
* obj1
= 0 ;
39980 char *kwnames
[] = {
39981 (char *) "self",(char *) "item", NULL
39984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39986 if (SWIG_arg_fail(1)) SWIG_fail
;
39987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39988 if (SWIG_arg_fail(2)) SWIG_fail
;
39990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39991 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39993 wxPyEndAllowThreads(__tstate
);
39994 if (PyErr_Occurred()) SWIG_fail
;
39996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40003 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
;
40005 wxSizer
*arg1
= (wxSizer
*) 0 ;
40010 PyObject
* obj0
= 0 ;
40011 PyObject
* obj1
= 0 ;
40012 PyObject
* obj2
= 0 ;
40013 PyObject
* obj3
= 0 ;
40014 PyObject
* obj4
= 0 ;
40015 char *kwnames
[] = {
40016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40021 if (SWIG_arg_fail(1)) SWIG_fail
;
40023 arg2
= (int)(SWIG_As_int(obj1
));
40024 if (SWIG_arg_fail(2)) SWIG_fail
;
40027 arg3
= (int)(SWIG_As_int(obj2
));
40028 if (SWIG_arg_fail(3)) SWIG_fail
;
40031 arg4
= (int)(SWIG_As_int(obj3
));
40032 if (SWIG_arg_fail(4)) SWIG_fail
;
40035 arg5
= (int)(SWIG_As_int(obj4
));
40036 if (SWIG_arg_fail(5)) SWIG_fail
;
40039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40040 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40042 wxPyEndAllowThreads(__tstate
);
40043 if (PyErr_Occurred()) SWIG_fail
;
40045 Py_INCREF(Py_None
); resultobj
= Py_None
;
40052 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40053 PyObject
*resultobj
;
40054 wxSizer
*arg1
= (wxSizer
*) 0 ;
40057 PyObject
* obj0
= 0 ;
40058 PyObject
* obj1
= 0 ;
40059 char *kwnames
[] = {
40060 (char *) "self",(char *) "size", NULL
40063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40065 if (SWIG_arg_fail(1)) SWIG_fail
;
40068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40072 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40074 wxPyEndAllowThreads(__tstate
);
40075 if (PyErr_Occurred()) SWIG_fail
;
40077 Py_INCREF(Py_None
); resultobj
= Py_None
;
40084 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40085 PyObject
*resultobj
;
40086 wxSizer
*arg1
= (wxSizer
*) 0 ;
40088 PyObject
* obj0
= 0 ;
40089 char *kwnames
[] = {
40090 (char *) "self", NULL
40093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40095 if (SWIG_arg_fail(1)) SWIG_fail
;
40097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40098 result
= (arg1
)->GetSize();
40100 wxPyEndAllowThreads(__tstate
);
40101 if (PyErr_Occurred()) SWIG_fail
;
40104 wxSize
* resultptr
;
40105 resultptr
= new wxSize((wxSize
&)(result
));
40106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40114 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40115 PyObject
*resultobj
;
40116 wxSizer
*arg1
= (wxSizer
*) 0 ;
40118 PyObject
* obj0
= 0 ;
40119 char *kwnames
[] = {
40120 (char *) "self", NULL
40123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40125 if (SWIG_arg_fail(1)) SWIG_fail
;
40127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40128 result
= (arg1
)->GetPosition();
40130 wxPyEndAllowThreads(__tstate
);
40131 if (PyErr_Occurred()) SWIG_fail
;
40134 wxPoint
* resultptr
;
40135 resultptr
= new wxPoint((wxPoint
&)(result
));
40136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40144 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40145 PyObject
*resultobj
;
40146 wxSizer
*arg1
= (wxSizer
*) 0 ;
40148 PyObject
* obj0
= 0 ;
40149 char *kwnames
[] = {
40150 (char *) "self", NULL
40153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40155 if (SWIG_arg_fail(1)) SWIG_fail
;
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40158 result
= (arg1
)->GetMinSize();
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40164 wxSize
* resultptr
;
40165 resultptr
= new wxSize((wxSize
&)(result
));
40166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40174 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40175 PyObject
*resultobj
;
40176 wxSizer
*arg1
= (wxSizer
*) 0 ;
40177 PyObject
* obj0
= 0 ;
40178 char *kwnames
[] = {
40179 (char *) "self", NULL
40182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40184 if (SWIG_arg_fail(1)) SWIG_fail
;
40186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40187 (arg1
)->RecalcSizes();
40189 wxPyEndAllowThreads(__tstate
);
40190 if (PyErr_Occurred()) SWIG_fail
;
40192 Py_INCREF(Py_None
); resultobj
= Py_None
;
40199 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40200 PyObject
*resultobj
;
40201 wxSizer
*arg1
= (wxSizer
*) 0 ;
40203 PyObject
* obj0
= 0 ;
40204 char *kwnames
[] = {
40205 (char *) "self", NULL
40208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40210 if (SWIG_arg_fail(1)) SWIG_fail
;
40212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40213 result
= (arg1
)->CalcMin();
40215 wxPyEndAllowThreads(__tstate
);
40216 if (PyErr_Occurred()) SWIG_fail
;
40219 wxSize
* resultptr
;
40220 resultptr
= new wxSize((wxSize
&)(result
));
40221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40229 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40230 PyObject
*resultobj
;
40231 wxSizer
*arg1
= (wxSizer
*) 0 ;
40232 PyObject
* obj0
= 0 ;
40233 char *kwnames
[] = {
40234 (char *) "self", NULL
40237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40239 if (SWIG_arg_fail(1)) SWIG_fail
;
40241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 wxPyEndAllowThreads(__tstate
);
40245 if (PyErr_Occurred()) SWIG_fail
;
40247 Py_INCREF(Py_None
); resultobj
= Py_None
;
40254 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
;
40256 wxSizer
*arg1
= (wxSizer
*) 0 ;
40257 wxWindow
*arg2
= (wxWindow
*) 0 ;
40259 PyObject
* obj0
= 0 ;
40260 PyObject
* obj1
= 0 ;
40261 char *kwnames
[] = {
40262 (char *) "self",(char *) "window", NULL
40265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40267 if (SWIG_arg_fail(1)) SWIG_fail
;
40268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40269 if (SWIG_arg_fail(2)) SWIG_fail
;
40271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40272 result
= (arg1
)->Fit(arg2
);
40274 wxPyEndAllowThreads(__tstate
);
40275 if (PyErr_Occurred()) SWIG_fail
;
40278 wxSize
* resultptr
;
40279 resultptr
= new wxSize((wxSize
&)(result
));
40280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40288 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40289 PyObject
*resultobj
;
40290 wxSizer
*arg1
= (wxSizer
*) 0 ;
40291 wxWindow
*arg2
= (wxWindow
*) 0 ;
40292 PyObject
* obj0
= 0 ;
40293 PyObject
* obj1
= 0 ;
40294 char *kwnames
[] = {
40295 (char *) "self",(char *) "window", NULL
40298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40300 if (SWIG_arg_fail(1)) SWIG_fail
;
40301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40302 if (SWIG_arg_fail(2)) SWIG_fail
;
40304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40305 (arg1
)->FitInside(arg2
);
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40310 Py_INCREF(Py_None
); resultobj
= Py_None
;
40317 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40318 PyObject
*resultobj
;
40319 wxSizer
*arg1
= (wxSizer
*) 0 ;
40320 wxWindow
*arg2
= (wxWindow
*) 0 ;
40321 PyObject
* obj0
= 0 ;
40322 PyObject
* obj1
= 0 ;
40323 char *kwnames
[] = {
40324 (char *) "self",(char *) "window", NULL
40327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40329 if (SWIG_arg_fail(1)) SWIG_fail
;
40330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40331 if (SWIG_arg_fail(2)) SWIG_fail
;
40333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40334 (arg1
)->SetSizeHints(arg2
);
40336 wxPyEndAllowThreads(__tstate
);
40337 if (PyErr_Occurred()) SWIG_fail
;
40339 Py_INCREF(Py_None
); resultobj
= Py_None
;
40346 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40347 PyObject
*resultobj
;
40348 wxSizer
*arg1
= (wxSizer
*) 0 ;
40349 wxWindow
*arg2
= (wxWindow
*) 0 ;
40350 PyObject
* obj0
= 0 ;
40351 PyObject
* obj1
= 0 ;
40352 char *kwnames
[] = {
40353 (char *) "self",(char *) "window", NULL
40356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40358 if (SWIG_arg_fail(1)) SWIG_fail
;
40359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40360 if (SWIG_arg_fail(2)) SWIG_fail
;
40362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40363 (arg1
)->SetVirtualSizeHints(arg2
);
40365 wxPyEndAllowThreads(__tstate
);
40366 if (PyErr_Occurred()) SWIG_fail
;
40368 Py_INCREF(Py_None
); resultobj
= Py_None
;
40375 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40376 PyObject
*resultobj
;
40377 wxSizer
*arg1
= (wxSizer
*) 0 ;
40378 bool arg2
= (bool) false ;
40379 PyObject
* obj0
= 0 ;
40380 PyObject
* obj1
= 0 ;
40381 char *kwnames
[] = {
40382 (char *) "self",(char *) "deleteWindows", NULL
40385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40387 if (SWIG_arg_fail(1)) SWIG_fail
;
40390 arg2
= (bool)(SWIG_As_bool(obj1
));
40391 if (SWIG_arg_fail(2)) SWIG_fail
;
40395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 (arg1
)->Clear(arg2
);
40398 wxPyEndAllowThreads(__tstate
);
40399 if (PyErr_Occurred()) SWIG_fail
;
40401 Py_INCREF(Py_None
); resultobj
= Py_None
;
40408 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40409 PyObject
*resultobj
;
40410 wxSizer
*arg1
= (wxSizer
*) 0 ;
40411 PyObject
* obj0
= 0 ;
40412 char *kwnames
[] = {
40413 (char *) "self", NULL
40416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40418 if (SWIG_arg_fail(1)) SWIG_fail
;
40420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40421 (arg1
)->DeleteWindows();
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40426 Py_INCREF(Py_None
); resultobj
= Py_None
;
40433 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40434 PyObject
*resultobj
;
40435 wxSizer
*arg1
= (wxSizer
*) 0 ;
40437 PyObject
* obj0
= 0 ;
40438 char *kwnames
[] = {
40439 (char *) "self", NULL
40442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40444 if (SWIG_arg_fail(1)) SWIG_fail
;
40446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40447 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40449 wxPyEndAllowThreads(__tstate
);
40450 if (PyErr_Occurred()) SWIG_fail
;
40452 resultobj
= result
;
40459 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40460 PyObject
*resultobj
;
40461 wxSizer
*arg1
= (wxSizer
*) 0 ;
40462 PyObject
*arg2
= (PyObject
*) 0 ;
40463 bool arg3
= (bool) true ;
40464 bool arg4
= (bool) false ;
40466 PyObject
* obj0
= 0 ;
40467 PyObject
* obj1
= 0 ;
40468 PyObject
* obj2
= 0 ;
40469 PyObject
* obj3
= 0 ;
40470 char *kwnames
[] = {
40471 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40476 if (SWIG_arg_fail(1)) SWIG_fail
;
40480 arg3
= (bool)(SWIG_As_bool(obj2
));
40481 if (SWIG_arg_fail(3)) SWIG_fail
;
40486 arg4
= (bool)(SWIG_As_bool(obj3
));
40487 if (SWIG_arg_fail(4)) SWIG_fail
;
40491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40492 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40494 wxPyEndAllowThreads(__tstate
);
40495 if (PyErr_Occurred()) SWIG_fail
;
40498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40506 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40507 PyObject
*resultobj
;
40508 wxSizer
*arg1
= (wxSizer
*) 0 ;
40509 PyObject
*arg2
= (PyObject
*) 0 ;
40511 PyObject
* obj0
= 0 ;
40512 PyObject
* obj1
= 0 ;
40513 char *kwnames
[] = {
40514 (char *) "self",(char *) "item", NULL
40517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40519 if (SWIG_arg_fail(1)) SWIG_fail
;
40522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40523 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40525 wxPyEndAllowThreads(__tstate
);
40526 if (PyErr_Occurred()) SWIG_fail
;
40529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40537 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40538 PyObject
*resultobj
;
40539 wxSizer
*arg1
= (wxSizer
*) 0 ;
40541 PyObject
* obj0
= 0 ;
40542 PyObject
* obj1
= 0 ;
40543 char *kwnames
[] = {
40544 (char *) "self",(char *) "show", NULL
40547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40549 if (SWIG_arg_fail(1)) SWIG_fail
;
40551 arg2
= (bool)(SWIG_As_bool(obj1
));
40552 if (SWIG_arg_fail(2)) SWIG_fail
;
40555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40556 (arg1
)->ShowItems(arg2
);
40558 wxPyEndAllowThreads(__tstate
);
40559 if (PyErr_Occurred()) SWIG_fail
;
40561 Py_INCREF(Py_None
); resultobj
= Py_None
;
40568 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40571 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40573 return Py_BuildValue((char *)"");
40575 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40576 PyObject
*resultobj
;
40578 char *kwnames
[] = {
40582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (wxPySizer
*)new wxPySizer();
40587 wxPyEndAllowThreads(__tstate
);
40588 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40597 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40598 PyObject
*resultobj
;
40599 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40600 PyObject
*arg2
= (PyObject
*) 0 ;
40601 PyObject
*arg3
= (PyObject
*) 0 ;
40602 PyObject
* obj0
= 0 ;
40603 PyObject
* obj1
= 0 ;
40604 PyObject
* obj2
= 0 ;
40605 char *kwnames
[] = {
40606 (char *) "self",(char *) "self",(char *) "_class", NULL
40609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40611 if (SWIG_arg_fail(1)) SWIG_fail
;
40615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40616 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40618 wxPyEndAllowThreads(__tstate
);
40619 if (PyErr_Occurred()) SWIG_fail
;
40621 Py_INCREF(Py_None
); resultobj
= Py_None
;
40628 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40631 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40633 return Py_BuildValue((char *)"");
40635 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
;
40637 int arg1
= (int) wxHORIZONTAL
;
40638 wxBoxSizer
*result
;
40639 PyObject
* obj0
= 0 ;
40640 char *kwnames
[] = {
40641 (char *) "orient", NULL
40644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40647 arg1
= (int)(SWIG_As_int(obj0
));
40648 if (SWIG_arg_fail(1)) SWIG_fail
;
40652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40653 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40655 wxPyEndAllowThreads(__tstate
);
40656 if (PyErr_Occurred()) SWIG_fail
;
40658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40665 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40666 PyObject
*resultobj
;
40667 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40669 PyObject
* obj0
= 0 ;
40670 char *kwnames
[] = {
40671 (char *) "self", NULL
40674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40676 if (SWIG_arg_fail(1)) SWIG_fail
;
40678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40679 result
= (int)(arg1
)->GetOrientation();
40681 wxPyEndAllowThreads(__tstate
);
40682 if (PyErr_Occurred()) SWIG_fail
;
40685 resultobj
= SWIG_From_int((int)(result
));
40693 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40694 PyObject
*resultobj
;
40695 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40697 PyObject
* obj0
= 0 ;
40698 PyObject
* obj1
= 0 ;
40699 char *kwnames
[] = {
40700 (char *) "self",(char *) "orient", NULL
40703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40705 if (SWIG_arg_fail(1)) SWIG_fail
;
40707 arg2
= (int)(SWIG_As_int(obj1
));
40708 if (SWIG_arg_fail(2)) SWIG_fail
;
40711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40712 (arg1
)->SetOrientation(arg2
);
40714 wxPyEndAllowThreads(__tstate
);
40715 if (PyErr_Occurred()) SWIG_fail
;
40717 Py_INCREF(Py_None
); resultobj
= Py_None
;
40724 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40727 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40729 return Py_BuildValue((char *)"");
40731 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40732 PyObject
*resultobj
;
40733 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40734 int arg2
= (int) wxHORIZONTAL
;
40735 wxStaticBoxSizer
*result
;
40736 PyObject
* obj0
= 0 ;
40737 PyObject
* obj1
= 0 ;
40738 char *kwnames
[] = {
40739 (char *) "box",(char *) "orient", NULL
40742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40744 if (SWIG_arg_fail(1)) SWIG_fail
;
40747 arg2
= (int)(SWIG_As_int(obj1
));
40748 if (SWIG_arg_fail(2)) SWIG_fail
;
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40765 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40766 PyObject
*resultobj
;
40767 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40768 wxStaticBox
*result
;
40769 PyObject
* obj0
= 0 ;
40770 char *kwnames
[] = {
40771 (char *) "self", NULL
40774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40776 if (SWIG_arg_fail(1)) SWIG_fail
;
40778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40779 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40781 wxPyEndAllowThreads(__tstate
);
40782 if (PyErr_Occurred()) SWIG_fail
;
40785 resultobj
= wxPyMake_wxObject(result
, 0);
40793 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40796 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40798 return Py_BuildValue((char *)"");
40800 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40801 PyObject
*resultobj
;
40802 int arg1
= (int) 1 ;
40803 int arg2
= (int) 0 ;
40804 int arg3
= (int) 0 ;
40805 int arg4
= (int) 0 ;
40806 wxGridSizer
*result
;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 PyObject
* obj2
= 0 ;
40810 PyObject
* obj3
= 0 ;
40811 char *kwnames
[] = {
40812 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40818 arg1
= (int)(SWIG_As_int(obj0
));
40819 if (SWIG_arg_fail(1)) SWIG_fail
;
40824 arg2
= (int)(SWIG_As_int(obj1
));
40825 if (SWIG_arg_fail(2)) SWIG_fail
;
40830 arg3
= (int)(SWIG_As_int(obj2
));
40831 if (SWIG_arg_fail(3)) SWIG_fail
;
40836 arg4
= (int)(SWIG_As_int(obj3
));
40837 if (SWIG_arg_fail(4)) SWIG_fail
;
40841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40842 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40854 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40855 PyObject
*resultobj
;
40856 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40858 PyObject
* obj0
= 0 ;
40859 PyObject
* obj1
= 0 ;
40860 char *kwnames
[] = {
40861 (char *) "self",(char *) "cols", NULL
40864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40866 if (SWIG_arg_fail(1)) SWIG_fail
;
40868 arg2
= (int)(SWIG_As_int(obj1
));
40869 if (SWIG_arg_fail(2)) SWIG_fail
;
40872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40873 (arg1
)->SetCols(arg2
);
40875 wxPyEndAllowThreads(__tstate
);
40876 if (PyErr_Occurred()) SWIG_fail
;
40878 Py_INCREF(Py_None
); resultobj
= Py_None
;
40885 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40886 PyObject
*resultobj
;
40887 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40889 PyObject
* obj0
= 0 ;
40890 PyObject
* obj1
= 0 ;
40891 char *kwnames
[] = {
40892 (char *) "self",(char *) "rows", NULL
40895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40897 if (SWIG_arg_fail(1)) SWIG_fail
;
40899 arg2
= (int)(SWIG_As_int(obj1
));
40900 if (SWIG_arg_fail(2)) SWIG_fail
;
40903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40904 (arg1
)->SetRows(arg2
);
40906 wxPyEndAllowThreads(__tstate
);
40907 if (PyErr_Occurred()) SWIG_fail
;
40909 Py_INCREF(Py_None
); resultobj
= Py_None
;
40916 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40917 PyObject
*resultobj
;
40918 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40920 PyObject
* obj0
= 0 ;
40921 PyObject
* obj1
= 0 ;
40922 char *kwnames
[] = {
40923 (char *) "self",(char *) "gap", NULL
40926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40928 if (SWIG_arg_fail(1)) SWIG_fail
;
40930 arg2
= (int)(SWIG_As_int(obj1
));
40931 if (SWIG_arg_fail(2)) SWIG_fail
;
40934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40935 (arg1
)->SetVGap(arg2
);
40937 wxPyEndAllowThreads(__tstate
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40940 Py_INCREF(Py_None
); resultobj
= Py_None
;
40947 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40948 PyObject
*resultobj
;
40949 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40951 PyObject
* obj0
= 0 ;
40952 PyObject
* obj1
= 0 ;
40953 char *kwnames
[] = {
40954 (char *) "self",(char *) "gap", NULL
40957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40959 if (SWIG_arg_fail(1)) SWIG_fail
;
40961 arg2
= (int)(SWIG_As_int(obj1
));
40962 if (SWIG_arg_fail(2)) SWIG_fail
;
40965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40966 (arg1
)->SetHGap(arg2
);
40968 wxPyEndAllowThreads(__tstate
);
40969 if (PyErr_Occurred()) SWIG_fail
;
40971 Py_INCREF(Py_None
); resultobj
= Py_None
;
40978 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40979 PyObject
*resultobj
;
40980 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40982 PyObject
* obj0
= 0 ;
40983 char *kwnames
[] = {
40984 (char *) "self", NULL
40987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40989 if (SWIG_arg_fail(1)) SWIG_fail
;
40991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40992 result
= (int)(arg1
)->GetCols();
40994 wxPyEndAllowThreads(__tstate
);
40995 if (PyErr_Occurred()) SWIG_fail
;
40998 resultobj
= SWIG_From_int((int)(result
));
41006 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41007 PyObject
*resultobj
;
41008 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41010 PyObject
* obj0
= 0 ;
41011 char *kwnames
[] = {
41012 (char *) "self", NULL
41015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41017 if (SWIG_arg_fail(1)) SWIG_fail
;
41019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41020 result
= (int)(arg1
)->GetRows();
41022 wxPyEndAllowThreads(__tstate
);
41023 if (PyErr_Occurred()) SWIG_fail
;
41026 resultobj
= SWIG_From_int((int)(result
));
41034 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41035 PyObject
*resultobj
;
41036 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41038 PyObject
* obj0
= 0 ;
41039 char *kwnames
[] = {
41040 (char *) "self", NULL
41043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41045 if (SWIG_arg_fail(1)) SWIG_fail
;
41047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41048 result
= (int)(arg1
)->GetVGap();
41050 wxPyEndAllowThreads(__tstate
);
41051 if (PyErr_Occurred()) SWIG_fail
;
41054 resultobj
= SWIG_From_int((int)(result
));
41062 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41063 PyObject
*resultobj
;
41064 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41066 PyObject
* obj0
= 0 ;
41067 char *kwnames
[] = {
41068 (char *) "self", NULL
41071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41073 if (SWIG_arg_fail(1)) SWIG_fail
;
41075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41076 result
= (int)(arg1
)->GetHGap();
41078 wxPyEndAllowThreads(__tstate
);
41079 if (PyErr_Occurred()) SWIG_fail
;
41082 resultobj
= SWIG_From_int((int)(result
));
41090 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41093 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41095 return Py_BuildValue((char *)"");
41097 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41098 PyObject
*resultobj
;
41099 int arg1
= (int) 1 ;
41100 int arg2
= (int) 0 ;
41101 int arg3
= (int) 0 ;
41102 int arg4
= (int) 0 ;
41103 wxFlexGridSizer
*result
;
41104 PyObject
* obj0
= 0 ;
41105 PyObject
* obj1
= 0 ;
41106 PyObject
* obj2
= 0 ;
41107 PyObject
* obj3
= 0 ;
41108 char *kwnames
[] = {
41109 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41115 arg1
= (int)(SWIG_As_int(obj0
));
41116 if (SWIG_arg_fail(1)) SWIG_fail
;
41121 arg2
= (int)(SWIG_As_int(obj1
));
41122 if (SWIG_arg_fail(2)) SWIG_fail
;
41127 arg3
= (int)(SWIG_As_int(obj2
));
41128 if (SWIG_arg_fail(3)) SWIG_fail
;
41133 arg4
= (int)(SWIG_As_int(obj3
));
41134 if (SWIG_arg_fail(4)) SWIG_fail
;
41138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41139 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41141 wxPyEndAllowThreads(__tstate
);
41142 if (PyErr_Occurred()) SWIG_fail
;
41144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41151 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41152 PyObject
*resultobj
;
41153 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41155 int arg3
= (int) 0 ;
41156 PyObject
* obj0
= 0 ;
41157 PyObject
* obj1
= 0 ;
41158 PyObject
* obj2
= 0 ;
41159 char *kwnames
[] = {
41160 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail
;
41167 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41168 if (SWIG_arg_fail(2)) SWIG_fail
;
41172 arg3
= (int)(SWIG_As_int(obj2
));
41173 if (SWIG_arg_fail(3)) SWIG_fail
;
41177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41178 (arg1
)->AddGrowableRow(arg2
,arg3
);
41180 wxPyEndAllowThreads(__tstate
);
41181 if (PyErr_Occurred()) SWIG_fail
;
41183 Py_INCREF(Py_None
); resultobj
= Py_None
;
41190 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41191 PyObject
*resultobj
;
41192 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41194 PyObject
* obj0
= 0 ;
41195 PyObject
* obj1
= 0 ;
41196 char *kwnames
[] = {
41197 (char *) "self",(char *) "idx", NULL
41200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41202 if (SWIG_arg_fail(1)) SWIG_fail
;
41204 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41205 if (SWIG_arg_fail(2)) SWIG_fail
;
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 (arg1
)->RemoveGrowableRow(arg2
);
41211 wxPyEndAllowThreads(__tstate
);
41212 if (PyErr_Occurred()) SWIG_fail
;
41214 Py_INCREF(Py_None
); resultobj
= Py_None
;
41221 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41222 PyObject
*resultobj
;
41223 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41225 int arg3
= (int) 0 ;
41226 PyObject
* obj0
= 0 ;
41227 PyObject
* obj1
= 0 ;
41228 PyObject
* obj2
= 0 ;
41229 char *kwnames
[] = {
41230 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41235 if (SWIG_arg_fail(1)) SWIG_fail
;
41237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41238 if (SWIG_arg_fail(2)) SWIG_fail
;
41242 arg3
= (int)(SWIG_As_int(obj2
));
41243 if (SWIG_arg_fail(3)) SWIG_fail
;
41247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41248 (arg1
)->AddGrowableCol(arg2
,arg3
);
41250 wxPyEndAllowThreads(__tstate
);
41251 if (PyErr_Occurred()) SWIG_fail
;
41253 Py_INCREF(Py_None
); resultobj
= Py_None
;
41260 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41261 PyObject
*resultobj
;
41262 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41264 PyObject
* obj0
= 0 ;
41265 PyObject
* obj1
= 0 ;
41266 char *kwnames
[] = {
41267 (char *) "self",(char *) "idx", NULL
41270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41272 if (SWIG_arg_fail(1)) SWIG_fail
;
41274 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41275 if (SWIG_arg_fail(2)) SWIG_fail
;
41278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41279 (arg1
)->RemoveGrowableCol(arg2
);
41281 wxPyEndAllowThreads(__tstate
);
41282 if (PyErr_Occurred()) SWIG_fail
;
41284 Py_INCREF(Py_None
); resultobj
= Py_None
;
41291 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41292 PyObject
*resultobj
;
41293 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41295 PyObject
* obj0
= 0 ;
41296 PyObject
* obj1
= 0 ;
41297 char *kwnames
[] = {
41298 (char *) "self",(char *) "direction", NULL
41301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41303 if (SWIG_arg_fail(1)) SWIG_fail
;
41305 arg2
= (int)(SWIG_As_int(obj1
));
41306 if (SWIG_arg_fail(2)) SWIG_fail
;
41309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41310 (arg1
)->SetFlexibleDirection(arg2
);
41312 wxPyEndAllowThreads(__tstate
);
41313 if (PyErr_Occurred()) SWIG_fail
;
41315 Py_INCREF(Py_None
); resultobj
= Py_None
;
41322 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41323 PyObject
*resultobj
;
41324 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41326 PyObject
* obj0
= 0 ;
41327 char *kwnames
[] = {
41328 (char *) "self", NULL
41331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41333 if (SWIG_arg_fail(1)) SWIG_fail
;
41335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41336 result
= (int)(arg1
)->GetFlexibleDirection();
41338 wxPyEndAllowThreads(__tstate
);
41339 if (PyErr_Occurred()) SWIG_fail
;
41342 resultobj
= SWIG_From_int((int)(result
));
41350 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41351 PyObject
*resultobj
;
41352 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41353 wxFlexSizerGrowMode arg2
;
41354 PyObject
* obj0
= 0 ;
41355 PyObject
* obj1
= 0 ;
41356 char *kwnames
[] = {
41357 (char *) "self",(char *) "mode", NULL
41360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41362 if (SWIG_arg_fail(1)) SWIG_fail
;
41364 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41365 if (SWIG_arg_fail(2)) SWIG_fail
;
41368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41369 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41371 wxPyEndAllowThreads(__tstate
);
41372 if (PyErr_Occurred()) SWIG_fail
;
41374 Py_INCREF(Py_None
); resultobj
= Py_None
;
41381 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41382 PyObject
*resultobj
;
41383 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41384 wxFlexSizerGrowMode result
;
41385 PyObject
* obj0
= 0 ;
41386 char *kwnames
[] = {
41387 (char *) "self", NULL
41390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41392 if (SWIG_arg_fail(1)) SWIG_fail
;
41394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41395 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41397 wxPyEndAllowThreads(__tstate
);
41398 if (PyErr_Occurred()) SWIG_fail
;
41400 resultobj
= SWIG_From_int((result
));
41407 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41408 PyObject
*resultobj
;
41409 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41410 wxArrayInt
*result
;
41411 PyObject
* obj0
= 0 ;
41412 char *kwnames
[] = {
41413 (char *) "self", NULL
41416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41418 if (SWIG_arg_fail(1)) SWIG_fail
;
41420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41422 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41423 result
= (wxArrayInt
*) &_result_ref
;
41426 wxPyEndAllowThreads(__tstate
);
41427 if (PyErr_Occurred()) SWIG_fail
;
41430 resultobj
= PyList_New(0);
41432 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41433 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41434 PyList_Append(resultobj
, val
);
41444 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41445 PyObject
*resultobj
;
41446 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41447 wxArrayInt
*result
;
41448 PyObject
* obj0
= 0 ;
41449 char *kwnames
[] = {
41450 (char *) "self", NULL
41453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41455 if (SWIG_arg_fail(1)) SWIG_fail
;
41457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41459 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41460 result
= (wxArrayInt
*) &_result_ref
;
41463 wxPyEndAllowThreads(__tstate
);
41464 if (PyErr_Occurred()) SWIG_fail
;
41467 resultobj
= PyList_New(0);
41469 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41470 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41471 PyList_Append(resultobj
, val
);
41481 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41484 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41486 return Py_BuildValue((char *)"");
41488 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41489 PyObject
*resultobj
;
41490 wxStdDialogButtonSizer
*result
;
41491 char *kwnames
[] = {
41495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41510 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41511 PyObject
*resultobj
;
41512 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41513 wxButton
*arg2
= (wxButton
*) 0 ;
41514 PyObject
* obj0
= 0 ;
41515 PyObject
* obj1
= 0 ;
41516 char *kwnames
[] = {
41517 (char *) "self",(char *) "button", NULL
41520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41522 if (SWIG_arg_fail(1)) SWIG_fail
;
41523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41524 if (SWIG_arg_fail(2)) SWIG_fail
;
41526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41527 (arg1
)->AddButton(arg2
);
41529 wxPyEndAllowThreads(__tstate
);
41530 if (PyErr_Occurred()) SWIG_fail
;
41532 Py_INCREF(Py_None
); resultobj
= Py_None
;
41539 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41540 PyObject
*resultobj
;
41541 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41542 PyObject
* obj0
= 0 ;
41543 char *kwnames
[] = {
41544 (char *) "self", NULL
41547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41549 if (SWIG_arg_fail(1)) SWIG_fail
;
41551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41554 wxPyEndAllowThreads(__tstate
);
41555 if (PyErr_Occurred()) SWIG_fail
;
41557 Py_INCREF(Py_None
); resultobj
= Py_None
;
41564 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41565 PyObject
*resultobj
;
41566 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41567 wxButton
*arg2
= (wxButton
*) 0 ;
41568 PyObject
* obj0
= 0 ;
41569 PyObject
* obj1
= 0 ;
41570 char *kwnames
[] = {
41571 (char *) "self",(char *) "button", NULL
41574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41576 if (SWIG_arg_fail(1)) SWIG_fail
;
41577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41578 if (SWIG_arg_fail(2)) SWIG_fail
;
41580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41581 (arg1
)->SetAffirmativeButton(arg2
);
41583 wxPyEndAllowThreads(__tstate
);
41584 if (PyErr_Occurred()) SWIG_fail
;
41586 Py_INCREF(Py_None
); resultobj
= Py_None
;
41593 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41594 PyObject
*resultobj
;
41595 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41596 wxButton
*arg2
= (wxButton
*) 0 ;
41597 PyObject
* obj0
= 0 ;
41598 PyObject
* obj1
= 0 ;
41599 char *kwnames
[] = {
41600 (char *) "self",(char *) "button", NULL
41603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41605 if (SWIG_arg_fail(1)) SWIG_fail
;
41606 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41607 if (SWIG_arg_fail(2)) SWIG_fail
;
41609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41610 (arg1
)->SetNegativeButton(arg2
);
41612 wxPyEndAllowThreads(__tstate
);
41613 if (PyErr_Occurred()) SWIG_fail
;
41615 Py_INCREF(Py_None
); resultobj
= Py_None
;
41622 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41623 PyObject
*resultobj
;
41624 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41625 wxButton
*arg2
= (wxButton
*) 0 ;
41626 PyObject
* obj0
= 0 ;
41627 PyObject
* obj1
= 0 ;
41628 char *kwnames
[] = {
41629 (char *) "self",(char *) "button", NULL
41632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41634 if (SWIG_arg_fail(1)) SWIG_fail
;
41635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41636 if (SWIG_arg_fail(2)) SWIG_fail
;
41638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41639 (arg1
)->SetCancelButton(arg2
);
41641 wxPyEndAllowThreads(__tstate
);
41642 if (PyErr_Occurred()) SWIG_fail
;
41644 Py_INCREF(Py_None
); resultobj
= Py_None
;
41651 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41652 PyObject
*resultobj
;
41653 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41655 PyObject
* obj0
= 0 ;
41656 char *kwnames
[] = {
41657 (char *) "self", NULL
41660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41662 if (SWIG_arg_fail(1)) SWIG_fail
;
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41667 wxPyEndAllowThreads(__tstate
);
41668 if (PyErr_Occurred()) SWIG_fail
;
41671 resultobj
= wxPyMake_wxObject(result
, 0);
41679 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41680 PyObject
*resultobj
;
41681 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41683 PyObject
* obj0
= 0 ;
41684 char *kwnames
[] = {
41685 (char *) "self", NULL
41688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41690 if (SWIG_arg_fail(1)) SWIG_fail
;
41692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41693 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41695 wxPyEndAllowThreads(__tstate
);
41696 if (PyErr_Occurred()) SWIG_fail
;
41699 resultobj
= wxPyMake_wxObject(result
, 0);
41707 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41708 PyObject
*resultobj
;
41709 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41711 PyObject
* obj0
= 0 ;
41712 char *kwnames
[] = {
41713 (char *) "self", NULL
41716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41718 if (SWIG_arg_fail(1)) SWIG_fail
;
41720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41721 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41723 wxPyEndAllowThreads(__tstate
);
41724 if (PyErr_Occurred()) SWIG_fail
;
41727 resultobj
= wxPyMake_wxObject(result
, 0);
41735 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41736 PyObject
*resultobj
;
41737 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41739 PyObject
* obj0
= 0 ;
41740 char *kwnames
[] = {
41741 (char *) "self", NULL
41744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41746 if (SWIG_arg_fail(1)) SWIG_fail
;
41748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41749 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41751 wxPyEndAllowThreads(__tstate
);
41752 if (PyErr_Occurred()) SWIG_fail
;
41755 resultobj
= wxPyMake_wxObject(result
, 0);
41763 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41764 PyObject
*resultobj
;
41765 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41767 PyObject
* obj0
= 0 ;
41768 char *kwnames
[] = {
41769 (char *) "self", NULL
41772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41774 if (SWIG_arg_fail(1)) SWIG_fail
;
41776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41777 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41779 wxPyEndAllowThreads(__tstate
);
41780 if (PyErr_Occurred()) SWIG_fail
;
41783 resultobj
= wxPyMake_wxObject(result
, 0);
41791 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41794 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41796 return Py_BuildValue((char *)"");
41798 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41799 PyObject
*resultobj
;
41800 int arg1
= (int) 0 ;
41801 int arg2
= (int) 0 ;
41802 wxGBPosition
*result
;
41803 PyObject
* obj0
= 0 ;
41804 PyObject
* obj1
= 0 ;
41805 char *kwnames
[] = {
41806 (char *) "row",(char *) "col", NULL
41809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41812 arg1
= (int)(SWIG_As_int(obj0
));
41813 if (SWIG_arg_fail(1)) SWIG_fail
;
41818 arg2
= (int)(SWIG_As_int(obj1
));
41819 if (SWIG_arg_fail(2)) SWIG_fail
;
41823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41824 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41826 wxPyEndAllowThreads(__tstate
);
41827 if (PyErr_Occurred()) SWIG_fail
;
41829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41836 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41837 PyObject
*resultobj
;
41838 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41840 PyObject
* obj0
= 0 ;
41841 char *kwnames
[] = {
41842 (char *) "self", NULL
41845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41847 if (SWIG_arg_fail(1)) SWIG_fail
;
41849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41850 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41852 wxPyEndAllowThreads(__tstate
);
41853 if (PyErr_Occurred()) SWIG_fail
;
41856 resultobj
= SWIG_From_int((int)(result
));
41864 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41865 PyObject
*resultobj
;
41866 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41868 PyObject
* obj0
= 0 ;
41869 char *kwnames
[] = {
41870 (char *) "self", NULL
41873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41875 if (SWIG_arg_fail(1)) SWIG_fail
;
41877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41878 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41884 resultobj
= SWIG_From_int((int)(result
));
41892 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41893 PyObject
*resultobj
;
41894 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41896 PyObject
* obj0
= 0 ;
41897 PyObject
* obj1
= 0 ;
41898 char *kwnames
[] = {
41899 (char *) "self",(char *) "row", NULL
41902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41904 if (SWIG_arg_fail(1)) SWIG_fail
;
41906 arg2
= (int)(SWIG_As_int(obj1
));
41907 if (SWIG_arg_fail(2)) SWIG_fail
;
41910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41911 (arg1
)->SetRow(arg2
);
41913 wxPyEndAllowThreads(__tstate
);
41914 if (PyErr_Occurred()) SWIG_fail
;
41916 Py_INCREF(Py_None
); resultobj
= Py_None
;
41923 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41924 PyObject
*resultobj
;
41925 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41927 PyObject
* obj0
= 0 ;
41928 PyObject
* obj1
= 0 ;
41929 char *kwnames
[] = {
41930 (char *) "self",(char *) "col", NULL
41933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41935 if (SWIG_arg_fail(1)) SWIG_fail
;
41937 arg2
= (int)(SWIG_As_int(obj1
));
41938 if (SWIG_arg_fail(2)) SWIG_fail
;
41941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41942 (arg1
)->SetCol(arg2
);
41944 wxPyEndAllowThreads(__tstate
);
41945 if (PyErr_Occurred()) SWIG_fail
;
41947 Py_INCREF(Py_None
); resultobj
= Py_None
;
41954 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41955 PyObject
*resultobj
;
41956 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41957 wxGBPosition
*arg2
= 0 ;
41959 wxGBPosition temp2
;
41960 PyObject
* obj0
= 0 ;
41961 PyObject
* obj1
= 0 ;
41962 char *kwnames
[] = {
41963 (char *) "self",(char *) "other", NULL
41966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41968 if (SWIG_arg_fail(1)) SWIG_fail
;
41971 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41975 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41977 wxPyEndAllowThreads(__tstate
);
41978 if (PyErr_Occurred()) SWIG_fail
;
41981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41989 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41990 PyObject
*resultobj
;
41991 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41992 wxGBPosition
*arg2
= 0 ;
41994 wxGBPosition temp2
;
41995 PyObject
* obj0
= 0 ;
41996 PyObject
* obj1
= 0 ;
41997 char *kwnames
[] = {
41998 (char *) "self",(char *) "other", NULL
42001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42003 if (SWIG_arg_fail(1)) SWIG_fail
;
42006 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42010 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42012 wxPyEndAllowThreads(__tstate
);
42013 if (PyErr_Occurred()) SWIG_fail
;
42016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42024 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42025 PyObject
*resultobj
;
42026 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42027 int arg2
= (int) 0 ;
42028 int arg3
= (int) 0 ;
42029 PyObject
* obj0
= 0 ;
42030 PyObject
* obj1
= 0 ;
42031 PyObject
* obj2
= 0 ;
42032 char *kwnames
[] = {
42033 (char *) "self",(char *) "row",(char *) "col", NULL
42036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42038 if (SWIG_arg_fail(1)) SWIG_fail
;
42041 arg2
= (int)(SWIG_As_int(obj1
));
42042 if (SWIG_arg_fail(2)) SWIG_fail
;
42047 arg3
= (int)(SWIG_As_int(obj2
));
42048 if (SWIG_arg_fail(3)) SWIG_fail
;
42052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42053 wxGBPosition_Set(arg1
,arg2
,arg3
);
42055 wxPyEndAllowThreads(__tstate
);
42056 if (PyErr_Occurred()) SWIG_fail
;
42058 Py_INCREF(Py_None
); resultobj
= Py_None
;
42065 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42066 PyObject
*resultobj
;
42067 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42069 PyObject
* obj0
= 0 ;
42070 char *kwnames
[] = {
42071 (char *) "self", NULL
42074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42076 if (SWIG_arg_fail(1)) SWIG_fail
;
42078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42079 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42081 wxPyEndAllowThreads(__tstate
);
42082 if (PyErr_Occurred()) SWIG_fail
;
42084 resultobj
= result
;
42091 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42094 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42096 return Py_BuildValue((char *)"");
42098 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42099 PyObject
*resultobj
;
42100 int arg1
= (int) 1 ;
42101 int arg2
= (int) 1 ;
42103 PyObject
* obj0
= 0 ;
42104 PyObject
* obj1
= 0 ;
42105 char *kwnames
[] = {
42106 (char *) "rowspan",(char *) "colspan", NULL
42109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42112 arg1
= (int)(SWIG_As_int(obj0
));
42113 if (SWIG_arg_fail(1)) SWIG_fail
;
42118 arg2
= (int)(SWIG_As_int(obj1
));
42119 if (SWIG_arg_fail(2)) SWIG_fail
;
42123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42124 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42126 wxPyEndAllowThreads(__tstate
);
42127 if (PyErr_Occurred()) SWIG_fail
;
42129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42136 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42137 PyObject
*resultobj
;
42138 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42140 PyObject
* obj0
= 0 ;
42141 char *kwnames
[] = {
42142 (char *) "self", NULL
42145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42147 if (SWIG_arg_fail(1)) SWIG_fail
;
42149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42150 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42152 wxPyEndAllowThreads(__tstate
);
42153 if (PyErr_Occurred()) SWIG_fail
;
42156 resultobj
= SWIG_From_int((int)(result
));
42164 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42165 PyObject
*resultobj
;
42166 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42168 PyObject
* obj0
= 0 ;
42169 char *kwnames
[] = {
42170 (char *) "self", NULL
42173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42175 if (SWIG_arg_fail(1)) SWIG_fail
;
42177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42178 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42180 wxPyEndAllowThreads(__tstate
);
42181 if (PyErr_Occurred()) SWIG_fail
;
42184 resultobj
= SWIG_From_int((int)(result
));
42192 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42193 PyObject
*resultobj
;
42194 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42196 PyObject
* obj0
= 0 ;
42197 PyObject
* obj1
= 0 ;
42198 char *kwnames
[] = {
42199 (char *) "self",(char *) "rowspan", NULL
42202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42204 if (SWIG_arg_fail(1)) SWIG_fail
;
42206 arg2
= (int)(SWIG_As_int(obj1
));
42207 if (SWIG_arg_fail(2)) SWIG_fail
;
42210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42211 (arg1
)->SetRowspan(arg2
);
42213 wxPyEndAllowThreads(__tstate
);
42214 if (PyErr_Occurred()) SWIG_fail
;
42216 Py_INCREF(Py_None
); resultobj
= Py_None
;
42223 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42224 PyObject
*resultobj
;
42225 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42227 PyObject
* obj0
= 0 ;
42228 PyObject
* obj1
= 0 ;
42229 char *kwnames
[] = {
42230 (char *) "self",(char *) "colspan", NULL
42233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42235 if (SWIG_arg_fail(1)) SWIG_fail
;
42237 arg2
= (int)(SWIG_As_int(obj1
));
42238 if (SWIG_arg_fail(2)) SWIG_fail
;
42241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42242 (arg1
)->SetColspan(arg2
);
42244 wxPyEndAllowThreads(__tstate
);
42245 if (PyErr_Occurred()) SWIG_fail
;
42247 Py_INCREF(Py_None
); resultobj
= Py_None
;
42254 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42255 PyObject
*resultobj
;
42256 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42257 wxGBSpan
*arg2
= 0 ;
42260 PyObject
* obj0
= 0 ;
42261 PyObject
* obj1
= 0 ;
42262 char *kwnames
[] = {
42263 (char *) "self",(char *) "other", NULL
42266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42268 if (SWIG_arg_fail(1)) SWIG_fail
;
42271 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42275 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42277 wxPyEndAllowThreads(__tstate
);
42278 if (PyErr_Occurred()) SWIG_fail
;
42281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42289 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42290 PyObject
*resultobj
;
42291 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42292 wxGBSpan
*arg2
= 0 ;
42295 PyObject
* obj0
= 0 ;
42296 PyObject
* obj1
= 0 ;
42297 char *kwnames
[] = {
42298 (char *) "self",(char *) "other", NULL
42301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42303 if (SWIG_arg_fail(1)) SWIG_fail
;
42306 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42312 wxPyEndAllowThreads(__tstate
);
42313 if (PyErr_Occurred()) SWIG_fail
;
42316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42324 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42325 PyObject
*resultobj
;
42326 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42327 int arg2
= (int) 1 ;
42328 int arg3
= (int) 1 ;
42329 PyObject
* obj0
= 0 ;
42330 PyObject
* obj1
= 0 ;
42331 PyObject
* obj2
= 0 ;
42332 char *kwnames
[] = {
42333 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42338 if (SWIG_arg_fail(1)) SWIG_fail
;
42341 arg2
= (int)(SWIG_As_int(obj1
));
42342 if (SWIG_arg_fail(2)) SWIG_fail
;
42347 arg3
= (int)(SWIG_As_int(obj2
));
42348 if (SWIG_arg_fail(3)) SWIG_fail
;
42352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42353 wxGBSpan_Set(arg1
,arg2
,arg3
);
42355 wxPyEndAllowThreads(__tstate
);
42356 if (PyErr_Occurred()) SWIG_fail
;
42358 Py_INCREF(Py_None
); resultobj
= Py_None
;
42365 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42366 PyObject
*resultobj
;
42367 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42369 PyObject
* obj0
= 0 ;
42370 char *kwnames
[] = {
42371 (char *) "self", NULL
42374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42376 if (SWIG_arg_fail(1)) SWIG_fail
;
42378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42379 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42381 wxPyEndAllowThreads(__tstate
);
42382 if (PyErr_Occurred()) SWIG_fail
;
42384 resultobj
= result
;
42391 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42394 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42396 return Py_BuildValue((char *)"");
42398 static int _wrap_DefaultSpan_set(PyObject
*) {
42399 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42404 static PyObject
*_wrap_DefaultSpan_get(void) {
42407 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42412 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42413 PyObject
*resultobj
;
42414 wxGBSizerItem
*result
;
42415 char *kwnames
[] = {
42419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42422 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42424 wxPyEndAllowThreads(__tstate
);
42425 if (PyErr_Occurred()) SWIG_fail
;
42427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42434 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42435 PyObject
*resultobj
;
42436 wxWindow
*arg1
= (wxWindow
*) 0 ;
42437 wxGBPosition
*arg2
= 0 ;
42438 wxGBSpan
*arg3
= 0 ;
42441 PyObject
*arg6
= (PyObject
*) NULL
;
42442 wxGBSizerItem
*result
;
42443 wxGBPosition temp2
;
42445 PyObject
* obj0
= 0 ;
42446 PyObject
* obj1
= 0 ;
42447 PyObject
* obj2
= 0 ;
42448 PyObject
* obj3
= 0 ;
42449 PyObject
* obj4
= 0 ;
42450 PyObject
* obj5
= 0 ;
42451 char *kwnames
[] = {
42452 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42457 if (SWIG_arg_fail(1)) SWIG_fail
;
42460 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42464 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42467 arg4
= (int)(SWIG_As_int(obj3
));
42468 if (SWIG_arg_fail(4)) SWIG_fail
;
42471 arg5
= (int)(SWIG_As_int(obj4
));
42472 if (SWIG_arg_fail(5)) SWIG_fail
;
42478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42479 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42481 wxPyEndAllowThreads(__tstate
);
42482 if (PyErr_Occurred()) SWIG_fail
;
42484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42491 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42492 PyObject
*resultobj
;
42493 wxSizer
*arg1
= (wxSizer
*) 0 ;
42494 wxGBPosition
*arg2
= 0 ;
42495 wxGBSpan
*arg3
= 0 ;
42498 PyObject
*arg6
= (PyObject
*) NULL
;
42499 wxGBSizerItem
*result
;
42500 wxGBPosition temp2
;
42502 PyObject
* obj0
= 0 ;
42503 PyObject
* obj1
= 0 ;
42504 PyObject
* obj2
= 0 ;
42505 PyObject
* obj3
= 0 ;
42506 PyObject
* obj4
= 0 ;
42507 PyObject
* obj5
= 0 ;
42508 char *kwnames
[] = {
42509 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42514 if (SWIG_arg_fail(1)) SWIG_fail
;
42517 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42521 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42524 arg4
= (int)(SWIG_As_int(obj3
));
42525 if (SWIG_arg_fail(4)) SWIG_fail
;
42528 arg5
= (int)(SWIG_As_int(obj4
));
42529 if (SWIG_arg_fail(5)) SWIG_fail
;
42535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42536 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42538 wxPyEndAllowThreads(__tstate
);
42539 if (PyErr_Occurred()) SWIG_fail
;
42541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42548 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42549 PyObject
*resultobj
;
42552 wxGBPosition
*arg3
= 0 ;
42553 wxGBSpan
*arg4
= 0 ;
42556 PyObject
*arg7
= (PyObject
*) NULL
;
42557 wxGBSizerItem
*result
;
42558 wxGBPosition temp3
;
42560 PyObject
* obj0
= 0 ;
42561 PyObject
* obj1
= 0 ;
42562 PyObject
* obj2
= 0 ;
42563 PyObject
* obj3
= 0 ;
42564 PyObject
* obj4
= 0 ;
42565 PyObject
* obj5
= 0 ;
42566 PyObject
* obj6
= 0 ;
42567 char *kwnames
[] = {
42568 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42573 arg1
= (int)(SWIG_As_int(obj0
));
42574 if (SWIG_arg_fail(1)) SWIG_fail
;
42577 arg2
= (int)(SWIG_As_int(obj1
));
42578 if (SWIG_arg_fail(2)) SWIG_fail
;
42582 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42586 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42589 arg5
= (int)(SWIG_As_int(obj4
));
42590 if (SWIG_arg_fail(5)) SWIG_fail
;
42593 arg6
= (int)(SWIG_As_int(obj5
));
42594 if (SWIG_arg_fail(6)) SWIG_fail
;
42600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42601 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42603 wxPyEndAllowThreads(__tstate
);
42604 if (PyErr_Occurred()) SWIG_fail
;
42606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42613 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42614 PyObject
*resultobj
;
42615 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42616 wxGBPosition result
;
42617 PyObject
* obj0
= 0 ;
42618 char *kwnames
[] = {
42619 (char *) "self", NULL
42622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42624 if (SWIG_arg_fail(1)) SWIG_fail
;
42626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42627 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42629 wxPyEndAllowThreads(__tstate
);
42630 if (PyErr_Occurred()) SWIG_fail
;
42633 wxGBPosition
* resultptr
;
42634 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42643 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42644 PyObject
*resultobj
;
42645 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42647 PyObject
* obj0
= 0 ;
42648 char *kwnames
[] = {
42649 (char *) "self", NULL
42652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42654 if (SWIG_arg_fail(1)) SWIG_fail
;
42656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42657 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42659 wxPyEndAllowThreads(__tstate
);
42660 if (PyErr_Occurred()) SWIG_fail
;
42663 wxGBSpan
* resultptr
;
42664 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42673 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42674 PyObject
*resultobj
;
42675 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42676 wxGBPosition
*arg2
= 0 ;
42678 wxGBPosition temp2
;
42679 PyObject
* obj0
= 0 ;
42680 PyObject
* obj1
= 0 ;
42681 char *kwnames
[] = {
42682 (char *) "self",(char *) "pos", NULL
42685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42687 if (SWIG_arg_fail(1)) SWIG_fail
;
42690 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42694 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42696 wxPyEndAllowThreads(__tstate
);
42697 if (PyErr_Occurred()) SWIG_fail
;
42700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42708 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42709 PyObject
*resultobj
;
42710 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42711 wxGBSpan
*arg2
= 0 ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 char *kwnames
[] = {
42717 (char *) "self",(char *) "span", NULL
42720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42722 if (SWIG_arg_fail(1)) SWIG_fail
;
42725 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42729 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42731 wxPyEndAllowThreads(__tstate
);
42732 if (PyErr_Occurred()) SWIG_fail
;
42735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42743 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42744 PyObject
*resultobj
;
42745 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42746 wxGBSizerItem
*arg2
= 0 ;
42748 PyObject
* obj0
= 0 ;
42749 PyObject
* obj1
= 0 ;
42750 char *kwnames
[] = {
42751 (char *) "self",(char *) "other", NULL
42754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42756 if (SWIG_arg_fail(1)) SWIG_fail
;
42758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42759 if (SWIG_arg_fail(2)) SWIG_fail
;
42760 if (arg2
== NULL
) {
42761 SWIG_null_ref("wxGBSizerItem");
42763 if (SWIG_arg_fail(2)) SWIG_fail
;
42766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42767 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42769 wxPyEndAllowThreads(__tstate
);
42770 if (PyErr_Occurred()) SWIG_fail
;
42773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42781 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42782 PyObject
*resultobj
;
42783 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42784 wxGBPosition
*arg2
= 0 ;
42785 wxGBSpan
*arg3
= 0 ;
42787 wxGBPosition temp2
;
42789 PyObject
* obj0
= 0 ;
42790 PyObject
* obj1
= 0 ;
42791 PyObject
* obj2
= 0 ;
42792 char *kwnames
[] = {
42793 (char *) "self",(char *) "pos",(char *) "span", NULL
42796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42798 if (SWIG_arg_fail(1)) SWIG_fail
;
42801 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42805 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42809 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42811 wxPyEndAllowThreads(__tstate
);
42812 if (PyErr_Occurred()) SWIG_fail
;
42815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42823 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42824 PyObject
*resultobj
;
42825 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42826 wxGBPosition result
;
42827 PyObject
* obj0
= 0 ;
42828 char *kwnames
[] = {
42829 (char *) "self", NULL
42832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42834 if (SWIG_arg_fail(1)) SWIG_fail
;
42836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42837 result
= wxGBSizerItem_GetEndPos(arg1
);
42839 wxPyEndAllowThreads(__tstate
);
42840 if (PyErr_Occurred()) SWIG_fail
;
42843 wxGBPosition
* resultptr
;
42844 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42853 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42854 PyObject
*resultobj
;
42855 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42856 wxGridBagSizer
*result
;
42857 PyObject
* obj0
= 0 ;
42858 char *kwnames
[] = {
42859 (char *) "self", NULL
42862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42864 if (SWIG_arg_fail(1)) SWIG_fail
;
42866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42867 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42869 wxPyEndAllowThreads(__tstate
);
42870 if (PyErr_Occurred()) SWIG_fail
;
42872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42879 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42880 PyObject
*resultobj
;
42881 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42882 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42883 PyObject
* obj0
= 0 ;
42884 PyObject
* obj1
= 0 ;
42885 char *kwnames
[] = {
42886 (char *) "self",(char *) "sizer", NULL
42889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42891 if (SWIG_arg_fail(1)) SWIG_fail
;
42892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42893 if (SWIG_arg_fail(2)) SWIG_fail
;
42895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42896 (arg1
)->SetGBSizer(arg2
);
42898 wxPyEndAllowThreads(__tstate
);
42899 if (PyErr_Occurred()) SWIG_fail
;
42901 Py_INCREF(Py_None
); resultobj
= Py_None
;
42908 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42911 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42913 return Py_BuildValue((char *)"");
42915 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42916 PyObject
*resultobj
;
42917 int arg1
= (int) 0 ;
42918 int arg2
= (int) 0 ;
42919 wxGridBagSizer
*result
;
42920 PyObject
* obj0
= 0 ;
42921 PyObject
* obj1
= 0 ;
42922 char *kwnames
[] = {
42923 (char *) "vgap",(char *) "hgap", NULL
42926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42929 arg1
= (int)(SWIG_As_int(obj0
));
42930 if (SWIG_arg_fail(1)) SWIG_fail
;
42935 arg2
= (int)(SWIG_As_int(obj1
));
42936 if (SWIG_arg_fail(2)) SWIG_fail
;
42940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42941 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42943 wxPyEndAllowThreads(__tstate
);
42944 if (PyErr_Occurred()) SWIG_fail
;
42946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42953 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42954 PyObject
*resultobj
;
42955 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42956 PyObject
*arg2
= (PyObject
*) 0 ;
42957 wxGBPosition
*arg3
= 0 ;
42958 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42959 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42960 int arg5
= (int) 0 ;
42961 int arg6
= (int) 0 ;
42962 PyObject
*arg7
= (PyObject
*) NULL
;
42963 wxGBSizerItem
*result
;
42964 wxGBPosition temp3
;
42966 PyObject
* obj0
= 0 ;
42967 PyObject
* obj1
= 0 ;
42968 PyObject
* obj2
= 0 ;
42969 PyObject
* obj3
= 0 ;
42970 PyObject
* obj4
= 0 ;
42971 PyObject
* obj5
= 0 ;
42972 PyObject
* obj6
= 0 ;
42973 char *kwnames
[] = {
42974 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42979 if (SWIG_arg_fail(1)) SWIG_fail
;
42983 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42988 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42993 arg5
= (int)(SWIG_As_int(obj4
));
42994 if (SWIG_arg_fail(5)) SWIG_fail
;
42999 arg6
= (int)(SWIG_As_int(obj5
));
43000 if (SWIG_arg_fail(6)) SWIG_fail
;
43007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43020 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
;
43022 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43023 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43024 wxGBSizerItem
*result
;
43025 PyObject
* obj0
= 0 ;
43026 PyObject
* obj1
= 0 ;
43027 char *kwnames
[] = {
43028 (char *) "self",(char *) "item", NULL
43031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43033 if (SWIG_arg_fail(1)) SWIG_fail
;
43034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43035 if (SWIG_arg_fail(2)) SWIG_fail
;
43037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43038 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43040 wxPyEndAllowThreads(__tstate
);
43041 if (PyErr_Occurred()) SWIG_fail
;
43043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43050 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43051 PyObject
*resultobj
;
43052 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43056 PyObject
* obj0
= 0 ;
43057 PyObject
* obj1
= 0 ;
43058 PyObject
* obj2
= 0 ;
43059 char *kwnames
[] = {
43060 (char *) "self",(char *) "row",(char *) "col", NULL
43063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43065 if (SWIG_arg_fail(1)) SWIG_fail
;
43067 arg2
= (int)(SWIG_As_int(obj1
));
43068 if (SWIG_arg_fail(2)) SWIG_fail
;
43071 arg3
= (int)(SWIG_As_int(obj2
));
43072 if (SWIG_arg_fail(3)) SWIG_fail
;
43075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43076 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43078 wxPyEndAllowThreads(__tstate
);
43079 if (PyErr_Occurred()) SWIG_fail
;
43082 wxSize
* resultptr
;
43083 resultptr
= new wxSize((wxSize
&)(result
));
43084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43092 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43093 PyObject
*resultobj
;
43094 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43096 PyObject
* obj0
= 0 ;
43097 char *kwnames
[] = {
43098 (char *) "self", NULL
43101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43103 if (SWIG_arg_fail(1)) SWIG_fail
;
43105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43106 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43108 wxPyEndAllowThreads(__tstate
);
43109 if (PyErr_Occurred()) SWIG_fail
;
43112 wxSize
* resultptr
;
43113 resultptr
= new wxSize((wxSize
&)(result
));
43114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43122 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43123 PyObject
*resultobj
;
43124 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43127 PyObject
* obj0
= 0 ;
43128 PyObject
* obj1
= 0 ;
43129 char *kwnames
[] = {
43130 (char *) "self",(char *) "sz", NULL
43133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43135 if (SWIG_arg_fail(1)) SWIG_fail
;
43138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43142 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43144 wxPyEndAllowThreads(__tstate
);
43145 if (PyErr_Occurred()) SWIG_fail
;
43147 Py_INCREF(Py_None
); resultobj
= Py_None
;
43154 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43155 PyObject
*resultobj
;
43156 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43157 wxWindow
*arg2
= (wxWindow
*) 0 ;
43158 wxGBPosition result
;
43159 PyObject
* obj0
= 0 ;
43160 PyObject
* obj1
= 0 ;
43162 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43164 if (SWIG_arg_fail(1)) SWIG_fail
;
43165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43166 if (SWIG_arg_fail(2)) SWIG_fail
;
43168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43169 result
= (arg1
)->GetItemPosition(arg2
);
43171 wxPyEndAllowThreads(__tstate
);
43172 if (PyErr_Occurred()) SWIG_fail
;
43175 wxGBPosition
* resultptr
;
43176 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43185 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43186 PyObject
*resultobj
;
43187 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43188 wxSizer
*arg2
= (wxSizer
*) 0 ;
43189 wxGBPosition result
;
43190 PyObject
* obj0
= 0 ;
43191 PyObject
* obj1
= 0 ;
43193 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43195 if (SWIG_arg_fail(1)) SWIG_fail
;
43196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43197 if (SWIG_arg_fail(2)) SWIG_fail
;
43199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43200 result
= (arg1
)->GetItemPosition(arg2
);
43202 wxPyEndAllowThreads(__tstate
);
43203 if (PyErr_Occurred()) SWIG_fail
;
43206 wxGBPosition
* resultptr
;
43207 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43216 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43217 PyObject
*resultobj
;
43218 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43220 wxGBPosition result
;
43221 PyObject
* obj0
= 0 ;
43222 PyObject
* obj1
= 0 ;
43224 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43226 if (SWIG_arg_fail(1)) SWIG_fail
;
43228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43229 if (SWIG_arg_fail(2)) SWIG_fail
;
43232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43233 result
= (arg1
)->GetItemPosition(arg2
);
43235 wxPyEndAllowThreads(__tstate
);
43236 if (PyErr_Occurred()) SWIG_fail
;
43239 wxGBPosition
* resultptr
;
43240 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43249 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43254 argc
= PyObject_Length(args
);
43255 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43280 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43298 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43306 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43314 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43322 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43324 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43329 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43334 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43335 PyObject
*resultobj
;
43336 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43337 wxWindow
*arg2
= (wxWindow
*) 0 ;
43338 wxGBPosition
*arg3
= 0 ;
43340 wxGBPosition temp3
;
43341 PyObject
* obj0
= 0 ;
43342 PyObject
* obj1
= 0 ;
43343 PyObject
* obj2
= 0 ;
43345 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43347 if (SWIG_arg_fail(1)) SWIG_fail
;
43348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43349 if (SWIG_arg_fail(2)) SWIG_fail
;
43352 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43356 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43358 wxPyEndAllowThreads(__tstate
);
43359 if (PyErr_Occurred()) SWIG_fail
;
43362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43370 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43371 PyObject
*resultobj
;
43372 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43373 wxSizer
*arg2
= (wxSizer
*) 0 ;
43374 wxGBPosition
*arg3
= 0 ;
43376 wxGBPosition temp3
;
43377 PyObject
* obj0
= 0 ;
43378 PyObject
* obj1
= 0 ;
43379 PyObject
* obj2
= 0 ;
43381 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43383 if (SWIG_arg_fail(1)) SWIG_fail
;
43384 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43385 if (SWIG_arg_fail(2)) SWIG_fail
;
43388 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43392 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43394 wxPyEndAllowThreads(__tstate
);
43395 if (PyErr_Occurred()) SWIG_fail
;
43398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43406 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43407 PyObject
*resultobj
;
43408 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43410 wxGBPosition
*arg3
= 0 ;
43412 wxGBPosition temp3
;
43413 PyObject
* obj0
= 0 ;
43414 PyObject
* obj1
= 0 ;
43415 PyObject
* obj2
= 0 ;
43417 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43419 if (SWIG_arg_fail(1)) SWIG_fail
;
43421 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43422 if (SWIG_arg_fail(2)) SWIG_fail
;
43426 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43430 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43432 wxPyEndAllowThreads(__tstate
);
43433 if (PyErr_Occurred()) SWIG_fail
;
43436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43444 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43449 argc
= PyObject_Length(args
);
43450 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43451 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43457 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43467 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43476 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43479 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43488 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43498 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43507 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43510 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43527 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43530 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43533 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43539 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43544 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43545 PyObject
*resultobj
;
43546 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43547 wxWindow
*arg2
= (wxWindow
*) 0 ;
43549 PyObject
* obj0
= 0 ;
43550 PyObject
* obj1
= 0 ;
43552 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43554 if (SWIG_arg_fail(1)) SWIG_fail
;
43555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43556 if (SWIG_arg_fail(2)) SWIG_fail
;
43558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43559 result
= (arg1
)->GetItemSpan(arg2
);
43561 wxPyEndAllowThreads(__tstate
);
43562 if (PyErr_Occurred()) SWIG_fail
;
43565 wxGBSpan
* resultptr
;
43566 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43575 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43576 PyObject
*resultobj
;
43577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43578 wxSizer
*arg2
= (wxSizer
*) 0 ;
43580 PyObject
* obj0
= 0 ;
43581 PyObject
* obj1
= 0 ;
43583 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43585 if (SWIG_arg_fail(1)) SWIG_fail
;
43586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43587 if (SWIG_arg_fail(2)) SWIG_fail
;
43589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43590 result
= (arg1
)->GetItemSpan(arg2
);
43592 wxPyEndAllowThreads(__tstate
);
43593 if (PyErr_Occurred()) SWIG_fail
;
43596 wxGBSpan
* resultptr
;
43597 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43606 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43607 PyObject
*resultobj
;
43608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43611 PyObject
* obj0
= 0 ;
43612 PyObject
* obj1
= 0 ;
43614 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43616 if (SWIG_arg_fail(1)) SWIG_fail
;
43618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43619 if (SWIG_arg_fail(2)) SWIG_fail
;
43622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43623 result
= (arg1
)->GetItemSpan(arg2
);
43625 wxPyEndAllowThreads(__tstate
);
43626 if (PyErr_Occurred()) SWIG_fail
;
43629 wxGBSpan
* resultptr
;
43630 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43639 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43644 argc
= PyObject_Length(args
);
43645 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43646 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43670 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43688 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43696 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43704 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43712 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43714 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43719 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43724 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43725 PyObject
*resultobj
;
43726 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43727 wxWindow
*arg2
= (wxWindow
*) 0 ;
43728 wxGBSpan
*arg3
= 0 ;
43731 PyObject
* obj0
= 0 ;
43732 PyObject
* obj1
= 0 ;
43733 PyObject
* obj2
= 0 ;
43735 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43737 if (SWIG_arg_fail(1)) SWIG_fail
;
43738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43739 if (SWIG_arg_fail(2)) SWIG_fail
;
43742 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43746 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43748 wxPyEndAllowThreads(__tstate
);
43749 if (PyErr_Occurred()) SWIG_fail
;
43752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43760 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43761 PyObject
*resultobj
;
43762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43763 wxSizer
*arg2
= (wxSizer
*) 0 ;
43764 wxGBSpan
*arg3
= 0 ;
43767 PyObject
* obj0
= 0 ;
43768 PyObject
* obj1
= 0 ;
43769 PyObject
* obj2
= 0 ;
43771 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43773 if (SWIG_arg_fail(1)) SWIG_fail
;
43774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43775 if (SWIG_arg_fail(2)) SWIG_fail
;
43778 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43782 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43784 wxPyEndAllowThreads(__tstate
);
43785 if (PyErr_Occurred()) SWIG_fail
;
43788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43796 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43797 PyObject
*resultobj
;
43798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43800 wxGBSpan
*arg3
= 0 ;
43803 PyObject
* obj0
= 0 ;
43804 PyObject
* obj1
= 0 ;
43805 PyObject
* obj2
= 0 ;
43807 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43809 if (SWIG_arg_fail(1)) SWIG_fail
;
43811 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43812 if (SWIG_arg_fail(2)) SWIG_fail
;
43816 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43820 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43822 wxPyEndAllowThreads(__tstate
);
43823 if (PyErr_Occurred()) SWIG_fail
;
43826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43834 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43839 argc
= PyObject_Length(args
);
43840 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43841 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43866 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43869 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43878 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43888 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43897 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43900 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43917 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43920 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43923 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43929 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43934 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43935 PyObject
*resultobj
;
43936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43937 wxWindow
*arg2
= (wxWindow
*) 0 ;
43938 wxGBSizerItem
*result
;
43939 PyObject
* obj0
= 0 ;
43940 PyObject
* obj1
= 0 ;
43942 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43944 if (SWIG_arg_fail(1)) SWIG_fail
;
43945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43946 if (SWIG_arg_fail(2)) SWIG_fail
;
43948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43949 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43951 wxPyEndAllowThreads(__tstate
);
43952 if (PyErr_Occurred()) SWIG_fail
;
43954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43961 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43962 PyObject
*resultobj
;
43963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43964 wxSizer
*arg2
= (wxSizer
*) 0 ;
43965 wxGBSizerItem
*result
;
43966 PyObject
* obj0
= 0 ;
43967 PyObject
* obj1
= 0 ;
43969 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43971 if (SWIG_arg_fail(1)) SWIG_fail
;
43972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43973 if (SWIG_arg_fail(2)) SWIG_fail
;
43975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43976 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43978 wxPyEndAllowThreads(__tstate
);
43979 if (PyErr_Occurred()) SWIG_fail
;
43981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43988 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43993 argc
= PyObject_Length(args
);
43994 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43995 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44011 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44019 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44027 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44037 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44045 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44050 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44055 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44056 PyObject
*resultobj
;
44057 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44058 wxGBPosition
*arg2
= 0 ;
44059 wxGBSizerItem
*result
;
44060 wxGBPosition temp2
;
44061 PyObject
* obj0
= 0 ;
44062 PyObject
* obj1
= 0 ;
44063 char *kwnames
[] = {
44064 (char *) "self",(char *) "pos", NULL
44067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44069 if (SWIG_arg_fail(1)) SWIG_fail
;
44072 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44076 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44078 wxPyEndAllowThreads(__tstate
);
44079 if (PyErr_Occurred()) SWIG_fail
;
44081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44088 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44089 PyObject
*resultobj
;
44090 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44091 wxPoint
*arg2
= 0 ;
44092 wxGBSizerItem
*result
;
44094 PyObject
* obj0
= 0 ;
44095 PyObject
* obj1
= 0 ;
44096 char *kwnames
[] = {
44097 (char *) "self",(char *) "pt", NULL
44100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44102 if (SWIG_arg_fail(1)) SWIG_fail
;
44105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44109 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44111 wxPyEndAllowThreads(__tstate
);
44112 if (PyErr_Occurred()) SWIG_fail
;
44114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44121 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44122 PyObject
*resultobj
;
44123 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44124 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44125 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44127 PyObject
* obj0
= 0 ;
44128 PyObject
* obj1
= 0 ;
44129 PyObject
* obj2
= 0 ;
44130 char *kwnames
[] = {
44131 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44136 if (SWIG_arg_fail(1)) SWIG_fail
;
44137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44138 if (SWIG_arg_fail(2)) SWIG_fail
;
44140 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44141 if (SWIG_arg_fail(3)) SWIG_fail
;
44144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44145 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44147 wxPyEndAllowThreads(__tstate
);
44148 if (PyErr_Occurred()) SWIG_fail
;
44151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44159 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44160 PyObject
*resultobj
;
44161 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44162 wxGBPosition
*arg2
= 0 ;
44163 wxGBSpan
*arg3
= 0 ;
44164 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44166 wxGBPosition temp2
;
44168 PyObject
* obj0
= 0 ;
44169 PyObject
* obj1
= 0 ;
44170 PyObject
* obj2
= 0 ;
44171 PyObject
* obj3
= 0 ;
44172 char *kwnames
[] = {
44173 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44178 if (SWIG_arg_fail(1)) SWIG_fail
;
44181 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44185 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44188 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44189 if (SWIG_arg_fail(4)) SWIG_fail
;
44192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44193 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44195 wxPyEndAllowThreads(__tstate
);
44196 if (PyErr_Occurred()) SWIG_fail
;
44199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44207 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44210 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44212 return Py_BuildValue((char *)"");
44214 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44215 PyObject
*resultobj
;
44216 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44217 wxRelationship arg2
;
44218 wxWindow
*arg3
= (wxWindow
*) 0 ;
44220 int arg5
= (int) 0 ;
44221 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44222 PyObject
* obj0
= 0 ;
44223 PyObject
* obj1
= 0 ;
44224 PyObject
* obj2
= 0 ;
44225 PyObject
* obj3
= 0 ;
44226 PyObject
* obj4
= 0 ;
44227 PyObject
* obj5
= 0 ;
44228 char *kwnames
[] = {
44229 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44234 if (SWIG_arg_fail(1)) SWIG_fail
;
44236 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44237 if (SWIG_arg_fail(2)) SWIG_fail
;
44239 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44240 if (SWIG_arg_fail(3)) SWIG_fail
;
44242 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44243 if (SWIG_arg_fail(4)) SWIG_fail
;
44247 arg5
= (int)(SWIG_As_int(obj4
));
44248 if (SWIG_arg_fail(5)) SWIG_fail
;
44253 arg6
= (int)(SWIG_As_int(obj5
));
44254 if (SWIG_arg_fail(6)) SWIG_fail
;
44258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44259 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44261 wxPyEndAllowThreads(__tstate
);
44262 if (PyErr_Occurred()) SWIG_fail
;
44264 Py_INCREF(Py_None
); resultobj
= Py_None
;
44271 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44272 PyObject
*resultobj
;
44273 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44274 wxWindow
*arg2
= (wxWindow
*) 0 ;
44275 int arg3
= (int) 0 ;
44276 PyObject
* obj0
= 0 ;
44277 PyObject
* obj1
= 0 ;
44278 PyObject
* obj2
= 0 ;
44279 char *kwnames
[] = {
44280 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44285 if (SWIG_arg_fail(1)) SWIG_fail
;
44286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44287 if (SWIG_arg_fail(2)) SWIG_fail
;
44290 arg3
= (int)(SWIG_As_int(obj2
));
44291 if (SWIG_arg_fail(3)) SWIG_fail
;
44295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44296 (arg1
)->LeftOf(arg2
,arg3
);
44298 wxPyEndAllowThreads(__tstate
);
44299 if (PyErr_Occurred()) SWIG_fail
;
44301 Py_INCREF(Py_None
); resultobj
= Py_None
;
44308 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44309 PyObject
*resultobj
;
44310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44311 wxWindow
*arg2
= (wxWindow
*) 0 ;
44312 int arg3
= (int) 0 ;
44313 PyObject
* obj0
= 0 ;
44314 PyObject
* obj1
= 0 ;
44315 PyObject
* obj2
= 0 ;
44316 char *kwnames
[] = {
44317 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44322 if (SWIG_arg_fail(1)) SWIG_fail
;
44323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44324 if (SWIG_arg_fail(2)) SWIG_fail
;
44327 arg3
= (int)(SWIG_As_int(obj2
));
44328 if (SWIG_arg_fail(3)) SWIG_fail
;
44332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44333 (arg1
)->RightOf(arg2
,arg3
);
44335 wxPyEndAllowThreads(__tstate
);
44336 if (PyErr_Occurred()) SWIG_fail
;
44338 Py_INCREF(Py_None
); resultobj
= Py_None
;
44345 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44346 PyObject
*resultobj
;
44347 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44348 wxWindow
*arg2
= (wxWindow
*) 0 ;
44349 int arg3
= (int) 0 ;
44350 PyObject
* obj0
= 0 ;
44351 PyObject
* obj1
= 0 ;
44352 PyObject
* obj2
= 0 ;
44353 char *kwnames
[] = {
44354 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44359 if (SWIG_arg_fail(1)) SWIG_fail
;
44360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44361 if (SWIG_arg_fail(2)) SWIG_fail
;
44364 arg3
= (int)(SWIG_As_int(obj2
));
44365 if (SWIG_arg_fail(3)) SWIG_fail
;
44369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44370 (arg1
)->Above(arg2
,arg3
);
44372 wxPyEndAllowThreads(__tstate
);
44373 if (PyErr_Occurred()) SWIG_fail
;
44375 Py_INCREF(Py_None
); resultobj
= Py_None
;
44382 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44383 PyObject
*resultobj
;
44384 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44385 wxWindow
*arg2
= (wxWindow
*) 0 ;
44386 int arg3
= (int) 0 ;
44387 PyObject
* obj0
= 0 ;
44388 PyObject
* obj1
= 0 ;
44389 PyObject
* obj2
= 0 ;
44390 char *kwnames
[] = {
44391 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44396 if (SWIG_arg_fail(1)) SWIG_fail
;
44397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44398 if (SWIG_arg_fail(2)) SWIG_fail
;
44401 arg3
= (int)(SWIG_As_int(obj2
));
44402 if (SWIG_arg_fail(3)) SWIG_fail
;
44406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44407 (arg1
)->Below(arg2
,arg3
);
44409 wxPyEndAllowThreads(__tstate
);
44410 if (PyErr_Occurred()) SWIG_fail
;
44412 Py_INCREF(Py_None
); resultobj
= Py_None
;
44419 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44420 PyObject
*resultobj
;
44421 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44422 wxWindow
*arg2
= (wxWindow
*) 0 ;
44424 int arg4
= (int) 0 ;
44425 PyObject
* obj0
= 0 ;
44426 PyObject
* obj1
= 0 ;
44427 PyObject
* obj2
= 0 ;
44428 PyObject
* obj3
= 0 ;
44429 char *kwnames
[] = {
44430 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
44439 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44440 if (SWIG_arg_fail(3)) SWIG_fail
;
44444 arg4
= (int)(SWIG_As_int(obj3
));
44445 if (SWIG_arg_fail(4)) SWIG_fail
;
44449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44450 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44452 wxPyEndAllowThreads(__tstate
);
44453 if (PyErr_Occurred()) SWIG_fail
;
44455 Py_INCREF(Py_None
); resultobj
= Py_None
;
44462 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44463 PyObject
*resultobj
;
44464 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44465 wxWindow
*arg2
= (wxWindow
*) 0 ;
44468 PyObject
* obj0
= 0 ;
44469 PyObject
* obj1
= 0 ;
44470 PyObject
* obj2
= 0 ;
44471 PyObject
* obj3
= 0 ;
44472 char *kwnames
[] = {
44473 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44478 if (SWIG_arg_fail(1)) SWIG_fail
;
44479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44480 if (SWIG_arg_fail(2)) SWIG_fail
;
44482 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44483 if (SWIG_arg_fail(3)) SWIG_fail
;
44486 arg4
= (int)(SWIG_As_int(obj3
));
44487 if (SWIG_arg_fail(4)) SWIG_fail
;
44490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44491 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44493 wxPyEndAllowThreads(__tstate
);
44494 if (PyErr_Occurred()) SWIG_fail
;
44496 Py_INCREF(Py_None
); resultobj
= Py_None
;
44503 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44504 PyObject
*resultobj
;
44505 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44507 PyObject
* obj0
= 0 ;
44508 PyObject
* obj1
= 0 ;
44509 char *kwnames
[] = {
44510 (char *) "self",(char *) "val", NULL
44513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44515 if (SWIG_arg_fail(1)) SWIG_fail
;
44517 arg2
= (int)(SWIG_As_int(obj1
));
44518 if (SWIG_arg_fail(2)) SWIG_fail
;
44521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44522 (arg1
)->Absolute(arg2
);
44524 wxPyEndAllowThreads(__tstate
);
44525 if (PyErr_Occurred()) SWIG_fail
;
44527 Py_INCREF(Py_None
); resultobj
= Py_None
;
44534 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44535 PyObject
*resultobj
;
44536 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44537 PyObject
* obj0
= 0 ;
44538 char *kwnames
[] = {
44539 (char *) "self", NULL
44542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44544 if (SWIG_arg_fail(1)) SWIG_fail
;
44546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44547 (arg1
)->Unconstrained();
44549 wxPyEndAllowThreads(__tstate
);
44550 if (PyErr_Occurred()) SWIG_fail
;
44552 Py_INCREF(Py_None
); resultobj
= Py_None
;
44559 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44560 PyObject
*resultobj
;
44561 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44562 PyObject
* obj0
= 0 ;
44563 char *kwnames
[] = {
44564 (char *) "self", NULL
44567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44569 if (SWIG_arg_fail(1)) SWIG_fail
;
44571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44574 wxPyEndAllowThreads(__tstate
);
44575 if (PyErr_Occurred()) SWIG_fail
;
44577 Py_INCREF(Py_None
); resultobj
= Py_None
;
44584 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44585 PyObject
*resultobj
;
44586 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44588 PyObject
* obj0
= 0 ;
44589 char *kwnames
[] = {
44590 (char *) "self", NULL
44593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44595 if (SWIG_arg_fail(1)) SWIG_fail
;
44597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44598 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44600 wxPyEndAllowThreads(__tstate
);
44601 if (PyErr_Occurred()) SWIG_fail
;
44604 resultobj
= wxPyMake_wxObject(result
, 0);
44612 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44613 PyObject
*resultobj
;
44614 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44616 PyObject
* obj0
= 0 ;
44617 char *kwnames
[] = {
44618 (char *) "self", NULL
44621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44623 if (SWIG_arg_fail(1)) SWIG_fail
;
44625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44626 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44628 wxPyEndAllowThreads(__tstate
);
44629 if (PyErr_Occurred()) SWIG_fail
;
44631 resultobj
= SWIG_From_int((result
));
44638 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44639 PyObject
*resultobj
;
44640 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44642 PyObject
* obj0
= 0 ;
44643 PyObject
* obj1
= 0 ;
44644 char *kwnames
[] = {
44645 (char *) "self",(char *) "which", NULL
44648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44650 if (SWIG_arg_fail(1)) SWIG_fail
;
44652 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44653 if (SWIG_arg_fail(2)) SWIG_fail
;
44656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44657 (arg1
)->SetEdge((wxEdge
)arg2
);
44659 wxPyEndAllowThreads(__tstate
);
44660 if (PyErr_Occurred()) SWIG_fail
;
44662 Py_INCREF(Py_None
); resultobj
= Py_None
;
44669 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44670 PyObject
*resultobj
;
44671 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44673 PyObject
* obj0
= 0 ;
44674 PyObject
* obj1
= 0 ;
44675 char *kwnames
[] = {
44676 (char *) "self",(char *) "v", NULL
44679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44681 if (SWIG_arg_fail(1)) SWIG_fail
;
44683 arg2
= (int)(SWIG_As_int(obj1
));
44684 if (SWIG_arg_fail(2)) SWIG_fail
;
44687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44688 (arg1
)->SetValue(arg2
);
44690 wxPyEndAllowThreads(__tstate
);
44691 if (PyErr_Occurred()) SWIG_fail
;
44693 Py_INCREF(Py_None
); resultobj
= Py_None
;
44700 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44701 PyObject
*resultobj
;
44702 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44704 PyObject
* obj0
= 0 ;
44705 char *kwnames
[] = {
44706 (char *) "self", NULL
44709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44711 if (SWIG_arg_fail(1)) SWIG_fail
;
44713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44714 result
= (int)(arg1
)->GetMargin();
44716 wxPyEndAllowThreads(__tstate
);
44717 if (PyErr_Occurred()) SWIG_fail
;
44720 resultobj
= SWIG_From_int((int)(result
));
44728 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44729 PyObject
*resultobj
;
44730 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44732 PyObject
* obj0
= 0 ;
44733 PyObject
* obj1
= 0 ;
44734 char *kwnames
[] = {
44735 (char *) "self",(char *) "m", NULL
44738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44740 if (SWIG_arg_fail(1)) SWIG_fail
;
44742 arg2
= (int)(SWIG_As_int(obj1
));
44743 if (SWIG_arg_fail(2)) SWIG_fail
;
44746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44747 (arg1
)->SetMargin(arg2
);
44749 wxPyEndAllowThreads(__tstate
);
44750 if (PyErr_Occurred()) SWIG_fail
;
44752 Py_INCREF(Py_None
); resultobj
= Py_None
;
44759 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44760 PyObject
*resultobj
;
44761 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44763 PyObject
* obj0
= 0 ;
44764 char *kwnames
[] = {
44765 (char *) "self", NULL
44768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44770 if (SWIG_arg_fail(1)) SWIG_fail
;
44772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44773 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44779 resultobj
= SWIG_From_int((int)(result
));
44787 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44788 PyObject
*resultobj
;
44789 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44791 PyObject
* obj0
= 0 ;
44792 char *kwnames
[] = {
44793 (char *) "self", NULL
44796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44798 if (SWIG_arg_fail(1)) SWIG_fail
;
44800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44801 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44803 wxPyEndAllowThreads(__tstate
);
44804 if (PyErr_Occurred()) SWIG_fail
;
44807 resultobj
= SWIG_From_int((int)(result
));
44815 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44816 PyObject
*resultobj
;
44817 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44819 PyObject
* obj0
= 0 ;
44820 char *kwnames
[] = {
44821 (char *) "self", NULL
44824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44826 if (SWIG_arg_fail(1)) SWIG_fail
;
44828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44829 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44831 wxPyEndAllowThreads(__tstate
);
44832 if (PyErr_Occurred()) SWIG_fail
;
44835 resultobj
= SWIG_From_int((int)(result
));
44843 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44844 PyObject
*resultobj
;
44845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44847 PyObject
* obj0
= 0 ;
44848 char *kwnames
[] = {
44849 (char *) "self", NULL
44852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44854 if (SWIG_arg_fail(1)) SWIG_fail
;
44856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44857 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44859 wxPyEndAllowThreads(__tstate
);
44860 if (PyErr_Occurred()) SWIG_fail
;
44863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44871 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44872 PyObject
*resultobj
;
44873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44875 PyObject
* obj0
= 0 ;
44876 PyObject
* obj1
= 0 ;
44877 char *kwnames
[] = {
44878 (char *) "self",(char *) "d", NULL
44881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44883 if (SWIG_arg_fail(1)) SWIG_fail
;
44885 arg2
= (bool)(SWIG_As_bool(obj1
));
44886 if (SWIG_arg_fail(2)) SWIG_fail
;
44889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44890 (arg1
)->SetDone(arg2
);
44892 wxPyEndAllowThreads(__tstate
);
44893 if (PyErr_Occurred()) SWIG_fail
;
44895 Py_INCREF(Py_None
); resultobj
= Py_None
;
44902 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44903 PyObject
*resultobj
;
44904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44905 wxRelationship result
;
44906 PyObject
* obj0
= 0 ;
44907 char *kwnames
[] = {
44908 (char *) "self", NULL
44911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44913 if (SWIG_arg_fail(1)) SWIG_fail
;
44915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44916 result
= (wxRelationship
)(arg1
)->GetRelationship();
44918 wxPyEndAllowThreads(__tstate
);
44919 if (PyErr_Occurred()) SWIG_fail
;
44921 resultobj
= SWIG_From_int((result
));
44928 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44929 PyObject
*resultobj
;
44930 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44931 wxRelationship arg2
;
44932 PyObject
* obj0
= 0 ;
44933 PyObject
* obj1
= 0 ;
44934 char *kwnames
[] = {
44935 (char *) "self",(char *) "r", NULL
44938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44940 if (SWIG_arg_fail(1)) SWIG_fail
;
44942 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44943 if (SWIG_arg_fail(2)) SWIG_fail
;
44946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44947 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44949 wxPyEndAllowThreads(__tstate
);
44950 if (PyErr_Occurred()) SWIG_fail
;
44952 Py_INCREF(Py_None
); resultobj
= Py_None
;
44959 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44960 PyObject
*resultobj
;
44961 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44962 wxWindow
*arg2
= (wxWindow
*) 0 ;
44964 PyObject
* obj0
= 0 ;
44965 PyObject
* obj1
= 0 ;
44966 char *kwnames
[] = {
44967 (char *) "self",(char *) "otherW", NULL
44970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44972 if (SWIG_arg_fail(1)) SWIG_fail
;
44973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44974 if (SWIG_arg_fail(2)) SWIG_fail
;
44976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44977 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44979 wxPyEndAllowThreads(__tstate
);
44980 if (PyErr_Occurred()) SWIG_fail
;
44983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44991 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44992 PyObject
*resultobj
;
44993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44994 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44995 wxWindow
*arg3
= (wxWindow
*) 0 ;
44997 PyObject
* obj0
= 0 ;
44998 PyObject
* obj1
= 0 ;
44999 PyObject
* obj2
= 0 ;
45000 char *kwnames
[] = {
45001 (char *) "self",(char *) "constraints",(char *) "win", NULL
45004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45006 if (SWIG_arg_fail(1)) SWIG_fail
;
45007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45008 if (SWIG_arg_fail(2)) SWIG_fail
;
45009 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45010 if (SWIG_arg_fail(3)) SWIG_fail
;
45012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45013 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45015 wxPyEndAllowThreads(__tstate
);
45016 if (PyErr_Occurred()) SWIG_fail
;
45019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45027 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45028 PyObject
*resultobj
;
45029 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45031 wxWindow
*arg3
= (wxWindow
*) 0 ;
45032 wxWindow
*arg4
= (wxWindow
*) 0 ;
45034 PyObject
* obj0
= 0 ;
45035 PyObject
* obj1
= 0 ;
45036 PyObject
* obj2
= 0 ;
45037 PyObject
* obj3
= 0 ;
45038 char *kwnames
[] = {
45039 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45044 if (SWIG_arg_fail(1)) SWIG_fail
;
45046 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45047 if (SWIG_arg_fail(2)) SWIG_fail
;
45049 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45050 if (SWIG_arg_fail(3)) SWIG_fail
;
45051 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45052 if (SWIG_arg_fail(4)) SWIG_fail
;
45054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45055 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45057 wxPyEndAllowThreads(__tstate
);
45058 if (PyErr_Occurred()) SWIG_fail
;
45061 resultobj
= SWIG_From_int((int)(result
));
45069 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45072 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45074 return Py_BuildValue((char *)"");
45076 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45077 PyObject
*resultobj
;
45078 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45079 wxIndividualLayoutConstraint
*result
;
45080 PyObject
* obj0
= 0 ;
45081 char *kwnames
[] = {
45082 (char *) "self", NULL
45085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45087 if (SWIG_arg_fail(1)) SWIG_fail
;
45088 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45097 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45098 PyObject
*resultobj
;
45099 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45100 wxIndividualLayoutConstraint
*result
;
45101 PyObject
* obj0
= 0 ;
45102 char *kwnames
[] = {
45103 (char *) "self", NULL
45106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45108 if (SWIG_arg_fail(1)) SWIG_fail
;
45109 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45118 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45119 PyObject
*resultobj
;
45120 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45121 wxIndividualLayoutConstraint
*result
;
45122 PyObject
* obj0
= 0 ;
45123 char *kwnames
[] = {
45124 (char *) "self", NULL
45127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45129 if (SWIG_arg_fail(1)) SWIG_fail
;
45130 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45139 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45140 PyObject
*resultobj
;
45141 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45142 wxIndividualLayoutConstraint
*result
;
45143 PyObject
* obj0
= 0 ;
45144 char *kwnames
[] = {
45145 (char *) "self", NULL
45148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45150 if (SWIG_arg_fail(1)) SWIG_fail
;
45151 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45160 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45161 PyObject
*resultobj
;
45162 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45163 wxIndividualLayoutConstraint
*result
;
45164 PyObject
* obj0
= 0 ;
45165 char *kwnames
[] = {
45166 (char *) "self", NULL
45169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45171 if (SWIG_arg_fail(1)) SWIG_fail
;
45172 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45181 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45182 PyObject
*resultobj
;
45183 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45184 wxIndividualLayoutConstraint
*result
;
45185 PyObject
* obj0
= 0 ;
45186 char *kwnames
[] = {
45187 (char *) "self", NULL
45190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45192 if (SWIG_arg_fail(1)) SWIG_fail
;
45193 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45202 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45203 PyObject
*resultobj
;
45204 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45205 wxIndividualLayoutConstraint
*result
;
45206 PyObject
* obj0
= 0 ;
45207 char *kwnames
[] = {
45208 (char *) "self", NULL
45211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45213 if (SWIG_arg_fail(1)) SWIG_fail
;
45214 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45223 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45224 PyObject
*resultobj
;
45225 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45226 wxIndividualLayoutConstraint
*result
;
45227 PyObject
* obj0
= 0 ;
45228 char *kwnames
[] = {
45229 (char *) "self", NULL
45232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45234 if (SWIG_arg_fail(1)) SWIG_fail
;
45235 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45244 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45245 PyObject
*resultobj
;
45246 wxLayoutConstraints
*result
;
45247 char *kwnames
[] = {
45251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45254 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45256 wxPyEndAllowThreads(__tstate
);
45257 if (PyErr_Occurred()) SWIG_fail
;
45259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45266 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45267 PyObject
*resultobj
;
45268 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45269 wxWindow
*arg2
= (wxWindow
*) 0 ;
45270 int *arg3
= (int *) 0 ;
45274 PyObject
* obj0
= 0 ;
45275 PyObject
* obj1
= 0 ;
45276 char *kwnames
[] = {
45277 (char *) "self",(char *) "win", NULL
45280 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45283 if (SWIG_arg_fail(1)) SWIG_fail
;
45284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45285 if (SWIG_arg_fail(2)) SWIG_fail
;
45287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45288 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45290 wxPyEndAllowThreads(__tstate
);
45291 if (PyErr_Occurred()) SWIG_fail
;
45294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45297 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45304 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45305 PyObject
*resultobj
;
45306 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45308 PyObject
* obj0
= 0 ;
45309 char *kwnames
[] = {
45310 (char *) "self", NULL
45313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45315 if (SWIG_arg_fail(1)) SWIG_fail
;
45317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45318 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45320 wxPyEndAllowThreads(__tstate
);
45321 if (PyErr_Occurred()) SWIG_fail
;
45324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45332 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45335 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45337 return Py_BuildValue((char *)"");
45339 static PyMethodDef SwigMethods
[] = {
45340 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45341 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45342 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45345 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45366 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45379 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45394 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45448 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45476 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45495 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45497 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45505 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45518 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45530 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45534 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45540 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45550 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45560 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45567 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45647 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45649 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45651 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45653 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45655 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45657 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45663 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45665 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45667 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45669 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45685 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45703 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45706 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45709 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45726 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45732 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45738 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45801 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45844 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45854 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45860 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45862 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45864 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45867 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45871 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45874 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45877 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45879 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45884 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45892 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45896 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45899 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45905 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45922 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45927 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45929 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45933 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45937 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45954 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45965 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45970 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45975 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46024 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46051 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46055 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46065 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46237 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46279 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46294 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46297 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46352 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46379 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46423 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46431 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46450 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46451 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46488 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46518 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46521 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46525 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46528 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46538 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46550 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46562 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46572 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46582 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46596 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46603 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46604 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46605 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46606 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46607 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46612 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46639 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46651 { NULL
, NULL
, 0, NULL
}
46655 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46657 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46658 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46660 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46661 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46663 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46664 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46666 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46667 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46669 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46670 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46672 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46673 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46675 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46676 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46678 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46679 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46681 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46682 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46684 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46685 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46687 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46688 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46690 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46691 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46693 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46694 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46696 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46697 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46699 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46700 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46702 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46703 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46705 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46706 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46708 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46711 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46712 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46714 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46717 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46718 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46720 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46723 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46724 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46726 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46727 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46729 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46730 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46732 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46733 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46735 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46736 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46738 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46739 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46741 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46744 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46745 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46747 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46748 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46750 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46753 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46754 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46756 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46757 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46759 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46760 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46762 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46763 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46765 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46766 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46768 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46769 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46771 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46774 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46775 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46777 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46778 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46780 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46783 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46786 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46787 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46789 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46790 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46792 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46793 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46795 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46796 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46798 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46799 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46801 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46802 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46804 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46805 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46807 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46808 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46810 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46811 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46813 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46814 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46816 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46819 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46820 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46822 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46823 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46825 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46826 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46828 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46829 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46831 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46832 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46834 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46835 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46837 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46838 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46840 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46841 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46843 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46844 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46846 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46847 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46849 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46850 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46852 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46853 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46855 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46856 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46858 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46859 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46861 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46862 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46864 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46865 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46867 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46868 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46870 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46871 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46873 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46874 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46876 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46877 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46879 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46880 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46882 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46883 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46885 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46886 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46888 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46889 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46891 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46892 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46894 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46895 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46897 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46900 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46903 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46906 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46909 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46912 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46915 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46918 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) ((wxSizer
*) x
));
46921 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46924 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46927 static void *_p_wxEventTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) ((wxEvent
*) x
));
46930 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46933 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46936 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46939 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46942 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46945 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46948 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46951 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46954 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46957 static void *_p_wxControlTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46960 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46963 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46966 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46969 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46972 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46975 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46978 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46981 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46984 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46987 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46990 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46993 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46996 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46999 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47002 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47005 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47008 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47011 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47014 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47017 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47020 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47023 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47026 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47029 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47032 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47035 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47038 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47041 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47044 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47047 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47050 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47053 static void *_p_wxImageTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) ((wxImage
*) x
));
47056 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47059 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47062 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47065 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47068 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47071 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47074 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47077 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47080 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47083 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47084 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47086 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47087 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47089 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47090 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47092 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47093 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47095 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47096 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47098 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47101 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47102 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47104 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47105 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47107 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47108 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47110 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47113 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47116 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47119 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47120 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47122 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47123 return (void *)((wxWindow
*) ((wxControl
*) x
));
47125 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47126 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47128 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47129 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47131 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47132 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47134 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47135 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47137 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47138 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47140 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47141 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47143 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47144 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47146 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47147 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47149 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47150 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47152 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47153 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47155 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47156 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47158 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47159 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47290 static swig_type_info
*swig_types_initial
[] = {
47291 _swigt__p_wxLayoutConstraints
,
47292 _swigt__p_wxRealPoint
,
47293 _swigt__p_wxSizerItem
,
47294 _swigt__p_wxGBSizerItem
,
47295 _swigt__p_wxScrollEvent
,
47296 _swigt__p_wxEventLoop
,
47297 _swigt__p_wxIndividualLayoutConstraint
,
47299 _swigt__p_wxBoxSizer
,
47300 _swigt__p_wxStaticBoxSizer
,
47301 _swigt__p_wxGridBagSizer
,
47302 _swigt__p_wxAcceleratorEntry
,
47303 _swigt__p_wxUpdateUIEvent
,
47307 _swigt__p_wxGridSizer
,
47308 _swigt__p_wxFlexGridSizer
,
47309 _swigt__p_wxInitDialogEvent
,
47310 _swigt__p_wxItemContainer
,
47311 _swigt__p_wxNcPaintEvent
,
47312 _swigt__p_wxPaintEvent
,
47313 _swigt__p_wxSysColourChangedEvent
,
47314 _swigt__p_wxMouseCaptureChangedEvent
,
47315 _swigt__p_wxDisplayChangedEvent
,
47316 _swigt__p_wxPaletteChangedEvent
,
47317 _swigt__p_wxControl
,
47319 _swigt__p_wxMenuBarBase
,
47320 _swigt__p_wxSetCursorEvent
,
47321 _swigt__p_wxFSFile
,
47324 _swigt__std__ptrdiff_t
,
47325 _swigt__p_wxRegion
,
47326 _swigt__p_wxPoint2D
,
47330 _swigt__p_wxPySizer
,
47331 _swigt__p_wxVisualAttributes
,
47332 _swigt__p_wxNotifyEvent
,
47333 _swigt__p_wxPyEvent
,
47334 _swigt__p_wxPropagationDisabler
,
47335 _swigt__p_form_ops_t
,
47336 _swigt__p_wxAppTraits
,
47337 _swigt__p_wxArrayString
,
47338 _swigt__p_wxShowEvent
,
47339 _swigt__p_wxToolTip
,
47340 _swigt__p_wxMoveEvent
,
47341 _swigt__p_wxSizeEvent
,
47342 _swigt__p_wxActivateEvent
,
47343 _swigt__p_wxIconizeEvent
,
47344 _swigt__p_wxMaximizeEvent
,
47345 _swigt__p_wxQueryNewPaletteEvent
,
47346 _swigt__p_wxWindowCreateEvent
,
47347 _swigt__p_wxIdleEvent
,
47348 _swigt__p_wxDateEvent
,
47349 _swigt__p_wxMenuItem
,
47350 _swigt__p_wxStaticBox
,
47352 _swigt__p_wxDuplexMode
,
47353 _swigt__p_wxTIFFHandler
,
47354 _swigt__p_wxXPMHandler
,
47355 _swigt__p_wxPNMHandler
,
47356 _swigt__p_wxJPEGHandler
,
47357 _swigt__p_wxPCXHandler
,
47358 _swigt__p_wxGIFHandler
,
47359 _swigt__p_wxPNGHandler
,
47360 _swigt__p_wxANIHandler
,
47361 _swigt__p_wxMemoryFSHandler
,
47362 _swigt__p_wxZipFSHandler
,
47363 _swigt__p_wxInternetFSHandler
,
47364 _swigt__p_wxPyFileSystemHandler
,
47365 _swigt__p_wxEvtHandler
,
47366 _swigt__p_wxCURHandler
,
47367 _swigt__p_wxICOHandler
,
47368 _swigt__p_wxBMPHandler
,
47369 _swigt__p_wxImageHandler
,
47370 _swigt__p_wxFileSystemHandler
,
47372 _swigt__p_wxButton
,
47373 _swigt__p_wxGBSpan
,
47374 _swigt__p_wxPropagateOnce
,
47375 _swigt__p_wxAcceleratorTable
,
47376 _swigt__p_wxStdDialogButtonSizer
,
47378 _swigt__p_wxGBPosition
,
47381 _swigt__p_wxScrollWinEvent
,
47382 _swigt__p_wxPaperSize
,
47383 _swigt__p_wxImageHistogram
,
47385 _swigt__p_wxCursor
,
47386 _swigt__p_wxObject
,
47387 _swigt__p_wxInputStream
,
47388 _swigt__p_wxOutputStream
,
47389 _swigt__p_wxPyInputStream
,
47390 _swigt__p_wxDateTime
,
47391 _swigt__p_wxKeyEvent
,
47392 _swigt__p_wxNavigationKeyEvent
,
47393 _swigt__p_wxWindowDestroyEvent
,
47394 _swigt__p_unsigned_long
,
47395 _swigt__p_wxWindow
,
47396 _swigt__p_wxMenuBar
,
47397 _swigt__p_wxFileSystem
,
47398 _swigt__p_wxBitmap
,
47399 _swigt__unsigned_int
,
47400 _swigt__p_unsigned_int
,
47401 _swigt__p_wxMenuEvent
,
47402 _swigt__p_wxContextMenuEvent
,
47403 _swigt__p_unsigned_char
,
47404 _swigt__p_wxEraseEvent
,
47405 _swigt__p_wxMouseEvent
,
47406 _swigt__p_wxCloseEvent
,
47408 _swigt__p_wxCommandEvent
,
47409 _swigt__p_wxPyCommandEvent
,
47410 _swigt__p_wxPyDropTarget
,
47411 _swigt__p_wxQuantize
,
47412 _swigt__p_wxFocusEvent
,
47413 _swigt__p_wxChildFocusEvent
,
47414 _swigt__p_wxDropFilesEvent
,
47415 _swigt__p_wxControlWithItems
,
47416 _swigt__p_wxColour
,
47417 _swigt__p_wxValidator
,
47418 _swigt__p_wxPyValidator
,
47423 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47425 static swig_const_info swig_const_table
[] = {
47426 {0, 0, 0, 0.0, 0, 0}};
47437 /* Python-specific SWIG API */
47438 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47439 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47440 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47442 /* -----------------------------------------------------------------------------
47443 * global variable support code.
47444 * ----------------------------------------------------------------------------- */
47446 typedef struct swig_globalvar
{
47447 char *name
; /* Name of global variable */
47448 PyObject
*(*get_attr
)(); /* Return the current value */
47449 int (*set_attr
)(PyObject
*); /* Set the value */
47450 struct swig_globalvar
*next
;
47453 typedef struct swig_varlinkobject
{
47455 swig_globalvar
*vars
;
47456 } swig_varlinkobject
;
47459 swig_varlink_repr(swig_varlinkobject
*v
) {
47461 return PyString_FromString("<Swig global variables>");
47465 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47466 swig_globalvar
*var
;
47468 fprintf(fp
,"Swig global variables { ");
47469 for (var
= v
->vars
; var
; var
=var
->next
) {
47470 fprintf(fp
,"%s", var
->name
);
47471 if (var
->next
) fprintf(fp
,", ");
47473 fprintf(fp
," }\n");
47478 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47479 swig_globalvar
*var
= v
->vars
;
47481 if (strcmp(var
->name
,n
) == 0) {
47482 return (*var
->get_attr
)();
47486 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47491 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47492 swig_globalvar
*var
= v
->vars
;
47494 if (strcmp(var
->name
,n
) == 0) {
47495 return (*var
->set_attr
)(p
);
47499 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47503 static PyTypeObject varlinktype
= {
47504 PyObject_HEAD_INIT(0)
47505 0, /* Number of items in variable part (ob_size) */
47506 (char *)"swigvarlink", /* Type name (tp_name) */
47507 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47508 0, /* Itemsize (tp_itemsize) */
47509 0, /* Deallocator (tp_dealloc) */
47510 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47511 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47512 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47513 0, /* tp_compare */
47514 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47515 0, /* tp_as_number */
47516 0, /* tp_as_sequence */
47517 0, /* tp_as_mapping */
47521 0, /* tp_getattro */
47522 0, /* tp_setattro */
47523 0, /* tp_as_buffer */
47526 #if PY_VERSION_HEX >= 0x02000000
47527 0, /* tp_traverse */
47530 #if PY_VERSION_HEX >= 0x02010000
47531 0, /* tp_richcompare */
47532 0, /* tp_weaklistoffset */
47534 #if PY_VERSION_HEX >= 0x02020000
47535 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47537 #if PY_VERSION_HEX >= 0x02030000
47540 #ifdef COUNT_ALLOCS
47541 0,0,0,0 /* tp_alloc -> tp_next */
47545 /* Create a variable linking object for use later */
47547 SWIG_Python_newvarlink(void) {
47548 swig_varlinkobject
*result
= 0;
47549 result
= PyMem_NEW(swig_varlinkobject
,1);
47550 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47551 result
->ob_type
= &varlinktype
;
47553 result
->ob_refcnt
= 0;
47554 Py_XINCREF((PyObject
*) result
);
47555 return ((PyObject
*) result
);
47559 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47560 swig_varlinkobject
*v
;
47561 swig_globalvar
*gv
;
47562 v
= (swig_varlinkobject
*) p
;
47563 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47564 gv
->name
= (char *) malloc(strlen(name
)+1);
47565 strcpy(gv
->name
,name
);
47566 gv
->get_attr
= get_attr
;
47567 gv
->set_attr
= set_attr
;
47568 gv
->next
= v
->vars
;
47572 /* -----------------------------------------------------------------------------
47573 * constants/methods manipulation
47574 * ----------------------------------------------------------------------------- */
47576 /* Install Constants */
47578 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47581 for (i
= 0; constants
[i
].type
; i
++) {
47582 switch(constants
[i
].type
) {
47584 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47586 case SWIG_PY_FLOAT
:
47587 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47589 case SWIG_PY_STRING
:
47590 if (constants
[i
].pvalue
) {
47591 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47593 Py_INCREF(Py_None
);
47597 case SWIG_PY_POINTER
:
47598 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47600 case SWIG_PY_BINARY
:
47601 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47608 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47614 /* -----------------------------------------------------------------------------*/
47615 /* Fix SwigMethods to carry the callback ptrs when needed */
47616 /* -----------------------------------------------------------------------------*/
47619 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47620 swig_const_info
*const_table
,
47621 swig_type_info
**types
,
47622 swig_type_info
**types_initial
) {
47624 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47625 char *c
= methods
[i
].ml_doc
;
47626 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47628 swig_const_info
*ci
= 0;
47629 char *name
= c
+ 10;
47630 for (j
= 0; const_table
[j
].type
; j
++) {
47631 if (strncmp(const_table
[j
].name
, name
,
47632 strlen(const_table
[j
].name
)) == 0) {
47633 ci
= &(const_table
[j
]);
47638 size_t shift
= (ci
->ptype
) - types
;
47639 swig_type_info
*ty
= types_initial
[shift
];
47640 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47641 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47642 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47644 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47645 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47647 strncpy(buff
, "swig_ptr: ", 10);
47649 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47650 methods
[i
].ml_doc
= ndoc
;
47656 /* -----------------------------------------------------------------------------*
47657 * Initialize type list
47658 * -----------------------------------------------------------------------------*/
47660 #if PY_MAJOR_VERSION < 2
47661 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47662 is copied out of Python/modsupport.c in python version 2.3.4 */
47664 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47667 if (!PyModule_Check(m
)) {
47668 PyErr_SetString(PyExc_TypeError
,
47669 "PyModule_AddObject() needs module as first arg");
47673 PyErr_SetString(PyExc_TypeError
,
47674 "PyModule_AddObject() needs non-NULL value");
47678 dict
= PyModule_GetDict(m
);
47679 if (dict
== NULL
) {
47680 /* Internal error -- modules must have a dict! */
47681 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47682 PyModule_GetName(m
));
47685 if (PyDict_SetItemString(dict
, name
, o
))
47692 static swig_type_info
**
47693 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47694 static PyMethodDef swig_empty_runtime_method_table
[] = {
47696 NULL
, NULL
, 0, NULL
47700 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47701 swig_empty_runtime_method_table
);
47702 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47703 if (pointer
&& module) {
47704 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47706 return type_list_handle
;
47709 static swig_type_info
**
47710 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47711 swig_type_info
**type_pointer
;
47713 /* first check if module already created */
47714 type_pointer
= SWIG_Python_GetTypeListHandle();
47715 if (type_pointer
) {
47716 return type_pointer
;
47718 /* create a new module and variable */
47719 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47727 /* -----------------------------------------------------------------------------*
47728 * Partial Init method
47729 * -----------------------------------------------------------------------------*/
47731 #ifdef SWIG_LINK_RUNTIME
47735 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47741 SWIGEXPORT(void) SWIG_init(void) {
47742 static PyObject
*SWIG_globals
= 0;
47743 static int typeinit
= 0;
47746 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47748 /* Fix SwigMethods to carry the callback ptrs when needed */
47749 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47751 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47752 d
= PyModule_GetDict(m
);
47755 #ifdef SWIG_LINK_RUNTIME
47756 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47758 # ifndef SWIG_STATIC_RUNTIME
47759 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47762 for (i
= 0; swig_types_initial
[i
]; i
++) {
47763 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47767 SWIG_InstallConstants(d
,swig_const_table
);
47770 #ifndef wxPyUSE_EXPORT
47771 // Make our API structure a CObject so other modules can import it
47772 // from this module.
47773 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47774 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47779 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47782 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47785 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47788 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47791 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47794 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47797 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47800 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47803 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47806 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47809 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47812 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47815 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47818 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47821 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47824 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47827 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47830 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47833 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47836 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47839 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47842 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47845 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47848 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47851 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47854 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47857 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47860 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47863 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47866 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47869 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47872 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47875 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47878 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47881 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47884 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47887 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47890 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47893 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47896 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47899 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47902 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47905 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47908 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47911 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47914 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47917 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47920 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47923 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47926 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47929 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47932 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47935 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47938 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47941 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47944 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47947 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47950 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47953 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47956 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47959 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47962 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47965 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47968 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47971 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47974 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47977 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47980 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47983 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47986 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47989 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47992 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47995 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47998 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48001 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48004 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48007 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48010 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48013 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48016 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48019 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48022 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48025 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48028 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48031 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48034 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48037 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48040 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48043 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48046 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48049 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48052 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48055 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48058 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48061 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48064 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48067 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48070 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48073 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48076 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48079 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48082 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48085 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48088 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48091 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48094 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48097 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48100 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48103 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48106 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48109 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48112 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48115 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48118 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48121 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48124 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48127 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48130 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48133 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48136 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48139 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48142 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48145 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48148 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48151 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48154 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48157 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48160 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48163 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48166 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48169 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48172 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48175 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48178 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48181 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48184 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48187 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48190 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48193 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48196 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48199 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48202 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48205 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48208 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48211 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48214 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48217 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48220 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48223 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48226 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48229 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48232 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48235 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48238 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48241 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48244 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48247 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48250 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48253 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48256 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48259 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48262 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48265 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48268 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48271 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48274 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48277 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48280 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48283 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48286 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48289 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48292 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48295 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48298 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48301 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48304 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48307 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48310 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48313 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48316 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48319 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48322 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48325 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48328 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48331 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48334 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48337 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48340 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48343 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48346 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48349 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48352 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48355 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48358 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48361 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48364 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48367 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48370 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48373 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48376 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48379 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48382 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48385 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48388 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48391 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48394 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48397 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48400 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48403 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48406 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48409 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48412 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48415 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48418 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48421 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48424 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48427 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48430 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48433 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48436 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48439 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48442 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48445 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48448 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48451 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48454 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48457 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48460 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48463 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48466 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48469 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48472 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48475 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48478 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48481 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48484 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48487 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48490 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48493 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48496 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48499 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48502 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48505 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48508 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48511 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48514 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48517 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48520 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48523 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48526 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48529 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48532 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48535 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48538 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48541 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48544 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48547 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48550 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48553 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48556 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48559 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48562 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48565 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48568 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48571 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48574 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48577 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48580 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48583 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48586 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48589 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48592 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48595 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48598 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48601 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48604 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48607 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48610 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48613 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48616 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48619 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48622 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48625 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48628 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48631 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48634 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48637 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48640 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48643 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48646 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48649 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48652 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48655 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48658 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48661 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48664 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48667 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48670 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48673 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48676 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48679 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48682 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48685 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48688 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48691 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48694 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48697 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48700 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48703 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48706 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48709 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48712 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48715 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48718 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48721 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48724 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48727 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48730 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48733 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48736 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48739 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48742 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48745 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48748 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48751 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48754 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48757 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48760 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48763 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48766 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48769 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48772 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48775 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48778 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48781 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48784 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48787 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48790 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48793 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48796 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48799 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48802 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48805 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48808 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48811 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48814 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48817 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48820 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48823 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48826 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48829 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48832 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48835 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48838 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48841 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48844 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48847 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48850 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48853 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48856 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48859 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48862 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48865 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48868 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48871 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48874 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48877 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48880 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48883 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48886 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48889 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48892 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48895 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48898 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48901 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48904 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48907 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48910 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48913 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48916 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48919 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48922 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48925 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48928 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48931 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48934 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48937 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48940 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48943 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48946 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48949 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48952 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48955 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48958 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48961 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48964 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48967 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48970 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48973 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48976 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48979 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48982 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48985 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48988 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48991 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48994 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48997 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49000 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49003 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49006 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49009 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49012 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49015 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49018 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49021 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49024 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49027 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49030 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49033 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49036 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49039 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49042 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49045 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49048 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49051 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49054 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49057 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49060 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49063 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49066 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49069 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49072 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49075 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49078 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49081 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49084 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49087 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49090 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49093 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49096 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49099 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49102 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49105 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49108 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49111 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49114 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49117 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49120 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49123 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49126 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49129 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49132 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49135 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49138 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49141 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49144 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49147 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49150 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49153 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49156 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49159 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49162 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49165 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49168 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49171 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49174 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49177 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49180 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49183 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49186 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49189 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49192 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49195 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49198 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49201 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49204 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49207 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49210 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49213 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49216 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49219 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49222 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49225 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49228 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49231 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49234 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49237 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49240 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49243 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49246 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49249 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49252 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49255 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49258 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49261 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49264 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49267 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49270 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49273 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49276 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49279 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49282 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49285 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49288 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49291 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49294 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49297 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49300 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49303 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49306 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49309 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49312 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49315 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49318 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49321 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49324 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49327 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49330 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49333 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49336 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49339 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49342 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49345 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49348 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49351 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49354 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49357 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49360 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49363 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49366 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49369 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49372 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49375 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49378 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49381 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49384 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49387 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49390 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49393 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49396 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49399 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49402 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49405 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49408 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49411 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49414 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49417 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49420 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49423 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49426 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49429 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49432 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49435 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49437 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49438 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49440 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49443 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49446 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49449 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49452 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49455 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49458 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49461 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49464 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49467 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49470 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49473 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49476 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49479 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49482 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49485 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49488 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49491 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49494 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49497 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49500 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49503 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49506 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49509 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49512 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49515 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49518 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49521 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49524 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49527 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49530 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49533 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49536 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49539 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49542 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49545 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49548 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49551 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49554 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49557 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49560 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49563 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49566 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49569 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49572 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49575 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49578 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49581 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49584 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49587 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49590 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49592 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49593 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49595 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49598 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49601 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49604 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49607 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49610 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49613 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49616 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49618 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49619 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49620 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49621 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49622 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49623 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49624 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49625 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49626 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49627 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49629 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49632 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49634 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49635 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49636 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49637 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49638 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49639 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49641 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49644 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49647 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49650 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49653 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49656 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49659 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49662 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49665 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49668 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49671 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49674 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49677 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49680 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49683 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49686 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49688 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49689 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49690 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49691 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49692 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49693 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49696 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49697 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49698 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49699 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49700 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49701 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49702 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49703 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49704 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49706 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49707 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49708 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49709 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49710 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49711 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49712 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49713 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49714 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49715 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49716 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49717 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49718 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49719 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49720 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49721 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49722 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49723 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49724 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49725 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49726 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49727 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49728 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49729 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49730 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49731 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49732 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49733 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49734 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49735 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49736 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49737 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49738 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49739 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49740 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49741 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49742 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49743 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49744 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49745 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49746 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49747 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49748 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49749 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49750 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49756 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49757 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49758 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49759 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49760 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49761 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49762 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49763 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49764 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49765 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49766 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49767 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49768 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49769 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49770 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49771 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49772 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49773 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49774 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49775 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49776 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49777 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49778 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49779 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49780 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49781 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49782 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49783 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49784 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49785 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49786 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49787 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49788 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49789 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49790 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49791 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49792 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49793 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49794 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49795 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49797 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49798 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49799 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49801 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49802 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49804 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49807 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49810 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49813 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49816 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49819 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49822 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49825 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49828 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49831 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49834 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49837 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49840 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49842 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49844 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49847 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49850 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49853 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49856 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49859 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49861 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49862 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49864 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49867 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49870 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49873 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49876 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49878 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49879 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49881 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49884 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49887 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49889 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49891 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49894 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49897 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49900 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49903 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49906 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49909 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49912 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49915 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49918 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49921 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49924 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49927 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49930 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49933 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49936 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49939 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49942 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49945 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49948 // Initialize threading, some globals and such
49952 // Although these are defined in __version__ they need to be here too so
49953 // that an assert can be done to ensure that the wxPython and the wxWindows
49955 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49956 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49957 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));