1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,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 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 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();
2633 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2635 void wxApp_CleanUp() {
2640 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2644 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2646 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2651 SWIG_type_error("char *", obj
);
2657 SWIGINTERN PyObject
*
2658 SWIG_FromCharPtr(const char* cptr
)
2661 size_t size
= strlen(cptr
);
2662 if (size
> INT_MAX
) {
2663 return SWIG_NewPointerObj((char*)(cptr
),
2664 SWIG_TypeQuery("char *"), 0);
2667 return PyString_FromStringAndSize(cptr
, size
);
2669 return PyString_FromString(cptr
);
2680 // A dummy class that raises an exception if used...
2684 wxEventLoop() { wxPyRaiseNotImplemented(); }
2685 int Run() { return 0; }
2686 void Exit(int rc
= 0) {}
2687 bool Pending() const { return false; }
2688 bool Dispatch() { return false; }
2689 bool IsRunning() const { return false; }
2690 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2691 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2696 #include <wx/evtloop.h>
2702 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2703 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2704 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2705 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2706 wxWindowList
& list
= self
->GetChildren();
2707 return wxPy_ConvertList(&list
);
2709 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2711 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2716 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2723 static long wxWindow_GetHandle(wxWindow
*self
){
2724 return wxPyGetWinHandle(self
);
2726 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2727 self
->AssociateHandle((WXWidget
)handle
);
2730 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2731 return wxWindow::FindWindowById(id
, parent
);
2734 wxWindow
* wxFindWindowByName( const wxString
& name
,
2735 const wxWindow
*parent
= NULL
) {
2736 return wxWindow::FindWindowByName(name
, parent
);
2739 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2740 const wxWindow
*parent
= NULL
) {
2741 return wxWindow::FindWindowByLabel(label
, parent
);
2746 #include <wx/msw/private.h> // to get wxGetWindowId
2750 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2752 WXHWND hWnd
= (WXHWND
)_hWnd
;
2753 long id
= wxGetWindowId(hWnd
);
2754 wxWindow
* win
= new wxWindow
;
2755 parent
->AddChild(win
);
2756 win
->SetEventHandler(win
);
2759 win
->SubclassWin(hWnd
);
2760 win
->AdoptAttributesFromHWND();
2761 win
->SetupColours();
2764 wxPyRaiseNotImplemented();
2770 PyObject
* GetTopLevelWindows() {
2771 return wxPy_ConvertList(&wxTopLevelWindows
);
2775 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2777 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2779 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2781 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2782 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2783 wxMenuItemList
& list
= self
->GetMenuItems();
2784 return wxPy_ConvertList(&list
);
2786 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2787 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2788 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2789 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2790 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2791 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2792 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2793 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2794 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2795 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2796 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2797 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2798 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2799 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2800 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2801 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2802 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2804 wxPyClientData
* data
= new wxPyClientData(clientData
);
2805 return self
->Append(item
, data
);
2807 return self
->Append(item
);
2809 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2811 wxPyClientData
* data
= new wxPyClientData(clientData
);
2812 return self
->Insert(item
, pos
, data
);
2814 return self
->Insert(item
, pos
);
2816 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2817 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2819 Py_INCREF(data
->m_obj
);
2826 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->SetClientObject(n
, data
);
2832 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2833 wxPyUserData
* data
= NULL
;
2835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2836 data
= new wxPyUserData(userData
);
2837 wxPyEndBlockThreads(blocked
);
2839 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2841 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2842 wxPyUserData
* data
= NULL
;
2844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2845 data
= new wxPyUserData(userData
);
2846 wxPyEndBlockThreads(blocked
);
2848 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2850 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2851 wxPyUserData
* data
= NULL
;
2853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2854 data
= new wxPyUserData(userData
);
2855 wxPyEndBlockThreads(blocked
);
2857 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2862 SWIG_CheckDoubleInRange(double value
, double min_value
,
2863 double max_value
, const char* errmsg
)
2865 if (value
< min_value
) {
2867 PyErr_Format(PyExc_OverflowError
,
2868 "value %g is less than %s minimum %g",
2869 value
, errmsg
, min_value
);
2872 } else if (value
> max_value
) {
2874 PyErr_Format(PyExc_OverflowError
,
2875 "value %g is greater than %s maximum %g",
2876 value
, errmsg
, max_value
);
2885 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2887 const char* errmsg
= val
? "float" : (char*)0;
2889 if (SWIG_AsVal_double(obj
, &v
)) {
2890 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2891 if (val
) *val
= (float)(v
);
2900 SWIG_type_error(errmsg
, obj
);
2906 SWIGINTERNSHORT
float
2907 SWIG_As_float(PyObject
* obj
)
2910 if (!SWIG_AsVal_float(obj
, &v
)) {
2912 this is needed to make valgrind/purify happier.
2914 memset((void*)&v
, 0, sizeof(float));
2921 SWIG_Check_float(PyObject
* obj
)
2923 return SWIG_AsVal_float(obj
, (float*)0);
2927 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2928 #define SWIG_From_float PyFloat_FromDouble
2931 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2932 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2934 Py_INCREF(data
->m_obj
);
2942 // Figure out the type of the sizer item
2944 struct wxPySizerItemInfo
{
2946 : window(NULL
), sizer(NULL
), gotSize(false),
2947 size(wxDefaultSize
), gotPos(false), pos(-1)
2958 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2960 wxPySizerItemInfo info
;
2962 wxSize
* sizePtr
= &size
;
2964 // Find out what the type of the item is
2966 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2971 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2975 // try wxSize or (w,h)
2976 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2977 info
.size
= *sizePtr
;
2978 info
.gotSize
= true;
2982 if (checkIdx
&& PyInt_Check(item
)) {
2983 info
.pos
= PyInt_AsLong(item
);
2989 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2990 // no expected type, figure out what kind of error message to generate
2991 if ( !checkSize
&& !checkIdx
)
2992 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2993 else if ( checkSize
&& !checkIdx
)
2994 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2995 else if ( !checkSize
&& checkIdx
)
2996 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2998 // can this one happen?
2999 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3005 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3006 if (!self
->GetClientObject())
3007 self
->SetClientObject(new wxPyOORClientData(_self
));
3009 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3011 wxPyUserData
* data
= NULL
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3013 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3014 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3015 data
= new wxPyUserData(userData
);
3016 wxPyEndBlockThreads(blocked
);
3018 // Now call the real Add method if a valid item type was found
3020 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3021 else if ( info
.sizer
)
3022 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3023 else if (info
.gotSize
)
3024 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3025 proportion
, flag
, border
, data
);
3029 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3031 wxPyUserData
* data
= NULL
;
3032 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3033 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3034 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3035 data
= new wxPyUserData(userData
);
3036 wxPyEndBlockThreads(blocked
);
3038 // Now call the real Insert method if a valid item type was found
3040 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3041 else if ( info
.sizer
)
3042 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3043 else if (info
.gotSize
)
3044 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3045 proportion
, flag
, border
, data
);
3049 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3051 wxPyUserData
* data
= NULL
;
3052 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3053 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3054 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3055 data
= new wxPyUserData(userData
);
3056 wxPyEndBlockThreads(blocked
);
3058 // Now call the real Prepend method if a valid item type was found
3060 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3061 else if ( info
.sizer
)
3062 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3063 else if (info
.gotSize
)
3064 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3065 proportion
, flag
, border
, data
);
3069 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->Remove(info
.window
);
3075 else if ( info
.sizer
)
3076 return self
->Remove(info
.sizer
);
3077 else if ( info
.gotPos
)
3078 return self
->Remove(info
.pos
);
3082 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->Detach(info
.window
);
3088 else if ( info
.sizer
)
3089 return self
->Detach(info
.sizer
);
3090 else if ( info
.gotPos
)
3091 return self
->Detach(info
.pos
);
3095 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3098 wxPyEndBlockThreads(blocked
);
3100 return self
->GetItem(info
.window
);
3101 else if ( info
.sizer
)
3102 return self
->GetItem(info
.sizer
);
3103 else if ( info
.gotPos
)
3104 return self
->GetItem(info
.pos
);
3108 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3109 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3110 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3111 wxPyEndBlockThreads(blocked
);
3113 self
->SetItemMinSize(info
.window
, size
);
3114 else if ( info
.sizer
)
3115 self
->SetItemMinSize(info
.sizer
, size
);
3116 else if ( info
.gotPos
)
3117 self
->SetItemMinSize(info
.pos
, size
);
3119 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3120 wxSizerItemList
& list
= self
->GetChildren();
3121 return wxPy_ConvertList(&list
);
3123 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3125 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3126 wxPyEndBlockThreads(blocked
);
3128 return self
->Show(info
.window
, show
, recursive
);
3129 else if ( info
.sizer
)
3130 return self
->Show(info
.sizer
, show
, recursive
);
3131 else if ( info
.gotPos
)
3132 return self
->Show(info
.pos
, show
);
3136 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3139 wxPyEndBlockThreads(blocked
);
3141 return self
->IsShown(info
.window
);
3142 else if ( info
.sizer
)
3143 return self
->IsShown(info
.sizer
);
3144 else if ( info
.gotPos
)
3145 return self
->IsShown(info
.pos
);
3151 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3152 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3153 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3158 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3160 if (source
== Py_None
) {
3161 **obj
= wxGBPosition(-1,-1);
3164 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3167 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3169 if (source
== Py_None
) {
3170 **obj
= wxGBSpan(-1,-1);
3173 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3177 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3181 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3182 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3183 PyObject
* tup
= PyTuple_New(2);
3184 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3185 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3186 wxPyEndBlockThreads(blocked
);
3189 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3190 self
->SetRowspan(rowspan
);
3191 self
->SetColspan(colspan
);
3193 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3195 PyObject
* tup
= PyTuple_New(2);
3196 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3197 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3198 wxPyEndBlockThreads(blocked
);
3201 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3202 wxPyUserData
* data
= NULL
;
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 data
= new wxPyUserData(userData
);
3206 wxPyEndBlockThreads(blocked
);
3208 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3210 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3211 wxPyUserData
* data
= NULL
;
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 data
= new wxPyUserData(userData
);
3215 wxPyEndBlockThreads(blocked
);
3217 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3219 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3220 wxPyUserData
* data
= NULL
;
3222 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3223 data
= new wxPyUserData(userData
);
3224 wxPyEndBlockThreads(blocked
);
3226 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3228 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3230 self
->GetEndPos(row
, col
);
3231 return wxGBPosition(row
, col
);
3233 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3235 wxPyUserData
* data
= NULL
;
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3238 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3239 data
= new wxPyUserData(userData
);
3240 wxPyEndBlockThreads(blocked
);
3242 // Now call the real Add method if a valid item type was found
3244 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3245 else if ( info
.sizer
)
3246 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3247 else if (info
.gotSize
)
3248 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3249 pos
, span
, flag
, border
, data
);
3257 static int _wrap_EmptyString_set(PyObject
*) {
3258 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3263 static PyObject
*_wrap_EmptyString_get(void) {
3268 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3270 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3277 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxObject
*arg1
= (wxObject
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 result
= wxObject_GetClassName(arg1
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3309 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxObject
*arg1
= (wxObject
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3319 if (SWIG_arg_fail(1)) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxObject_Destroy(arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3337 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3339 return Py_BuildValue((char *)"");
3341 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxSize
*arg1
= (wxSize
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "x", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail
;
3355 arg2
= (int)(SWIG_As_int(obj1
));
3356 if (SWIG_arg_fail(2)) SWIG_fail
;
3358 if (arg1
) (arg1
)->x
= arg2
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxSize
*arg1
= (wxSize
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3378 if (SWIG_arg_fail(1)) SWIG_fail
;
3379 result
= (int) ((arg1
)->x
);
3382 resultobj
= SWIG_From_int((int)(result
));
3390 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxSize
*arg1
= (wxSize
*) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "self",(char *) "y", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail
;
3404 arg2
= (int)(SWIG_As_int(obj1
));
3405 if (SWIG_arg_fail(2)) SWIG_fail
;
3407 if (arg1
) (arg1
)->y
= arg2
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxSize
*arg1
= (wxSize
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3428 result
= (int) ((arg1
)->y
);
3431 resultobj
= SWIG_From_int((int)(result
));
3439 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 int arg1
= (int) 0 ;
3442 int arg2
= (int) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3447 (char *) "w",(char *) "h", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 arg1
= (int)(SWIG_As_int(obj0
));
3454 if (SWIG_arg_fail(1)) SWIG_fail
;
3459 arg2
= (int)(SWIG_As_int(obj1
));
3460 if (SWIG_arg_fail(2)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3477 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxSize
*arg1
= (wxSize
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 (char *) "self", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxSize
*arg1
= (wxSize
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3511 (char *) "self",(char *) "sz", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3516 if (SWIG_arg_fail(1)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3537 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
*resultobj
;
3539 wxSize
*arg1
= (wxSize
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3546 (char *) "self",(char *) "sz", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3551 if (SWIG_arg_fail(1)) SWIG_fail
;
3554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3572 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxSize
*arg1
= (wxSize
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "sz", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3600 resultptr
= new wxSize((wxSize
&)(result
));
3601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3609 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
;
3611 wxSize
*arg1
= (wxSize
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "sz", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3623 if (SWIG_arg_fail(1)) SWIG_fail
;
3626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3637 resultptr
= new wxSize((wxSize
&)(result
));
3638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3646 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxSize
*arg1
= (wxSize
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "sz", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail
;
3662 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 (arg1
)->IncTo((wxSize
const &)*arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxSize
*arg1
= (wxSize
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "sz", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->DecTo((wxSize
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 Py_INCREF(Py_None
); resultobj
= Py_None
;
3710 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxSize
*arg1
= (wxSize
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3719 (char *) "self",(char *) "w",(char *) "h", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3724 if (SWIG_arg_fail(1)) SWIG_fail
;
3726 arg2
= (int)(SWIG_As_int(obj1
));
3727 if (SWIG_arg_fail(2)) SWIG_fail
;
3730 arg3
= (int)(SWIG_As_int(obj2
));
3731 if (SWIG_arg_fail(3)) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 (arg1
)->Set(arg2
,arg3
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 Py_INCREF(Py_None
); resultobj
= Py_None
;
3747 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3749 wxSize
*arg1
= (wxSize
*) 0 ;
3751 PyObject
* obj0
= 0 ;
3752 PyObject
* obj1
= 0 ;
3754 (char *) "self",(char *) "w", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail
;
3761 arg2
= (int)(SWIG_As_int(obj1
));
3762 if (SWIG_arg_fail(2)) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 (arg1
)->SetWidth(arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxSize
*arg1
= (wxSize
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3783 PyObject
* obj1
= 0 ;
3785 (char *) "self",(char *) "h", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3790 if (SWIG_arg_fail(1)) SWIG_fail
;
3792 arg2
= (int)(SWIG_As_int(obj1
));
3793 if (SWIG_arg_fail(2)) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 (arg1
)->SetHeight(arg2
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 Py_INCREF(Py_None
); resultobj
= Py_None
;
3809 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 wxSize
*arg1
= (wxSize
*) 0 ;
3813 PyObject
* obj0
= 0 ;
3815 (char *) "self", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_From_int((int)(result
));
3837 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxSize
*arg1
= (wxSize
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_From_int((int)(result
));
3865 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxSize
*arg1
= (wxSize
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "self", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3876 if (SWIG_arg_fail(1)) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxSize
*arg1
= (wxSize
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "self",(char *) "size", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3906 if (SWIG_arg_fail(1)) SWIG_fail
;
3909 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxSize
*arg1
= (wxSize
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3936 if (SWIG_arg_fail(1)) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (PyObject
*)wxSize_Get(arg1
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3951 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3954 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3956 return Py_BuildValue((char *)"");
3958 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "x", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3970 if (SWIG_arg_fail(1)) SWIG_fail
;
3972 arg2
= (double)(SWIG_As_double(obj1
));
3973 if (SWIG_arg_fail(2)) SWIG_fail
;
3975 if (arg1
) (arg1
)->x
= arg2
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3990 (char *) "self", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3995 if (SWIG_arg_fail(1)) SWIG_fail
;
3996 result
= (double) ((arg1
)->x
);
3999 resultobj
= SWIG_From_double((double)(result
));
4007 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "y", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4021 arg2
= (double)(SWIG_As_double(obj1
));
4022 if (SWIG_arg_fail(2)) SWIG_fail
;
4024 if (arg1
) (arg1
)->y
= arg2
;
4026 Py_INCREF(Py_None
); resultobj
= Py_None
;
4033 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4044 if (SWIG_arg_fail(1)) SWIG_fail
;
4045 result
= (double) ((arg1
)->y
);
4048 resultobj
= SWIG_From_double((double)(result
));
4056 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 double arg1
= (double) 0.0 ;
4059 double arg2
= (double) 0.0 ;
4060 wxRealPoint
*result
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4064 (char *) "x",(char *) "y", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 arg1
= (double)(SWIG_As_double(obj0
));
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4076 arg2
= (double)(SWIG_As_double(obj1
));
4077 if (SWIG_arg_fail(2)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4094 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4104 if (SWIG_arg_fail(1)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4122 wxRealPoint
*arg2
= 0 ;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4128 (char *) "self",(char *) "pt", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4133 if (SWIG_arg_fail(1)) SWIG_fail
;
4136 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4154 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4156 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4157 wxRealPoint
*arg2
= 0 ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4163 (char *) "self",(char *) "pt", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4168 if (SWIG_arg_fail(1)) SWIG_fail
;
4171 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4189 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4192 wxRealPoint
*arg2
= 0 ;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4198 (char *) "self",(char *) "pt", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail
;
4206 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4216 wxRealPoint
* resultptr
;
4217 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4226 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4228 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4229 wxRealPoint
*arg2
= 0 ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4235 (char *) "self",(char *) "pt", NULL
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4240 if (SWIG_arg_fail(1)) SWIG_fail
;
4243 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4253 wxRealPoint
* resultptr
;
4254 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4263 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4270 PyObject
* obj2
= 0 ;
4272 (char *) "self",(char *) "x",(char *) "y", NULL
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail
;
4279 arg2
= (double)(SWIG_As_double(obj1
));
4280 if (SWIG_arg_fail(2)) SWIG_fail
;
4283 arg3
= (double)(SWIG_As_double(obj2
));
4284 if (SWIG_arg_fail(3)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxRealPoint_Set(arg1
,arg2
,arg3
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 Py_INCREF(Py_None
); resultobj
= Py_None
;
4300 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4306 (char *) "self", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4311 if (SWIG_arg_fail(1)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4326 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4329 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4331 return Py_BuildValue((char *)"");
4333 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxPoint
*arg1
= (wxPoint
*) 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4340 (char *) "self",(char *) "x", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4347 arg2
= (int)(SWIG_As_int(obj1
));
4348 if (SWIG_arg_fail(2)) SWIG_fail
;
4350 if (arg1
) (arg1
)->x
= arg2
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPoint
*arg1
= (wxPoint
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4365 (char *) "self", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4370 if (SWIG_arg_fail(1)) SWIG_fail
;
4371 result
= (int) ((arg1
)->x
);
4374 resultobj
= SWIG_From_int((int)(result
));
4382 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxPoint
*arg1
= (wxPoint
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "self",(char *) "y", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4394 if (SWIG_arg_fail(1)) SWIG_fail
;
4396 arg2
= (int)(SWIG_As_int(obj1
));
4397 if (SWIG_arg_fail(2)) SWIG_fail
;
4399 if (arg1
) (arg1
)->y
= arg2
;
4401 Py_INCREF(Py_None
); resultobj
= Py_None
;
4408 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxPoint
*arg1
= (wxPoint
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4414 (char *) "self", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4419 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 result
= (int) ((arg1
)->y
);
4423 resultobj
= SWIG_From_int((int)(result
));
4431 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 int arg1
= (int) 0 ;
4434 int arg2
= (int) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4439 (char *) "x",(char *) "y", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 arg1
= (int)(SWIG_As_int(obj0
));
4446 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 arg2
= (int)(SWIG_As_int(obj1
));
4452 if (SWIG_arg_fail(2)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4469 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxPoint
*arg1
= (wxPoint
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "self", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxPoint
*arg1
= (wxPoint
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "pt", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4529 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxPoint
*arg1
= (wxPoint
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "pt", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4543 if (SWIG_arg_fail(1)) SWIG_fail
;
4546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4564 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxPoint
*arg1
= (wxPoint
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4573 (char *) "self",(char *) "pt", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4578 if (SWIG_arg_fail(1)) SWIG_fail
;
4581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4591 wxPoint
* resultptr
;
4592 resultptr
= new wxPoint((wxPoint
&)(result
));
4593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4601 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxPoint
*arg1
= (wxPoint
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "pt", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4615 if (SWIG_arg_fail(1)) SWIG_fail
;
4618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 wxPoint
* resultptr
;
4629 resultptr
= new wxPoint((wxPoint
&)(result
));
4630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4638 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxPoint
*arg1
= (wxPoint
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "pt", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4652 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4661 result
= (wxPoint
*) &_result_ref
;
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4674 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxPoint
*arg1
= (wxPoint
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4683 (char *) "self",(char *) "pt", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4688 if (SWIG_arg_fail(1)) SWIG_fail
;
4691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4697 result
= (wxPoint
*) &_result_ref
;
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4710 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPoint
*arg1
= (wxPoint
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4717 PyObject
* obj2
= 0 ;
4719 (char *) "self",(char *) "x",(char *) "y", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4726 arg2
= (long)(SWIG_As_long(obj1
));
4727 if (SWIG_arg_fail(2)) SWIG_fail
;
4730 arg3
= (long)(SWIG_As_long(obj2
));
4731 if (SWIG_arg_fail(3)) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 wxPoint_Set(arg1
,arg2
,arg3
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxPoint
*arg1
= (wxPoint
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4758 if (SWIG_arg_fail(1)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (PyObject
*)wxPoint_Get(arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4773 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4776 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4778 return Py_BuildValue((char *)"");
4780 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 int arg1
= (int) 0 ;
4783 int arg2
= (int) 0 ;
4784 int arg3
= (int) 0 ;
4785 int arg4
= (int) 0 ;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4789 PyObject
* obj2
= 0 ;
4790 PyObject
* obj3
= 0 ;
4792 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4798 arg1
= (int)(SWIG_As_int(obj0
));
4799 if (SWIG_arg_fail(1)) SWIG_fail
;
4804 arg2
= (int)(SWIG_As_int(obj1
));
4805 if (SWIG_arg_fail(2)) SWIG_fail
;
4810 arg3
= (int)(SWIG_As_int(obj2
));
4811 if (SWIG_arg_fail(3)) SWIG_fail
;
4816 arg4
= (int)(SWIG_As_int(obj3
));
4817 if (SWIG_arg_fail(4)) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4834 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4844 (char *) "topLeft",(char *) "bottomRight", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4850 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4870 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "pos",(char *) "size", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4886 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4890 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4906 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "size", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4919 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4935 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxRect
*arg1
= (wxRect
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4945 if (SWIG_arg_fail(1)) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 Py_INCREF(Py_None
); resultobj
= Py_None
;
4960 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxRect
*arg1
= (wxRect
*) 0 ;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "self", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4971 if (SWIG_arg_fail(1)) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)((wxRect
const *)arg1
)->GetX();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_From_int((int)(result
));
4988 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxRect
*arg1
= (wxRect
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "x", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail
;
5002 arg2
= (int)(SWIG_As_int(obj1
));
5003 if (SWIG_arg_fail(2)) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 Py_INCREF(Py_None
); resultobj
= Py_None
;
5019 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxRect
*arg1
= (wxRect
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "self", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5030 if (SWIG_arg_fail(1)) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)(arg1
)->GetY();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_From_int((int)(result
));
5047 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxRect
*arg1
= (wxRect
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "y", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5059 if (SWIG_arg_fail(1)) SWIG_fail
;
5061 arg2
= (int)(SWIG_As_int(obj1
));
5062 if (SWIG_arg_fail(2)) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxRect
*arg1
= (wxRect
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_From_int((int)(result
));
5106 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxRect
*arg1
= (wxRect
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5113 (char *) "self",(char *) "w", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail
;
5120 arg2
= (int)(SWIG_As_int(obj1
));
5121 if (SWIG_arg_fail(2)) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 (arg1
)->SetWidth(arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxRect
*arg1
= (wxRect
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5143 (char *) "self", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5148 if (SWIG_arg_fail(1)) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_From_int((int)(result
));
5165 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxRect
*arg1
= (wxRect
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5172 (char *) "self",(char *) "h", NULL
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail
;
5179 arg2
= (int)(SWIG_As_int(obj1
));
5180 if (SWIG_arg_fail(2)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 (arg1
)->SetHeight(arg2
);
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxRect
*arg1
= (wxRect
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5207 if (SWIG_arg_fail(1)) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= ((wxRect
const *)arg1
)->GetPosition();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 wxPoint
* resultptr
;
5217 resultptr
= new wxPoint((wxPoint
&)(result
));
5218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5226 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxRect
*arg1
= (wxRect
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5232 PyObject
* obj1
= 0 ;
5234 (char *) "self",(char *) "p", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail
;
5242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxRect
*arg1
= (wxRect
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= ((wxRect
const *)arg1
)->GetSize();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5279 resultptr
= new wxSize((wxSize
&)(result
));
5280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5288 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxRect
*arg1
= (wxRect
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "s", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5304 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 (arg1
)->SetSize((wxSize
const &)*arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxRect
*arg1
= (wxRect
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5348 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxRect
*arg1
= (wxRect
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 wxPoint
* resultptr
;
5369 resultptr
= new wxPoint((wxPoint
&)(result
));
5370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5378 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxRect
*arg1
= (wxRect
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5386 (char *) "self",(char *) "p", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail
;
5394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5410 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxRect
*arg1
= (wxRect
*) 0 ;
5414 PyObject
* obj0
= 0 ;
5416 (char *) "self", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5421 if (SWIG_arg_fail(1)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 wxPoint
* resultptr
;
5431 resultptr
= new wxPoint((wxPoint
&)(result
));
5432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5440 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxRect
*arg1
= (wxRect
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "p", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5453 if (SWIG_arg_fail(1)) SWIG_fail
;
5456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxRect
*arg1
= (wxRect
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5478 (char *) "self", NULL
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_From_int((int)(result
));
5500 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxRect
*arg1
= (wxRect
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "self", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (int)((wxRect
const *)arg1
)->GetTop();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= SWIG_From_int((int)(result
));
5528 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxRect
*arg1
= (wxRect
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5539 if (SWIG_arg_fail(1)) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_From_int((int)(result
));
5556 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxRect
*arg1
= (wxRect
*) 0 ;
5560 PyObject
* obj0
= 0 ;
5562 (char *) "self", NULL
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5567 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (int)((wxRect
const *)arg1
)->GetRight();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_From_int((int)(result
));
5584 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxRect
*arg1
= (wxRect
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5591 (char *) "self",(char *) "left", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5596 if (SWIG_arg_fail(1)) SWIG_fail
;
5598 arg2
= (int)(SWIG_As_int(obj1
));
5599 if (SWIG_arg_fail(2)) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->SetLeft(arg2
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5615 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxRect
*arg1
= (wxRect
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "right", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail
;
5629 arg2
= (int)(SWIG_As_int(obj1
));
5630 if (SWIG_arg_fail(2)) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 (arg1
)->SetRight(arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxRect
*arg1
= (wxRect
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "top", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5658 if (SWIG_arg_fail(1)) SWIG_fail
;
5660 arg2
= (int)(SWIG_As_int(obj1
));
5661 if (SWIG_arg_fail(2)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetTop(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxRect
*arg1
= (wxRect
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "bottom", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 arg2
= (int)(SWIG_As_int(obj1
));
5692 if (SWIG_arg_fail(2)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->SetBottom(arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxRect
*arg1
= (wxRect
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5716 PyObject
* obj2
= 0 ;
5718 (char *) "self",(char *) "dx",(char *) "dy", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5723 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 arg2
= (int)(SWIG_As_int(obj1
));
5726 if (SWIG_arg_fail(2)) SWIG_fail
;
5729 arg3
= (int)(SWIG_As_int(obj2
));
5730 if (SWIG_arg_fail(3)) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5736 result
= (wxRect
*) &_result_ref
;
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5749 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxRect
*arg1
= (wxRect
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 PyObject
* obj2
= 0 ;
5759 (char *) "self",(char *) "dx",(char *) "dy", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5764 if (SWIG_arg_fail(1)) SWIG_fail
;
5766 arg2
= (int)(SWIG_As_int(obj1
));
5767 if (SWIG_arg_fail(2)) SWIG_fail
;
5770 arg3
= (int)(SWIG_As_int(obj2
));
5771 if (SWIG_arg_fail(3)) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5777 result
= (wxRect
*) &_result_ref
;
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5790 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRect
*arg1
= (wxRect
*) 0 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5797 PyObject
* obj2
= 0 ;
5799 (char *) "self",(char *) "dx",(char *) "dy", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5804 if (SWIG_arg_fail(1)) SWIG_fail
;
5806 arg2
= (int)(SWIG_As_int(obj1
));
5807 if (SWIG_arg_fail(2)) SWIG_fail
;
5810 arg3
= (int)(SWIG_As_int(obj2
));
5811 if (SWIG_arg_fail(3)) SWIG_fail
;
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 (arg1
)->Offset(arg2
,arg3
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 Py_INCREF(Py_None
); resultobj
= Py_None
;
5827 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
;
5829 wxRect
*arg1
= (wxRect
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5835 (char *) "self",(char *) "pt", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5840 if (SWIG_arg_fail(1)) SWIG_fail
;
5843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->Offset((wxPoint
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxRect
*arg1
= (wxRect
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "rect", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail
;
5876 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5887 resultptr
= new wxRect((wxRect
&)(result
));
5888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5896 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxRect
*arg1
= (wxRect
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "rect", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5910 if (SWIG_arg_fail(1)) SWIG_fail
;
5913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5924 resultptr
= new wxRect((wxRect
&)(result
));
5925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5933 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxRect
*arg1
= (wxRect
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "rect", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5961 resultptr
= new wxRect((wxRect
&)(result
));
5962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5970 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxRect
*arg1
= (wxRect
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5979 (char *) "self",(char *) "rect", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5984 if (SWIG_arg_fail(1)) SWIG_fail
;
5987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5993 result
= (wxRect
*) &_result_ref
;
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6006 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
;
6008 wxRect
*arg1
= (wxRect
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6015 (char *) "self",(char *) "rect", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6020 if (SWIG_arg_fail(1)) SWIG_fail
;
6023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxRect
*arg1
= (wxRect
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6050 (char *) "self",(char *) "rect", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6055 if (SWIG_arg_fail(1)) SWIG_fail
;
6058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6076 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxRect
*arg1
= (wxRect
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 PyObject
* obj2
= 0 ;
6086 (char *) "self",(char *) "x",(char *) "y", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail
;
6093 arg2
= (int)(SWIG_As_int(obj1
));
6094 if (SWIG_arg_fail(2)) SWIG_fail
;
6097 arg3
= (int)(SWIG_As_int(obj2
));
6098 if (SWIG_arg_fail(3)) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6116 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxRect
*arg1
= (wxRect
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6125 (char *) "self",(char *) "pt", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail
;
6133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6151 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxRect
*arg1
= (wxRect
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "rect", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail
;
6168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6186 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxRect
*arg1
= (wxRect
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "self",(char *) "x", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6198 if (SWIG_arg_fail(1)) SWIG_fail
;
6200 arg2
= (int)(SWIG_As_int(obj1
));
6201 if (SWIG_arg_fail(2)) SWIG_fail
;
6203 if (arg1
) (arg1
)->x
= arg2
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxRect
*arg1
= (wxRect
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "self", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6223 if (SWIG_arg_fail(1)) SWIG_fail
;
6224 result
= (int) ((arg1
)->x
);
6227 resultobj
= SWIG_From_int((int)(result
));
6235 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxRect
*arg1
= (wxRect
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "y", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6249 arg2
= (int)(SWIG_As_int(obj1
));
6250 if (SWIG_arg_fail(2)) SWIG_fail
;
6252 if (arg1
) (arg1
)->y
= arg2
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6261 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxRect
*arg1
= (wxRect
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail
;
6273 result
= (int) ((arg1
)->y
);
6276 resultobj
= SWIG_From_int((int)(result
));
6284 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
;
6286 wxRect
*arg1
= (wxRect
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "width", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6296 if (SWIG_arg_fail(1)) SWIG_fail
;
6298 arg2
= (int)(SWIG_As_int(obj1
));
6299 if (SWIG_arg_fail(2)) SWIG_fail
;
6301 if (arg1
) (arg1
)->width
= arg2
;
6303 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxRect
*arg1
= (wxRect
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6316 (char *) "self", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6321 if (SWIG_arg_fail(1)) SWIG_fail
;
6322 result
= (int) ((arg1
)->width
);
6325 resultobj
= SWIG_From_int((int)(result
));
6333 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxRect
*arg1
= (wxRect
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "height", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6345 if (SWIG_arg_fail(1)) SWIG_fail
;
6347 arg2
= (int)(SWIG_As_int(obj1
));
6348 if (SWIG_arg_fail(2)) SWIG_fail
;
6350 if (arg1
) (arg1
)->height
= arg2
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxRect
*arg1
= (wxRect
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6371 result
= (int) ((arg1
)->height
);
6374 resultobj
= SWIG_From_int((int)(result
));
6382 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxRect
*arg1
= (wxRect
*) 0 ;
6385 int arg2
= (int) 0 ;
6386 int arg3
= (int) 0 ;
6387 int arg4
= (int) 0 ;
6388 int arg5
= (int) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6392 PyObject
* obj3
= 0 ;
6393 PyObject
* obj4
= 0 ;
6395 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail
;
6403 arg2
= (int)(SWIG_As_int(obj1
));
6404 if (SWIG_arg_fail(2)) SWIG_fail
;
6409 arg3
= (int)(SWIG_As_int(obj2
));
6410 if (SWIG_arg_fail(3)) SWIG_fail
;
6415 arg4
= (int)(SWIG_As_int(obj3
));
6416 if (SWIG_arg_fail(4)) SWIG_fail
;
6421 arg5
= (int)(SWIG_As_int(obj4
));
6422 if (SWIG_arg_fail(5)) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxRect
*arg1
= (wxRect
*) 0 ;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "self", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6450 if (SWIG_arg_fail(1)) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (PyObject
*)wxRect_Get(arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6465 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6470 return Py_BuildValue((char *)"");
6472 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxRect
*arg1
= (wxRect
*) 0 ;
6475 wxRect
*arg2
= (wxRect
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6480 (char *) "r1",(char *) "r2", NULL
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail
;
6486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6487 if (SWIG_arg_fail(2)) SWIG_fail
;
6489 if (!wxPyCheckForApp()) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6503 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 double arg1
= (double) 0.0 ;
6506 double arg2
= (double) 0.0 ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6511 (char *) "x",(char *) "y", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 arg1
= (double)(SWIG_As_double(obj0
));
6518 if (SWIG_arg_fail(1)) SWIG_fail
;
6523 arg2
= (double)(SWIG_As_double(obj1
));
6524 if (SWIG_arg_fail(2)) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6541 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxPoint2D
*arg1
= 0 ;
6546 PyObject
* obj0
= 0 ;
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6554 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6570 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6575 PyObject
* obj0
= 0 ;
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6583 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6599 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6602 int *arg2
= (int *) 0 ;
6603 int *arg3
= (int *) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6614 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6626 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6627 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6628 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6629 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6636 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6638 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6639 int *arg2
= (int *) 0 ;
6640 int *arg3
= (int *) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6651 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6654 if (SWIG_arg_fail(1)) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6664 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6665 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6666 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6673 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6679 (char *) "self", NULL
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6684 if (SWIG_arg_fail(1)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_From_double((double)(result
));
6701 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "self", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6712 if (SWIG_arg_fail(1)) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_From_double((double)(result
));
6729 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "length", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6741 if (SWIG_arg_fail(1)) SWIG_fail
;
6743 arg2
= (double)(SWIG_As_double(obj1
));
6744 if (SWIG_arg_fail(2)) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetVectorLength(arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6767 (char *) "self",(char *) "degrees", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6774 arg2
= (double)(SWIG_As_double(obj1
));
6775 if (SWIG_arg_fail(2)) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 (arg1
)->SetVectorAngle(arg2
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 Py_INCREF(Py_None
); resultobj
= Py_None
;
6791 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6794 wxPoint2D
*arg2
= 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6800 (char *) "self",(char *) "pt", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6805 if (SWIG_arg_fail(1)) SWIG_fail
;
6808 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_From_double((double)(result
));
6826 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6829 wxPoint2D
*arg2
= 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "pt", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6840 if (SWIG_arg_fail(1)) SWIG_fail
;
6843 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_From_double((double)(result
));
6861 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
;
6863 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6864 wxPoint2D
*arg2
= 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6870 (char *) "self",(char *) "vec", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6875 if (SWIG_arg_fail(1)) SWIG_fail
;
6878 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_From_double((double)(result
));
6896 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6899 wxPoint2D
*arg2
= 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6905 (char *) "self",(char *) "vec", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6910 if (SWIG_arg_fail(1)) SWIG_fail
;
6913 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_From_double((double)(result
));
6931 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
;
6933 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6942 if (SWIG_arg_fail(1)) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (arg1
)->operator -();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 wxPoint2D
* resultptr
;
6952 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6961 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6964 wxPoint2D
*arg2
= 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6970 (char *) "self",(char *) "pt", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6975 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6984 result
= (wxPoint2D
*) &_result_ref
;
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6997 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7000 wxPoint2D
*arg2
= 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7006 (char *) "self",(char *) "pt", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7011 if (SWIG_arg_fail(1)) SWIG_fail
;
7014 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7020 result
= (wxPoint2D
*) &_result_ref
;
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7033 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7036 wxPoint2D
*arg2
= 0 ;
7039 PyObject
* obj0
= 0 ;
7040 PyObject
* obj1
= 0 ;
7042 (char *) "self",(char *) "pt", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7047 if (SWIG_arg_fail(1)) SWIG_fail
;
7050 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7056 result
= (wxPoint2D
*) &_result_ref
;
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7069 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7072 wxPoint2D
*arg2
= 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "pt", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7083 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7092 result
= (wxPoint2D
*) &_result_ref
;
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7105 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7108 wxPoint2D
*arg2
= 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7114 (char *) "self",(char *) "pt", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7140 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7143 wxPoint2D
*arg2
= 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7149 (char *) "self",(char *) "pt", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7157 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7175 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "m_x", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail
;
7189 arg2
= (double)(SWIG_As_double(obj1
));
7190 if (SWIG_arg_fail(2)) SWIG_fail
;
7192 if (arg1
) (arg1
)->m_x
= arg2
;
7194 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7207 (char *) "self", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail
;
7213 result
= (double) ((arg1
)->m_x
);
7216 resultobj
= SWIG_From_double((double)(result
));
7224 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7231 (char *) "self",(char *) "m_y", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7238 arg2
= (double)(SWIG_As_double(obj1
));
7239 if (SWIG_arg_fail(2)) SWIG_fail
;
7241 if (arg1
) (arg1
)->m_y
= arg2
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "self", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7261 if (SWIG_arg_fail(1)) SWIG_fail
;
7262 result
= (double) ((arg1
)->m_y
);
7265 resultobj
= SWIG_From_double((double)(result
));
7273 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7276 double arg2
= (double) 0 ;
7277 double arg3
= (double) 0 ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 PyObject
* obj2
= 0 ;
7282 (char *) "self",(char *) "x",(char *) "y", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7287 if (SWIG_arg_fail(1)) SWIG_fail
;
7290 arg2
= (double)(SWIG_As_double(obj1
));
7291 if (SWIG_arg_fail(2)) SWIG_fail
;
7296 arg3
= (double)(SWIG_As_double(obj2
));
7297 if (SWIG_arg_fail(3)) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxPoint2D_Set(arg1
,arg2
,arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7325 if (SWIG_arg_fail(1)) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7340 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7343 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7345 return Py_BuildValue((char *)"");
7347 static int _wrap_DefaultPosition_set(PyObject
*) {
7348 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7353 static PyObject
*_wrap_DefaultPosition_get(void) {
7356 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7361 static int _wrap_DefaultSize_set(PyObject
*) {
7362 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7367 static PyObject
*_wrap_DefaultSize_get(void) {
7370 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7375 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 PyObject
*arg1
= (PyObject
*) 0 ;
7378 wxPyInputStream
*result
;
7379 PyObject
* obj0
= 0 ;
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7400 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7410 if (SWIG_arg_fail(1)) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7425 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "self", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 Py_INCREF(Py_None
); resultobj
= Py_None
;
7450 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "self", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7460 if (SWIG_arg_fail(1)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7486 if (SWIG_arg_fail(1)) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)(arg1
)->eof();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7506 int arg2
= (int) -1 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "size", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7516 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 arg2
= (int)(SWIG_As_int(obj1
));
7520 if (SWIG_arg_fail(2)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (PyObject
*)(arg1
)->read(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7537 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7540 int arg2
= (int) -1 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "self",(char *) "size", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 arg2
= (int)(SWIG_As_int(obj1
));
7554 if (SWIG_arg_fail(2)) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (PyObject
*)(arg1
)->readline(arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7571 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7574 int arg2
= (int) -1 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "sizehint", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 arg2
= (int)(SWIG_As_int(obj1
));
7588 if (SWIG_arg_fail(2)) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7605 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7609 int arg3
= (int) 0 ;
7610 PyObject
* obj0
= 0 ;
7611 PyObject
* obj1
= 0 ;
7612 PyObject
* obj2
= 0 ;
7614 (char *) "self",(char *) "offset",(char *) "whence", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail
;
7621 arg2
= (int)(SWIG_As_int(obj1
));
7622 if (SWIG_arg_fail(2)) SWIG_fail
;
7626 arg3
= (int)(SWIG_As_int(obj2
));
7627 if (SWIG_arg_fail(3)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->seek(arg2
,arg3
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7655 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (int)(arg1
)->tell();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_From_int((int)(result
));
7672 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(1)) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (char)(arg1
)->Peek();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_From_char((char)(result
));
7700 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "self", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7711 if (SWIG_arg_fail(1)) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (char)(arg1
)->GetC();
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_From_char((char)(result
));
7728 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (size_t)(arg1
)->LastRead();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7756 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "self", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(1)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (bool)(arg1
)->CanRead();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7784 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (bool)(arg1
)->Eof();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7812 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7820 (char *) "self",(char *) "c", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7825 if (SWIG_arg_fail(1)) SWIG_fail
;
7827 arg2
= (char)(SWIG_As_char(obj1
));
7828 if (SWIG_arg_fail(2)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)(arg1
)->Ungetch(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7846 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7848 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7850 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7856 (char *) "self",(char *) "pos",(char *) "mode", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail
;
7863 arg2
= (long)(SWIG_As_long(obj1
));
7864 if (SWIG_arg_fail(2)) SWIG_fail
;
7868 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7869 if (SWIG_arg_fail(3)) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_From_long((long)(result
));
7888 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 result
= (long)(arg1
)->TellI();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_From_long((long)(result
));
7916 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7919 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7921 return Py_BuildValue((char *)"");
7923 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7926 PyObject
*arg2
= (PyObject
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7930 (char *) "self",(char *) "obj", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 wxOutputStream_write(arg1
,arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7951 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7956 return Py_BuildValue((char *)"");
7958 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
;
7960 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7961 wxString
*arg2
= 0 ;
7962 wxString
*arg3
= 0 ;
7963 wxString
*arg4
= 0 ;
7966 wxPyInputStream
*temp1
;
7967 bool temp2
= false ;
7968 bool temp3
= false ;
7969 bool temp4
= false ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 PyObject
* obj3
= 0 ;
7974 PyObject
* obj4
= 0 ;
7976 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7981 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7982 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7984 PyErr_Clear(); // clear the failure of the wxPyConvert above
7985 arg1
= wxPyCBInputStream_create(obj0
, true);
7987 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7993 arg2
= wxString_in_helper(obj1
);
7994 if (arg2
== NULL
) SWIG_fail
;
7998 arg3
= wxString_in_helper(obj2
);
7999 if (arg3
== NULL
) SWIG_fail
;
8003 arg4
= wxString_in_helper(obj3
);
8004 if (arg4
== NULL
) SWIG_fail
;
8009 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8010 if (SWIG_arg_fail(5)) SWIG_fail
;
8012 SWIG_null_ref("wxDateTime");
8014 if (SWIG_arg_fail(5)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= wxPyMake_wxObject(result
, 1);
8057 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "self", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8067 if (SWIG_arg_fail(1)) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 Py_INCREF(Py_None
); resultobj
= Py_None
;
8082 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8085 wxInputStream
*result
;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "self", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(1)) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (wxInputStream
*)(arg1
)->GetStream();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8102 wxPyInputStream
* _ptr
= NULL
;
8105 _ptr
= new wxPyInputStream(result
);
8107 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8115 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8131 result
= (wxString
*) &_result_ref
;
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8141 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8150 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 wxString
const &_result_ref
= (arg1
)->GetLocation();
8166 result
= (wxString
*) &_result_ref
;
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8185 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8196 if (SWIG_arg_fail(1)) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8201 result
= (wxString
*) &_result_ref
;
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8211 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8220 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "self", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (arg1
)->GetModificationTime();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 wxDateTime
* resultptr
;
8241 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8250 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8253 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8255 return Py_BuildValue((char *)"");
8257 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8260 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8262 return Py_BuildValue((char *)"");
8264 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyFileSystemHandler
*result
;
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8286 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8289 PyObject
*arg2
= (PyObject
*) 0 ;
8290 PyObject
*arg3
= (PyObject
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8295 (char *) "self",(char *) "self",(char *) "_class", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8320 wxString
*arg2
= 0 ;
8322 bool temp2
= false ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8326 (char *) "self",(char *) "location", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 arg2
= wxString_in_helper(obj1
);
8334 if (arg2
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8361 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8364 wxFileSystem
*arg2
= 0 ;
8365 wxString
*arg3
= 0 ;
8367 bool temp3
= false ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8372 (char *) "self",(char *) "fs",(char *) "location", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8377 if (SWIG_arg_fail(1)) SWIG_fail
;
8379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8380 if (SWIG_arg_fail(2)) SWIG_fail
;
8382 SWIG_null_ref("wxFileSystem");
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8387 arg3
= wxString_in_helper(obj2
);
8388 if (arg3
== NULL
) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= wxPyMake_wxObject(result
, 1);
8415 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8418 wxString
*arg2
= 0 ;
8419 int arg3
= (int) 0 ;
8421 bool temp2
= false ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 PyObject
* obj2
= 0 ;
8426 (char *) "self",(char *) "spec",(char *) "flags", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 arg2
= wxString_in_helper(obj1
);
8434 if (arg2
== NULL
) SWIG_fail
;
8439 arg3
= (int)(SWIG_As_int(obj2
));
8440 if (SWIG_arg_fail(3)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8471 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8475 PyObject
* obj0
= 0 ;
8477 (char *) "self", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8482 if (SWIG_arg_fail(1)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (arg1
)->FindNext();
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8503 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8506 wxString
*arg2
= 0 ;
8508 bool temp2
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "self",(char *) "location", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail
;
8519 arg2
= wxString_in_helper(obj1
);
8520 if (arg2
== NULL
) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8551 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8554 wxString
*arg2
= 0 ;
8556 bool temp2
= false ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8560 (char *) "self",(char *) "location", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail
;
8567 arg2
= wxString_in_helper(obj1
);
8568 if (arg2
== NULL
) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8599 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8602 wxString
*arg2
= 0 ;
8604 bool temp2
= false ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8608 (char *) "self",(char *) "location", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8613 if (SWIG_arg_fail(1)) SWIG_fail
;
8615 arg2
= wxString_in_helper(obj1
);
8616 if (arg2
== NULL
) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8647 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8649 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8650 wxString
*arg2
= 0 ;
8652 bool temp2
= false ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "self",(char *) "location", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8661 if (SWIG_arg_fail(1)) SWIG_fail
;
8663 arg2
= wxString_in_helper(obj1
);
8664 if (arg2
== NULL
) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8695 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8698 wxString
*arg2
= 0 ;
8700 bool temp2
= false ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "location", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail
;
8711 arg2
= wxString_in_helper(obj1
);
8712 if (arg2
== NULL
) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8743 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8746 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8748 return Py_BuildValue((char *)"");
8750 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxFileSystem
*result
;
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (wxFileSystem
*)new wxFileSystem();
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= wxPyMake_wxObject(result
, 1);
8774 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8777 PyObject
* obj0
= 0 ;
8779 (char *) "self", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8784 if (SWIG_arg_fail(1)) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8802 wxString
*arg2
= 0 ;
8803 bool arg3
= (bool) false ;
8804 bool temp2
= false ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 PyObject
* obj2
= 0 ;
8809 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8814 if (SWIG_arg_fail(1)) SWIG_fail
;
8816 arg2
= wxString_in_helper(obj1
);
8817 if (arg2
== NULL
) SWIG_fail
;
8822 arg3
= (bool)(SWIG_As_bool(obj2
));
8823 if (SWIG_arg_fail(3)) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 Py_INCREF(Py_None
); resultobj
= Py_None
;
8848 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (arg1
)->GetPath();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8880 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8883 wxString
*arg2
= 0 ;
8885 bool temp2
= false ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8889 (char *) "self",(char *) "location", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8894 if (SWIG_arg_fail(1)) SWIG_fail
;
8896 arg2
= wxString_in_helper(obj1
);
8897 if (arg2
== NULL
) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= wxPyMake_wxObject(result
, 1);
8924 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8927 wxString
*arg2
= 0 ;
8928 int arg3
= (int) 0 ;
8930 bool temp2
= false ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "spec",(char *) "flags", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8940 if (SWIG_arg_fail(1)) SWIG_fail
;
8942 arg2
= wxString_in_helper(obj1
);
8943 if (arg2
== NULL
) SWIG_fail
;
8948 arg3
= (int)(SWIG_As_int(obj2
));
8949 if (SWIG_arg_fail(3)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8980 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (arg1
)->FindNext();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9012 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "handler", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxFileSystem::AddHandler(arg1
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 wxFileSystem::CleanUpHandlers();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxString
*arg1
= 0 ;
9062 bool temp1
= false ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "filename", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9102 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxString
*arg1
= 0 ;
9106 bool temp1
= false ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "url", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9114 arg1
= wxString_in_helper(obj0
);
9115 if (arg1
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9146 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9149 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9151 return Py_BuildValue((char *)"");
9153 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*result
;
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9175 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9178 wxString
*arg2
= 0 ;
9180 bool temp2
= false ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9184 (char *) "self",(char *) "location", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail
;
9191 arg2
= wxString_in_helper(obj1
);
9192 if (arg2
== NULL
) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9219 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9222 wxFileSystem
*arg2
= 0 ;
9223 wxString
*arg3
= 0 ;
9225 bool temp3
= false ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 PyObject
* obj2
= 0 ;
9230 (char *) "self",(char *) "fs",(char *) "location", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9235 if (SWIG_arg_fail(1)) SWIG_fail
;
9237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9238 if (SWIG_arg_fail(2)) SWIG_fail
;
9240 SWIG_null_ref("wxFileSystem");
9242 if (SWIG_arg_fail(2)) SWIG_fail
;
9245 arg3
= wxString_in_helper(obj2
);
9246 if (arg3
== NULL
) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= wxPyMake_wxObject(result
, 1);
9273 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9276 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9278 return Py_BuildValue((char *)"");
9280 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*result
;
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9302 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9305 wxString
*arg2
= 0 ;
9307 bool temp2
= false ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "location", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail
;
9318 arg2
= wxString_in_helper(obj1
);
9319 if (arg2
== NULL
) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9349 wxFileSystem
*arg2
= 0 ;
9350 wxString
*arg3
= 0 ;
9352 bool temp3
= false ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9355 PyObject
* obj2
= 0 ;
9357 (char *) "self",(char *) "fs",(char *) "location", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail
;
9364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9365 if (SWIG_arg_fail(2)) SWIG_fail
;
9367 SWIG_null_ref("wxFileSystem");
9369 if (SWIG_arg_fail(2)) SWIG_fail
;
9372 arg3
= wxString_in_helper(obj2
);
9373 if (arg3
== NULL
) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= wxPyMake_wxObject(result
, 1);
9400 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9403 wxString
*arg2
= 0 ;
9404 int arg3
= (int) 0 ;
9406 bool temp2
= false ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 PyObject
* obj2
= 0 ;
9411 (char *) "self",(char *) "spec",(char *) "flags", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 arg2
= wxString_in_helper(obj1
);
9419 if (arg2
== NULL
) SWIG_fail
;
9424 arg3
= (int)(SWIG_As_int(obj2
));
9425 if (SWIG_arg_fail(3)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9456 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9467 if (SWIG_arg_fail(1)) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (arg1
)->FindNext();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9488 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9491 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9493 return Py_BuildValue((char *)"");
9495 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxString
*arg1
= 0 ;
9500 bool temp1
= false ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9505 (char *) "filename",(char *) "image",(char *) "type", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9510 arg1
= wxString_in_helper(obj0
);
9511 if (arg1
== NULL
) SWIG_fail
;
9515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(2)) SWIG_fail
;
9518 SWIG_null_ref("wxImage");
9520 if (SWIG_arg_fail(2)) SWIG_fail
;
9523 arg3
= (long)(SWIG_As_long(obj2
));
9524 if (SWIG_arg_fail(3)) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 Py_INCREF(Py_None
); resultobj
= Py_None
;
9548 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxString
*arg1
= 0 ;
9551 wxBitmap
*arg2
= 0 ;
9553 bool temp1
= false ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 PyObject
* obj2
= 0 ;
9558 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9563 arg1
= wxString_in_helper(obj0
);
9564 if (arg1
== NULL
) SWIG_fail
;
9568 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9571 SWIG_null_ref("wxBitmap");
9573 if (SWIG_arg_fail(2)) SWIG_fail
;
9576 arg3
= (long)(SWIG_As_long(obj2
));
9577 if (SWIG_arg_fail(3)) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxString
*arg1
= 0 ;
9604 PyObject
*arg2
= (PyObject
*) 0 ;
9605 bool temp1
= false ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9609 (char *) "filename",(char *) "data", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9614 arg1
= wxString_in_helper(obj0
);
9615 if (arg1
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxMemoryFSHandler
*result
;
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9663 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxString
*arg1
= 0 ;
9666 bool temp1
= false ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "filename", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9674 arg1
= wxString_in_helper(obj0
);
9675 if (arg1
== NULL
) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9700 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9703 wxString
*arg2
= 0 ;
9705 bool temp2
= false ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "location", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail
;
9716 arg2
= wxString_in_helper(obj1
);
9717 if (arg2
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9747 wxFileSystem
*arg2
= 0 ;
9748 wxString
*arg3
= 0 ;
9750 bool temp3
= false ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 PyObject
* obj2
= 0 ;
9755 (char *) "self",(char *) "fs",(char *) "location", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9760 if (SWIG_arg_fail(1)) SWIG_fail
;
9762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9763 if (SWIG_arg_fail(2)) SWIG_fail
;
9765 SWIG_null_ref("wxFileSystem");
9767 if (SWIG_arg_fail(2)) SWIG_fail
;
9770 arg3
= wxString_in_helper(obj2
);
9771 if (arg3
== NULL
) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= wxPyMake_wxObject(result
, 1);
9798 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9801 wxString
*arg2
= 0 ;
9802 int arg3
= (int) 0 ;
9804 bool temp2
= false ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 PyObject
* obj2
= 0 ;
9809 (char *) "self",(char *) "spec",(char *) "flags", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9814 if (SWIG_arg_fail(1)) SWIG_fail
;
9816 arg2
= wxString_in_helper(obj1
);
9817 if (arg2
== NULL
) SWIG_fail
;
9822 arg3
= (int)(SWIG_As_int(obj2
));
9823 if (SWIG_arg_fail(3)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9854 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (arg1
)->FindNext();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9886 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9889 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9891 return Py_BuildValue((char *)"");
9893 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9904 if (SWIG_arg_fail(1)) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (arg1
)->GetName();
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9925 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (arg1
)->GetExtension();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9957 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (long)(arg1
)->GetType();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_From_long((long)(result
));
9985 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (arg1
)->GetMimeType();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10017 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10020 wxString
*arg2
= 0 ;
10022 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "name", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail
;
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10061 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10064 wxString
*arg2
= 0 ;
10065 bool temp2
= false ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self",(char *) "name", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 arg2
= wxString_in_helper(obj1
);
10077 if (arg2
== NULL
) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 (arg1
)->SetName((wxString
const &)*arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 Py_INCREF(Py_None
); resultobj
= Py_None
;
10102 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10105 wxString
*arg2
= 0 ;
10106 bool temp2
= false ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self",(char *) "extension", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10115 if (SWIG_arg_fail(1)) SWIG_fail
;
10117 arg2
= wxString_in_helper(obj1
);
10118 if (arg2
== NULL
) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 (arg1
)->SetExtension((wxString
const &)*arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 Py_INCREF(Py_None
); resultobj
= Py_None
;
10143 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "type", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10155 if (SWIG_arg_fail(1)) SWIG_fail
;
10157 arg2
= (long)(SWIG_As_long(obj1
));
10158 if (SWIG_arg_fail(2)) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 (arg1
)->SetType(arg2
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10177 wxString
*arg2
= 0 ;
10178 bool temp2
= false ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self",(char *) "mimetype", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail
;
10189 arg2
= wxString_in_helper(obj1
);
10190 if (arg2
== NULL
) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 Py_INCREF(Py_None
); resultobj
= Py_None
;
10215 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10218 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10220 return Py_BuildValue((char *)"");
10222 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxImageHistogram
*result
;
10225 char *kwnames
[] = {
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxImageHistogram
*)new wxImageHistogram();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10244 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 unsigned char arg1
;
10247 unsigned char arg2
;
10248 unsigned char arg3
;
10249 unsigned long result
;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "r",(char *) "g",(char *) "b", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10259 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10260 if (SWIG_arg_fail(1)) SWIG_fail
;
10263 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10264 if (SWIG_arg_fail(2)) SWIG_fail
;
10267 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10268 if (SWIG_arg_fail(3)) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10286 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10289 unsigned char *arg2
= (unsigned char *) 0 ;
10290 unsigned char *arg3
= (unsigned char *) 0 ;
10291 unsigned char *arg4
= (unsigned char *) 0 ;
10292 unsigned char arg5
= (unsigned char) 1 ;
10293 unsigned char arg6
= (unsigned char) 0 ;
10294 unsigned char arg7
= (unsigned char) 0 ;
10296 unsigned char temp2
;
10298 unsigned char temp3
;
10300 unsigned char temp4
;
10302 PyObject
* obj0
= 0 ;
10303 PyObject
* obj1
= 0 ;
10304 PyObject
* obj2
= 0 ;
10305 PyObject
* obj3
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10310 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10311 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10312 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10318 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10319 if (SWIG_arg_fail(5)) SWIG_fail
;
10324 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10325 if (SWIG_arg_fail(6)) SWIG_fail
;
10330 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10331 if (SWIG_arg_fail(7)) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10344 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10345 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10346 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10347 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10348 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10349 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10356 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10359 unsigned long arg2
;
10360 unsigned long result
;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "key", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10369 if (SWIG_arg_fail(1)) SWIG_fail
;
10371 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10372 if (SWIG_arg_fail(2)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10390 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10393 unsigned char arg2
;
10394 unsigned char arg3
;
10395 unsigned char arg4
;
10396 unsigned long result
;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 PyObject
* obj2
= 0 ;
10400 PyObject
* obj3
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10410 if (SWIG_arg_fail(2)) SWIG_fail
;
10413 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10414 if (SWIG_arg_fail(3)) SWIG_fail
;
10417 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10418 if (SWIG_arg_fail(4)) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10436 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10439 wxColour
*arg2
= 0 ;
10440 unsigned long result
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "colour", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10471 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10474 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10476 return Py_BuildValue((char *)"");
10478 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxString
*arg1
= 0 ;
10481 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10482 int arg3
= (int) -1 ;
10484 bool temp1
= false ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "name",(char *) "type",(char *) "index", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10494 arg1
= wxString_in_helper(obj0
);
10495 if (arg1
== NULL
) SWIG_fail
;
10500 arg2
= (long)(SWIG_As_long(obj1
));
10501 if (SWIG_arg_fail(2)) SWIG_fail
;
10506 arg3
= (int)(SWIG_As_int(obj2
));
10507 if (SWIG_arg_fail(3)) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10532 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
;
10534 wxImage
*arg1
= (wxImage
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 Py_INCREF(Py_None
); resultobj
= Py_None
;
10557 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxString
*arg1
= 0 ;
10560 wxString
*arg2
= 0 ;
10561 int arg3
= (int) -1 ;
10563 bool temp1
= false ;
10564 bool temp2
= false ;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj2
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10574 arg1
= wxString_in_helper(obj0
);
10575 if (arg1
== NULL
) SWIG_fail
;
10579 arg2
= wxString_in_helper(obj1
);
10580 if (arg2
== NULL
) SWIG_fail
;
10585 arg3
= (int)(SWIG_As_int(obj2
));
10586 if (SWIG_arg_fail(3)) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10619 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxInputStream
*arg1
= 0 ;
10622 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10623 int arg3
= (int) -1 ;
10625 wxPyInputStream
*temp1
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "stream",(char *) "type",(char *) "index", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10636 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10637 arg1
= temp1
->m_wxis
;
10640 PyErr_Clear(); // clear the failure of the wxPyConvert above
10641 arg1
= wxPyCBInputStream_create(obj0
, false);
10642 if (arg1
== NULL
) {
10643 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10651 arg2
= (long)(SWIG_As_long(obj1
));
10652 if (SWIG_arg_fail(2)) SWIG_fail
;
10657 arg3
= (int)(SWIG_As_int(obj2
));
10658 if (SWIG_arg_fail(3)) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10670 if (created1
) delete arg1
;
10675 if (created1
) delete arg1
;
10681 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxInputStream
*arg1
= 0 ;
10684 wxString
*arg2
= 0 ;
10685 int arg3
= (int) -1 ;
10687 wxPyInputStream
*temp1
;
10689 bool temp2
= false ;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10700 arg1
= temp1
->m_wxis
;
10703 PyErr_Clear(); // clear the failure of the wxPyConvert above
10704 arg1
= wxPyCBInputStream_create(obj0
, false);
10705 if (arg1
== NULL
) {
10706 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10713 arg2
= wxString_in_helper(obj1
);
10714 if (arg2
== NULL
) SWIG_fail
;
10719 arg3
= (int)(SWIG_As_int(obj2
));
10720 if (SWIG_arg_fail(3)) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10732 if (created1
) delete arg1
;
10741 if (created1
) delete arg1
;
10751 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 int arg1
= (int) 0 ;
10754 int arg2
= (int) 0 ;
10755 bool arg3
= (bool) true ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 PyObject
* obj2
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "width",(char *) "height",(char *) "clear", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10767 arg1
= (int)(SWIG_As_int(obj0
));
10768 if (SWIG_arg_fail(1)) SWIG_fail
;
10773 arg2
= (int)(SWIG_As_int(obj1
));
10774 if (SWIG_arg_fail(2)) SWIG_fail
;
10779 arg3
= (bool)(SWIG_As_bool(obj2
));
10780 if (SWIG_arg_fail(3)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10797 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxBitmap
*arg1
= 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "bitmap", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10810 if (arg1
== NULL
) {
10811 SWIG_null_ref("wxBitmap");
10813 if (SWIG_arg_fail(1)) SWIG_fail
;
10816 if (!wxPyCheckForApp()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10830 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 PyObject
* obj2
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "width",(char *) "height",(char *) "data", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10846 arg1
= (int)(SWIG_As_int(obj0
));
10847 if (SWIG_arg_fail(1)) SWIG_fail
;
10850 arg2
= (int)(SWIG_As_int(obj1
));
10851 if (SWIG_arg_fail(2)) SWIG_fail
;
10854 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10870 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 PyObject
* obj3
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10889 arg1
= (int)(SWIG_As_int(obj0
));
10890 if (SWIG_arg_fail(1)) SWIG_fail
;
10893 arg2
= (int)(SWIG_As_int(obj1
));
10894 if (SWIG_arg_fail(2)) SWIG_fail
;
10897 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10900 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10916 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxImage
*arg1
= (wxImage
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 PyObject
* obj2
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "width",(char *) "height", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail
;
10932 arg2
= (int)(SWIG_As_int(obj1
));
10933 if (SWIG_arg_fail(2)) SWIG_fail
;
10936 arg3
= (int)(SWIG_As_int(obj2
));
10937 if (SWIG_arg_fail(3)) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 (arg1
)->Create(arg2
,arg3
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxImage
*arg1
= (wxImage
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxImage
*arg1
= (wxImage
*) 0 ;
10983 SwigValueWrapper
<wxImage
> result
;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 PyObject
* obj2
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self",(char *) "width",(char *) "height", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail
;
10995 arg2
= (int)(SWIG_As_int(obj1
));
10996 if (SWIG_arg_fail(2)) SWIG_fail
;
10999 arg3
= (int)(SWIG_As_int(obj2
));
11000 if (SWIG_arg_fail(3)) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (arg1
)->Scale(arg2
,arg3
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 wxImage
* resultptr
;
11011 resultptr
= new wxImage((wxImage
&)(result
));
11012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11020 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
;
11022 wxImage
*arg1
= (wxImage
*) 0 ;
11025 SwigValueWrapper
<wxImage
> result
;
11026 PyObject
* obj0
= 0 ;
11027 PyObject
* obj1
= 0 ;
11028 PyObject
* obj2
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail
;
11037 arg2
= (int)(SWIG_As_int(obj1
));
11038 if (SWIG_arg_fail(2)) SWIG_fail
;
11041 arg3
= (int)(SWIG_As_int(obj2
));
11042 if (SWIG_arg_fail(3)) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 wxImage
* resultptr
;
11053 resultptr
= new wxImage((wxImage
&)(result
));
11054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11062 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxImage
*arg1
= (wxImage
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "width",(char *) "height", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11077 if (SWIG_arg_fail(1)) SWIG_fail
;
11079 arg2
= (int)(SWIG_As_int(obj1
));
11080 if (SWIG_arg_fail(2)) SWIG_fail
;
11083 arg3
= (int)(SWIG_As_int(obj2
));
11084 if (SWIG_arg_fail(3)) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11090 result
= (wxImage
*) &_result_ref
;
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11103 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxImage
*arg1
= (wxImage
*) 0 ;
11107 wxPoint
*arg3
= 0 ;
11108 int arg4
= (int) -1 ;
11109 int arg5
= (int) -1 ;
11110 int arg6
= (int) -1 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 PyObject
* obj4
= 0 ;
11119 PyObject
* obj5
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail
;
11129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11137 arg4
= (int)(SWIG_As_int(obj3
));
11138 if (SWIG_arg_fail(4)) SWIG_fail
;
11143 arg5
= (int)(SWIG_As_int(obj4
));
11144 if (SWIG_arg_fail(5)) SWIG_fail
;
11149 arg6
= (int)(SWIG_As_int(obj5
));
11150 if (SWIG_arg_fail(6)) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11157 result
= (wxImage
*) &_result_ref
;
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11170 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxImage
*arg1
= (wxImage
*) 0 ;
11175 unsigned char arg4
;
11176 unsigned char arg5
;
11177 unsigned char arg6
;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 PyObject
* obj2
= 0 ;
11181 PyObject
* obj3
= 0 ;
11182 PyObject
* obj4
= 0 ;
11183 PyObject
* obj5
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11190 if (SWIG_arg_fail(1)) SWIG_fail
;
11192 arg2
= (int)(SWIG_As_int(obj1
));
11193 if (SWIG_arg_fail(2)) SWIG_fail
;
11196 arg3
= (int)(SWIG_As_int(obj2
));
11197 if (SWIG_arg_fail(3)) SWIG_fail
;
11200 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11201 if (SWIG_arg_fail(4)) SWIG_fail
;
11204 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11205 if (SWIG_arg_fail(5)) SWIG_fail
;
11208 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11209 if (SWIG_arg_fail(6)) SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxImage
*arg1
= (wxImage
*) 0 ;
11229 unsigned char arg3
;
11230 unsigned char arg4
;
11231 unsigned char arg5
;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 PyObject
* obj2
= 0 ;
11236 PyObject
* obj3
= 0 ;
11237 PyObject
* obj4
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11244 if (SWIG_arg_fail(1)) SWIG_fail
;
11247 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11250 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11251 if (SWIG_arg_fail(3)) SWIG_fail
;
11254 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11255 if (SWIG_arg_fail(4)) SWIG_fail
;
11258 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11259 if (SWIG_arg_fail(5)) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11275 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxImage
*arg1
= (wxImage
*) 0 ;
11280 unsigned char result
;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 PyObject
* obj2
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "x",(char *) "y", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail
;
11292 arg2
= (int)(SWIG_As_int(obj1
));
11293 if (SWIG_arg_fail(2)) SWIG_fail
;
11296 arg3
= (int)(SWIG_As_int(obj2
));
11297 if (SWIG_arg_fail(3)) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11315 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxImage
*arg1
= (wxImage
*) 0 ;
11320 unsigned char result
;
11321 PyObject
* obj0
= 0 ;
11322 PyObject
* obj1
= 0 ;
11323 PyObject
* obj2
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "x",(char *) "y", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11330 if (SWIG_arg_fail(1)) SWIG_fail
;
11332 arg2
= (int)(SWIG_As_int(obj1
));
11333 if (SWIG_arg_fail(2)) SWIG_fail
;
11336 arg3
= (int)(SWIG_As_int(obj2
));
11337 if (SWIG_arg_fail(3)) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11355 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxImage
*arg1
= (wxImage
*) 0 ;
11360 unsigned char result
;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 PyObject
* obj2
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "x",(char *) "y", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11370 if (SWIG_arg_fail(1)) SWIG_fail
;
11372 arg2
= (int)(SWIG_As_int(obj1
));
11373 if (SWIG_arg_fail(2)) SWIG_fail
;
11376 arg3
= (int)(SWIG_As_int(obj2
));
11377 if (SWIG_arg_fail(3)) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11395 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxImage
*arg1
= (wxImage
*) 0 ;
11400 unsigned char arg4
;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail
;
11413 arg2
= (int)(SWIG_As_int(obj1
));
11414 if (SWIG_arg_fail(2)) SWIG_fail
;
11417 arg3
= (int)(SWIG_As_int(obj2
));
11418 if (SWIG_arg_fail(3)) SWIG_fail
;
11421 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11422 if (SWIG_arg_fail(4)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxImage
*arg1
= (wxImage
*) 0 ;
11443 unsigned char result
;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 PyObject
* obj2
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "x",(char *) "y", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail
;
11455 arg2
= (int)(SWIG_As_int(obj1
));
11456 if (SWIG_arg_fail(2)) SWIG_fail
;
11459 arg3
= (int)(SWIG_As_int(obj2
));
11460 if (SWIG_arg_fail(3)) SWIG_fail
;
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11478 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxImage
*arg1
= (wxImage
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11489 if (SWIG_arg_fail(1)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (bool)(arg1
)->HasAlpha();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11506 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxImage
*arg1
= (wxImage
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 (arg1
)->InitAlpha();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 Py_INCREF(Py_None
); resultobj
= Py_None
;
11531 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxImage
*arg1
= (wxImage
*) 0 ;
11536 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11541 PyObject
* obj3
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail
;
11550 arg2
= (int)(SWIG_As_int(obj1
));
11551 if (SWIG_arg_fail(2)) SWIG_fail
;
11554 arg3
= (int)(SWIG_As_int(obj2
));
11555 if (SWIG_arg_fail(3)) SWIG_fail
;
11559 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11560 if (SWIG_arg_fail(4)) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11579 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxImage
*arg1
= (wxImage
*) 0 ;
11582 byte
*arg2
= (byte
*) 0 ;
11583 byte
*arg3
= (byte
*) 0 ;
11584 byte
*arg4
= (byte
*) 0 ;
11585 byte arg5
= (byte
) 0 ;
11586 byte arg6
= (byte
) 0 ;
11587 byte arg7
= (byte
) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 PyObject
* obj1
= 0 ;
11597 PyObject
* obj2
= 0 ;
11598 PyObject
* obj3
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11603 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11604 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11605 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11608 if (SWIG_arg_fail(1)) SWIG_fail
;
11611 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11612 if (SWIG_arg_fail(5)) SWIG_fail
;
11617 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11618 if (SWIG_arg_fail(6)) SWIG_fail
;
11623 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11624 if (SWIG_arg_fail(7)) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11637 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11638 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11639 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11640 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11641 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11642 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11649 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxImage
*arg1
= (wxImage
*) 0 ;
11652 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11654 PyObject
* obj0
= 0 ;
11655 PyObject
* obj1
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self",(char *) "threshold", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail
;
11665 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11666 if (SWIG_arg_fail(2)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11685 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxImage
*arg1
= (wxImage
*) 0 ;
11688 unsigned char arg2
;
11689 unsigned char arg3
;
11690 unsigned char arg4
;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 PyObject
* obj3
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail
;
11704 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11705 if (SWIG_arg_fail(2)) SWIG_fail
;
11708 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11709 if (SWIG_arg_fail(3)) SWIG_fail
;
11712 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11713 if (SWIG_arg_fail(4)) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxImage
*arg1
= (wxImage
*) 0 ;
11734 wxImage
*arg2
= 0 ;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 PyObject
* obj3
= 0 ;
11743 PyObject
* obj4
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11750 if (SWIG_arg_fail(1)) SWIG_fail
;
11752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11753 if (SWIG_arg_fail(2)) SWIG_fail
;
11754 if (arg2
== NULL
) {
11755 SWIG_null_ref("wxImage");
11757 if (SWIG_arg_fail(2)) SWIG_fail
;
11760 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11761 if (SWIG_arg_fail(3)) SWIG_fail
;
11764 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11765 if (SWIG_arg_fail(4)) SWIG_fail
;
11768 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11769 if (SWIG_arg_fail(5)) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11787 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxString
*arg1
= 0 ;
11791 bool temp1
= false ;
11792 PyObject
* obj0
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "name", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11799 arg1
= wxString_in_helper(obj0
);
11800 if (arg1
== NULL
) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxString
*arg1
= 0 ;
11830 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11832 bool temp1
= false ;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "name",(char *) "type", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11841 arg1
= wxString_in_helper(obj0
);
11842 if (arg1
== NULL
) SWIG_fail
;
11847 arg2
= (long)(SWIG_As_long(obj1
));
11848 if (SWIG_arg_fail(2)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_From_int((int)(result
));
11875 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxImage
*arg1
= (wxImage
*) 0 ;
11878 wxString
*arg2
= 0 ;
11879 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11880 int arg4
= (int) -1 ;
11882 bool temp2
= false ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 PyObject
* obj2
= 0 ;
11886 PyObject
* obj3
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail
;
11895 arg2
= wxString_in_helper(obj1
);
11896 if (arg2
== NULL
) SWIG_fail
;
11901 arg3
= (long)(SWIG_As_long(obj2
));
11902 if (SWIG_arg_fail(3)) SWIG_fail
;
11907 arg4
= (int)(SWIG_As_int(obj3
));
11908 if (SWIG_arg_fail(4)) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxImage
*arg1
= (wxImage
*) 0 ;
11938 wxString
*arg2
= 0 ;
11939 wxString
*arg3
= 0 ;
11940 int arg4
= (int) -1 ;
11942 bool temp2
= false ;
11943 bool temp3
= false ;
11944 PyObject
* obj0
= 0 ;
11945 PyObject
* obj1
= 0 ;
11946 PyObject
* obj2
= 0 ;
11947 PyObject
* obj3
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11954 if (SWIG_arg_fail(1)) SWIG_fail
;
11956 arg2
= wxString_in_helper(obj1
);
11957 if (arg2
== NULL
) SWIG_fail
;
11961 arg3
= wxString_in_helper(obj2
);
11962 if (arg3
== NULL
) SWIG_fail
;
11967 arg4
= (int)(SWIG_As_int(obj3
));
11968 if (SWIG_arg_fail(4)) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12003 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxImage
*arg1
= (wxImage
*) 0 ;
12006 wxString
*arg2
= 0 ;
12009 bool temp2
= false ;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 PyObject
* obj2
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self",(char *) "name",(char *) "type", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 arg2
= wxString_in_helper(obj1
);
12022 if (arg2
== NULL
) SWIG_fail
;
12026 arg3
= (int)(SWIG_As_int(obj2
));
12027 if (SWIG_arg_fail(3)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12053 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxImage
*arg1
= (wxImage
*) 0 ;
12056 wxString
*arg2
= 0 ;
12057 wxString
*arg3
= 0 ;
12059 bool temp2
= false ;
12060 bool temp3
= false ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 PyObject
* obj2
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12070 if (SWIG_arg_fail(1)) SWIG_fail
;
12072 arg2
= wxString_in_helper(obj1
);
12073 if (arg2
== NULL
) SWIG_fail
;
12077 arg3
= wxString_in_helper(obj2
);
12078 if (arg3
== NULL
) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12113 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxInputStream
*arg1
= 0 ;
12117 wxPyInputStream
*temp1
;
12119 PyObject
* obj0
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "stream", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12126 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12127 arg1
= temp1
->m_wxis
;
12130 PyErr_Clear(); // clear the failure of the wxPyConvert above
12131 arg1
= wxPyCBInputStream_create(obj0
, false);
12132 if (arg1
== NULL
) {
12133 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)wxImage::CanRead(*arg1
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 if (created1
) delete arg1
;
12155 if (created1
) delete arg1
;
12161 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxImage
*arg1
= (wxImage
*) 0 ;
12164 wxInputStream
*arg2
= 0 ;
12165 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12166 int arg4
= (int) -1 ;
12168 wxPyInputStream
*temp2
;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 PyObject
* obj3
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12180 if (SWIG_arg_fail(1)) SWIG_fail
;
12182 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12183 arg2
= temp2
->m_wxis
;
12186 PyErr_Clear(); // clear the failure of the wxPyConvert above
12187 arg2
= wxPyCBInputStream_create(obj1
, false);
12188 if (arg2
== NULL
) {
12189 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12197 arg3
= (long)(SWIG_As_long(obj2
));
12198 if (SWIG_arg_fail(3)) SWIG_fail
;
12203 arg4
= (int)(SWIG_As_int(obj3
));
12204 if (SWIG_arg_fail(4)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12218 if (created2
) delete arg2
;
12223 if (created2
) delete arg2
;
12229 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxImage
*arg1
= (wxImage
*) 0 ;
12232 wxInputStream
*arg2
= 0 ;
12233 wxString
*arg3
= 0 ;
12234 int arg4
= (int) -1 ;
12236 wxPyInputStream
*temp2
;
12238 bool temp3
= false ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 PyObject
* obj2
= 0 ;
12242 PyObject
* obj3
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12252 arg2
= temp2
->m_wxis
;
12255 PyErr_Clear(); // clear the failure of the wxPyConvert above
12256 arg2
= wxPyCBInputStream_create(obj1
, false);
12257 if (arg2
== NULL
) {
12258 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12265 arg3
= wxString_in_helper(obj2
);
12266 if (arg3
== NULL
) SWIG_fail
;
12271 arg4
= (int)(SWIG_As_int(obj3
));
12272 if (SWIG_arg_fail(4)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12286 if (created2
) delete arg2
;
12295 if (created2
) delete arg2
;
12305 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxImage
*arg1
= (wxImage
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)(arg1
)->Ok();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxImage
*arg1
= (wxImage
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12344 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (int)(arg1
)->GetWidth();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_From_int((int)(result
));
12361 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxImage
*arg1
= (wxImage
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12372 if (SWIG_arg_fail(1)) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (int)(arg1
)->GetHeight();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_From_int((int)(result
));
12389 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxImage
*arg1
= (wxImage
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12400 if (SWIG_arg_fail(1)) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= wxImage_GetSize(arg1
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 wxSize
* resultptr
;
12410 resultptr
= new wxSize((wxSize
&)(result
));
12411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12419 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxImage
*arg1
= (wxImage
*) 0 ;
12423 SwigValueWrapper
<wxImage
> result
;
12425 PyObject
* obj0
= 0 ;
12426 PyObject
* obj1
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "rect", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12446 wxImage
* resultptr
;
12447 resultptr
= new wxImage((wxImage
&)(result
));
12448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12456 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxImage
*arg1
= (wxImage
*) 0 ;
12460 wxPoint
*arg3
= 0 ;
12461 int arg4
= (int) -1 ;
12462 int arg5
= (int) -1 ;
12463 int arg6
= (int) -1 ;
12464 SwigValueWrapper
<wxImage
> result
;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 PyObject
* obj2
= 0 ;
12470 PyObject
* obj3
= 0 ;
12471 PyObject
* obj4
= 0 ;
12472 PyObject
* obj5
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12479 if (SWIG_arg_fail(1)) SWIG_fail
;
12482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12490 arg4
= (int)(SWIG_As_int(obj3
));
12491 if (SWIG_arg_fail(4)) SWIG_fail
;
12496 arg5
= (int)(SWIG_As_int(obj4
));
12497 if (SWIG_arg_fail(5)) SWIG_fail
;
12502 arg6
= (int)(SWIG_As_int(obj5
));
12503 if (SWIG_arg_fail(6)) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12514 wxImage
* resultptr
;
12515 resultptr
= new wxImage((wxImage
&)(result
));
12516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12524 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxImage
*arg1
= (wxImage
*) 0 ;
12527 SwigValueWrapper
<wxImage
> result
;
12528 PyObject
* obj0
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12535 if (SWIG_arg_fail(1)) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (arg1
)->Copy();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 wxImage
* resultptr
;
12545 resultptr
= new wxImage((wxImage
&)(result
));
12546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12554 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxImage
*arg1
= (wxImage
*) 0 ;
12557 wxImage
*arg2
= 0 ;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 PyObject
* obj2
= 0 ;
12563 PyObject
* obj3
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12570 if (SWIG_arg_fail(1)) SWIG_fail
;
12572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12573 if (SWIG_arg_fail(2)) SWIG_fail
;
12574 if (arg2
== NULL
) {
12575 SWIG_null_ref("wxImage");
12577 if (SWIG_arg_fail(2)) SWIG_fail
;
12580 arg3
= (int)(SWIG_As_int(obj2
));
12581 if (SWIG_arg_fail(3)) SWIG_fail
;
12584 arg4
= (int)(SWIG_As_int(obj3
));
12585 if (SWIG_arg_fail(4)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 Py_INCREF(Py_None
); resultobj
= Py_None
;
12601 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxImage
*arg1
= (wxImage
*) 0 ;
12605 PyObject
* obj0
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (PyObject
*)wxImage_GetData(arg1
);
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= result
;
12627 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxImage
*arg1
= (wxImage
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self",(char *) "data", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12640 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 wxImage_SetData(arg1
,arg2
,arg3
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 Py_INCREF(Py_None
); resultobj
= Py_None
;
12658 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxImage
*arg1
= (wxImage
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12669 if (SWIG_arg_fail(1)) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
;
12684 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxImage
*arg1
= (wxImage
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "data", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12697 if (SWIG_arg_fail(1)) SWIG_fail
;
12699 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 Py_INCREF(Py_None
); resultobj
= Py_None
;
12715 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxImage
*arg1
= (wxImage
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12726 if (SWIG_arg_fail(1)) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
;
12741 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxImage
*arg1
= (wxImage
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self",(char *) "alpha", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12754 if (SWIG_arg_fail(1)) SWIG_fail
;
12756 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxImage
*arg1
= (wxImage
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12783 if (SWIG_arg_fail(1)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= result
;
12798 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxImage
*arg1
= (wxImage
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self",(char *) "alpha", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12811 if (SWIG_arg_fail(1)) SWIG_fail
;
12813 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12829 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxImage
*arg1
= (wxImage
*) 0 ;
12832 unsigned char arg2
;
12833 unsigned char arg3
;
12834 unsigned char arg4
;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 PyObject
* obj2
= 0 ;
12838 PyObject
* obj3
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12845 if (SWIG_arg_fail(1)) SWIG_fail
;
12847 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12848 if (SWIG_arg_fail(2)) SWIG_fail
;
12851 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12852 if (SWIG_arg_fail(3)) SWIG_fail
;
12855 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12856 if (SWIG_arg_fail(4)) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 Py_INCREF(Py_None
); resultobj
= Py_None
;
12872 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxImage
*arg1
= (wxImage
*) 0 ;
12875 unsigned char *arg2
= (unsigned char *) 0 ;
12876 unsigned char *arg3
= (unsigned char *) 0 ;
12877 unsigned char *arg4
= (unsigned char *) 0 ;
12878 unsigned char temp2
;
12880 unsigned char temp3
;
12882 unsigned char temp4
;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12890 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12891 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(1)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12904 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12905 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12906 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12907 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12908 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12915 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxImage
*arg1
= (wxImage
*) 0 ;
12918 unsigned char result
;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12926 if (SWIG_arg_fail(1)) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (unsigned char)(arg1
)->GetMaskRed();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12943 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxImage
*arg1
= (wxImage
*) 0 ;
12946 unsigned char result
;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12954 if (SWIG_arg_fail(1)) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (unsigned char)(arg1
)->GetMaskGreen();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12971 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxImage
*arg1
= (wxImage
*) 0 ;
12974 unsigned char result
;
12975 PyObject
* obj0
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12982 if (SWIG_arg_fail(1)) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (unsigned char)(arg1
)->GetMaskBlue();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12999 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxImage
*arg1
= (wxImage
*) 0 ;
13002 bool arg2
= (bool) true ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "mask", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13011 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 arg2
= (bool)(SWIG_As_bool(obj1
));
13015 if (SWIG_arg_fail(2)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->SetMask(arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxImage
*arg1
= (wxImage
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13043 if (SWIG_arg_fail(1)) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)(arg1
)->HasMask();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13060 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxImage
*arg1
= (wxImage
*) 0 ;
13064 wxPoint
*arg3
= 0 ;
13065 bool arg4
= (bool) true ;
13066 wxPoint
*arg5
= (wxPoint
*) NULL
;
13067 SwigValueWrapper
<wxImage
> result
;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 PyObject
* obj3
= 0 ;
13073 PyObject
* obj4
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(1)) SWIG_fail
;
13082 arg2
= (double)(SWIG_As_double(obj1
));
13083 if (SWIG_arg_fail(2)) SWIG_fail
;
13087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13091 arg4
= (bool)(SWIG_As_bool(obj3
));
13092 if (SWIG_arg_fail(4)) SWIG_fail
;
13096 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13097 if (SWIG_arg_fail(5)) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 wxImage
* resultptr
;
13108 resultptr
= new wxImage((wxImage
&)(result
));
13109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13117 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxImage
*arg1
= (wxImage
*) 0 ;
13120 bool arg2
= (bool) true ;
13121 SwigValueWrapper
<wxImage
> result
;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "clockwise", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13133 arg2
= (bool)(SWIG_As_bool(obj1
));
13134 if (SWIG_arg_fail(2)) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (arg1
)->Rotate90(arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 wxImage
* resultptr
;
13146 resultptr
= new wxImage((wxImage
&)(result
));
13147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13155 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxImage
*arg1
= (wxImage
*) 0 ;
13158 bool arg2
= (bool) true ;
13159 SwigValueWrapper
<wxImage
> result
;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "horizontally", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail
;
13171 arg2
= (bool)(SWIG_As_bool(obj1
));
13172 if (SWIG_arg_fail(2)) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (arg1
)->Mirror(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 wxImage
* resultptr
;
13184 resultptr
= new wxImage((wxImage
&)(result
));
13185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13193 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxImage
*arg1
= (wxImage
*) 0 ;
13196 unsigned char arg2
;
13197 unsigned char arg3
;
13198 unsigned char arg4
;
13199 unsigned char arg5
;
13200 unsigned char arg6
;
13201 unsigned char arg7
;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 PyObject
* obj2
= 0 ;
13205 PyObject
* obj3
= 0 ;
13206 PyObject
* obj4
= 0 ;
13207 PyObject
* obj5
= 0 ;
13208 PyObject
* obj6
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail
;
13217 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13218 if (SWIG_arg_fail(2)) SWIG_fail
;
13221 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13222 if (SWIG_arg_fail(3)) SWIG_fail
;
13225 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13226 if (SWIG_arg_fail(4)) SWIG_fail
;
13229 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13230 if (SWIG_arg_fail(5)) SWIG_fail
;
13233 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13234 if (SWIG_arg_fail(6)) SWIG_fail
;
13237 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13238 if (SWIG_arg_fail(7)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxImage
*arg1
= (wxImage
*) 0 ;
13257 unsigned char arg2
;
13258 unsigned char arg3
;
13259 unsigned char arg4
;
13260 SwigValueWrapper
<wxImage
> result
;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj3
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13271 if (SWIG_arg_fail(1)) SWIG_fail
;
13273 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13274 if (SWIG_arg_fail(2)) SWIG_fail
;
13277 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13278 if (SWIG_arg_fail(3)) SWIG_fail
;
13281 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13282 if (SWIG_arg_fail(4)) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13292 wxImage
* resultptr
;
13293 resultptr
= new wxImage((wxImage
&)(result
));
13294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13302 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxImage
*arg1
= (wxImage
*) 0 ;
13305 wxString
*arg2
= 0 ;
13306 wxString
*arg3
= 0 ;
13307 bool temp2
= false ;
13308 bool temp3
= false ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 PyObject
* obj2
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self",(char *) "name",(char *) "value", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail
;
13320 arg2
= wxString_in_helper(obj1
);
13321 if (arg2
== NULL
) SWIG_fail
;
13325 arg3
= wxString_in_helper(obj2
);
13326 if (arg3
== NULL
) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13359 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxImage
*arg1
= (wxImage
*) 0 ;
13362 wxString
*arg2
= 0 ;
13364 bool temp2
= false ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 PyObject
* obj2
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self",(char *) "name",(char *) "value", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13374 if (SWIG_arg_fail(1)) SWIG_fail
;
13376 arg2
= wxString_in_helper(obj1
);
13377 if (arg2
== NULL
) SWIG_fail
;
13381 arg3
= (int)(SWIG_As_int(obj2
));
13382 if (SWIG_arg_fail(3)) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxImage
*arg1
= (wxImage
*) 0 ;
13409 wxString
*arg2
= 0 ;
13411 bool temp2
= false ;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "name", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13422 arg2
= wxString_in_helper(obj1
);
13423 if (arg2
== NULL
) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13454 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxImage
*arg1
= (wxImage
*) 0 ;
13457 wxString
*arg2
= 0 ;
13459 bool temp2
= false ;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "self",(char *) "name", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13468 if (SWIG_arg_fail(1)) SWIG_fail
;
13470 arg2
= wxString_in_helper(obj1
);
13471 if (arg2
== NULL
) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_From_int((int)(result
));
13498 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxImage
*arg1
= (wxImage
*) 0 ;
13501 wxString
*arg2
= 0 ;
13503 bool temp2
= false ;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self",(char *) "name", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail
;
13514 arg2
= wxString_in_helper(obj1
);
13515 if (arg2
== NULL
) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13542 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxImage
*arg1
= (wxImage
*) 0 ;
13545 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13546 unsigned long result
;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self",(char *) "stopafter", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13555 if (SWIG_arg_fail(1)) SWIG_fail
;
13558 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13559 if (SWIG_arg_fail(2)) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13578 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxImage
*arg1
= (wxImage
*) 0 ;
13581 wxImageHistogram
*arg2
= 0 ;
13582 unsigned long result
;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self",(char *) "h", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13591 if (SWIG_arg_fail(1)) SWIG_fail
;
13593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13594 if (SWIG_arg_fail(2)) SWIG_fail
;
13595 if (arg2
== NULL
) {
13596 SWIG_null_ref("wxImageHistogram");
13598 if (SWIG_arg_fail(2)) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13616 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "handler", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxImage::AddHandler(arg1
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "handler", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 wxImage::InsertHandler(arg1
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 Py_INCREF(Py_None
); resultobj
= Py_None
;
13666 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxString
*arg1
= 0 ;
13670 bool temp1
= false ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "name", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13678 arg1
= wxString_in_helper(obj0
);
13679 if (arg1
== NULL
) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13706 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13709 char *kwnames
[] = {
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= wxImage::GetImageExtWildcard();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13734 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxImage
*arg1
= (wxImage
*) 0 ;
13737 int arg2
= (int) -1 ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 char *kwnames
[] = {
13742 (char *) "self",(char *) "depth", NULL
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13747 if (SWIG_arg_fail(1)) SWIG_fail
;
13750 arg2
= (int)(SWIG_As_int(obj1
));
13751 if (SWIG_arg_fail(2)) SWIG_fail
;
13755 if (!wxPyCheckForApp()) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 wxBitmap
* resultptr
;
13764 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13773 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
;
13775 wxImage
*arg1
= (wxImage
*) 0 ;
13776 unsigned char arg2
;
13777 unsigned char arg3
;
13778 unsigned char arg4
;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 PyObject
* obj2
= 0 ;
13783 PyObject
* obj3
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13790 if (SWIG_arg_fail(1)) SWIG_fail
;
13792 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13793 if (SWIG_arg_fail(2)) SWIG_fail
;
13796 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13797 if (SWIG_arg_fail(3)) SWIG_fail
;
13800 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13801 if (SWIG_arg_fail(4)) SWIG_fail
;
13804 if (!wxPyCheckForApp()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13812 wxBitmap
* resultptr
;
13813 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13822 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13827 return Py_BuildValue((char *)"");
13829 static int _wrap_NullImage_set(PyObject
*) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13835 static PyObject
*_wrap_NullImage_get(void) {
13838 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13843 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13844 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13849 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13854 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13856 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13863 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13864 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13869 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13874 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13876 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13883 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13884 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13889 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13894 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13896 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13903 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13904 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13909 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13914 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13916 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13923 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13924 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13929 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13934 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13936 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13943 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13944 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13949 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13954 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13956 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13963 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13964 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13969 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13974 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13976 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13983 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13984 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13989 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13994 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13996 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14003 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14004 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14009 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14014 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14016 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14023 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14024 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14029 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14034 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14036 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14043 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14044 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14049 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14054 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14056 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14063 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14064 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14069 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14074 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14076 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14083 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14084 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14089 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14094 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14096 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14103 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14104 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14109 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14114 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14116 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14123 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14124 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14129 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14134 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14136 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14143 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
;
14145 wxBMPHandler
*result
;
14146 char *kwnames
[] = {
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (wxBMPHandler
*)new wxBMPHandler();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14165 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14168 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14170 return Py_BuildValue((char *)"");
14172 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxICOHandler
*result
;
14175 char *kwnames
[] = {
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxICOHandler
*)new wxICOHandler();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14194 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14199 return Py_BuildValue((char *)"");
14201 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxCURHandler
*result
;
14204 char *kwnames
[] = {
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (wxCURHandler
*)new wxCURHandler();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14223 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14226 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14228 return Py_BuildValue((char *)"");
14230 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxANIHandler
*result
;
14233 char *kwnames
[] = {
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (wxANIHandler
*)new wxANIHandler();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14252 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14257 return Py_BuildValue((char *)"");
14259 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxPNGHandler
*result
;
14262 char *kwnames
[] = {
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (wxPNGHandler
*)new wxPNGHandler();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14281 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14284 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14286 return Py_BuildValue((char *)"");
14288 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxGIFHandler
*result
;
14291 char *kwnames
[] = {
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 result
= (wxGIFHandler
*)new wxGIFHandler();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14310 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14313 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14315 return Py_BuildValue((char *)"");
14317 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxPCXHandler
*result
;
14320 char *kwnames
[] = {
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxPCXHandler
*)new wxPCXHandler();
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14339 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14342 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14344 return Py_BuildValue((char *)"");
14346 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxJPEGHandler
*result
;
14349 char *kwnames
[] = {
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14368 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14371 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14373 return Py_BuildValue((char *)"");
14375 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxPNMHandler
*result
;
14378 char *kwnames
[] = {
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (wxPNMHandler
*)new wxPNMHandler();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14397 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14400 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14402 return Py_BuildValue((char *)"");
14404 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxXPMHandler
*result
;
14407 char *kwnames
[] = {
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (wxXPMHandler
*)new wxXPMHandler();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14426 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14429 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14431 return Py_BuildValue((char *)"");
14433 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxTIFFHandler
*result
;
14436 char *kwnames
[] = {
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14455 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14458 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14460 return Py_BuildValue((char *)"");
14462 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxImage
*arg1
= 0 ;
14465 wxImage
*arg2
= 0 ;
14466 int arg3
= (int) 236 ;
14467 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14469 PyObject
* obj0
= 0 ;
14470 PyObject
* obj1
= 0 ;
14471 PyObject
* obj2
= 0 ;
14472 PyObject
* obj3
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14480 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 if (arg1
== NULL
) {
14482 SWIG_null_ref("wxImage");
14484 if (SWIG_arg_fail(1)) SWIG_fail
;
14487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14488 if (SWIG_arg_fail(2)) SWIG_fail
;
14489 if (arg2
== NULL
) {
14490 SWIG_null_ref("wxImage");
14492 if (SWIG_arg_fail(2)) SWIG_fail
;
14496 arg3
= (int)(SWIG_As_int(obj2
));
14497 if (SWIG_arg_fail(3)) SWIG_fail
;
14502 arg4
= (int)(SWIG_As_int(obj3
));
14503 if (SWIG_arg_fail(4)) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14522 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14525 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14527 return Py_BuildValue((char *)"");
14529 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxEvtHandler
*result
;
14532 char *kwnames
[] = {
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxEvtHandler
*)new wxEvtHandler();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14551 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14554 wxEvtHandler
*result
;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= wxPyMake_wxObject(result
, 0);
14579 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14582 wxEvtHandler
*result
;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= wxPyMake_wxObject(result
, 0);
14607 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14610 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "handler", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14619 if (SWIG_arg_fail(1)) SWIG_fail
;
14620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(2)) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 (arg1
)->SetNextHandler(arg2
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 Py_INCREF(Py_None
); resultobj
= Py_None
;
14636 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14639 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "handler", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14648 if (SWIG_arg_fail(1)) SWIG_fail
;
14649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14650 if (SWIG_arg_fail(2)) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->SetPreviousHandler(arg2
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14676 if (SWIG_arg_fail(1)) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14693 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14697 PyObject
* obj0
= 0 ;
14698 PyObject
* obj1
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self",(char *) "enabled", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14705 if (SWIG_arg_fail(1)) SWIG_fail
;
14707 arg2
= (bool)(SWIG_As_bool(obj1
));
14708 if (SWIG_arg_fail(2)) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 (arg1
)->SetEvtHandlerEnabled(arg2
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14727 wxEvent
*arg2
= 0 ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "event", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14740 if (SWIG_arg_fail(2)) SWIG_fail
;
14741 if (arg2
== NULL
) {
14742 SWIG_null_ref("wxEvent");
14744 if (SWIG_arg_fail(2)) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14765 wxEvent
*arg2
= 0 ;
14766 PyObject
* obj0
= 0 ;
14767 PyObject
* obj1
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self",(char *) "event", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14774 if (SWIG_arg_fail(1)) SWIG_fail
;
14776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14777 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 if (arg2
== NULL
) {
14779 SWIG_null_ref("wxEvent");
14781 if (SWIG_arg_fail(2)) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 (arg1
)->AddPendingEvent(*arg2
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 Py_INCREF(Py_None
); resultobj
= Py_None
;
14797 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14807 if (SWIG_arg_fail(1)) SWIG_fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 (arg1
)->ProcessPendingEvents();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 Py_INCREF(Py_None
); resultobj
= Py_None
;
14822 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14828 PyObject
*arg5
= (PyObject
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 PyObject
* obj2
= 0 ;
14832 PyObject
* obj3
= 0 ;
14833 PyObject
* obj4
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14842 arg2
= (int)(SWIG_As_int(obj1
));
14843 if (SWIG_arg_fail(2)) SWIG_fail
;
14846 arg3
= (int)(SWIG_As_int(obj2
));
14847 if (SWIG_arg_fail(3)) SWIG_fail
;
14850 arg4
= (int)(SWIG_As_int(obj3
));
14851 if (SWIG_arg_fail(4)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14872 int arg3
= (int) -1 ;
14873 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 PyObject
* obj2
= 0 ;
14878 PyObject
* obj3
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14885 if (SWIG_arg_fail(1)) SWIG_fail
;
14887 arg2
= (int)(SWIG_As_int(obj1
));
14888 if (SWIG_arg_fail(2)) SWIG_fail
;
14892 arg3
= (int)(SWIG_As_int(obj2
));
14893 if (SWIG_arg_fail(3)) SWIG_fail
;
14898 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14899 if (SWIG_arg_fail(4)) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14918 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14921 PyObject
*arg2
= (PyObject
*) 0 ;
14922 bool arg3
= (bool) true ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 PyObject
* obj2
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "_self",(char *) "incref", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail
;
14936 arg3
= (bool)(SWIG_As_bool(obj2
));
14937 if (SWIG_arg_fail(3)) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 Py_INCREF(Py_None
); resultobj
= Py_None
;
14954 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14957 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14959 return Py_BuildValue((char *)"");
14961 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxEventType result
;
14964 char *kwnames
[] = {
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxEventType
)wxNewEventType();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_From_int((int)(result
));
14985 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxEvent
*arg1
= (wxEvent
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxEvent
*arg1
= (wxEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self",(char *) "typ", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15022 if (SWIG_arg_fail(1)) SWIG_fail
;
15024 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15025 if (SWIG_arg_fail(2)) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->SetEventType(arg2
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 Py_INCREF(Py_None
); resultobj
= Py_None
;
15041 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxEvent
*arg1
= (wxEvent
*) 0 ;
15044 wxEventType result
;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_From_int((int)(result
));
15069 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxEvent
*arg1
= (wxEvent
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= wxPyMake_wxObject(result
, 0);
15097 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxEvent
*arg1
= (wxEvent
*) 0 ;
15100 wxObject
*arg2
= (wxObject
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "obj", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(1)) SWIG_fail
;
15110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15111 if (SWIG_arg_fail(2)) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->SetEventObject(arg2
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 Py_INCREF(Py_None
); resultobj
= Py_None
;
15126 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxEvent
*arg1
= (wxEvent
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15137 if (SWIG_arg_fail(1)) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_From_long((long)(result
));
15154 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxEvent
*arg1
= (wxEvent
*) 0 ;
15157 long arg2
= (long) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self",(char *) "ts", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15166 if (SWIG_arg_fail(1)) SWIG_fail
;
15169 arg2
= (long)(SWIG_As_long(obj1
));
15170 if (SWIG_arg_fail(2)) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetTimestamp(arg2
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15187 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxEvent
*arg1
= (wxEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15198 if (SWIG_arg_fail(1)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)((wxEvent
const *)arg1
)->GetId();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_From_int((int)(result
));
15215 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxEvent
*arg1
= (wxEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "Id", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15227 if (SWIG_arg_fail(1)) SWIG_fail
;
15229 arg2
= (int)(SWIG_As_int(obj1
));
15230 if (SWIG_arg_fail(2)) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 (arg1
)->SetId(arg2
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 Py_INCREF(Py_None
); resultobj
= Py_None
;
15246 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxEvent
*arg1
= (wxEvent
*) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15257 if (SWIG_arg_fail(1)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxEvent
*arg1
= (wxEvent
*) 0 ;
15277 bool arg2
= (bool) true ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "skip", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15289 arg2
= (bool)(SWIG_As_bool(obj1
));
15290 if (SWIG_arg_fail(2)) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->Skip(arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15307 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
;
15309 wxEvent
*arg1
= (wxEvent
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15318 if (SWIG_arg_fail(1)) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15335 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxEvent
*arg1
= (wxEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15346 if (SWIG_arg_fail(1)) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15363 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxEvent
*arg1
= (wxEvent
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15374 if (SWIG_arg_fail(1)) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (int)(arg1
)->StopPropagation();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_From_int((int)(result
));
15391 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
;
15393 wxEvent
*arg1
= (wxEvent
*) 0 ;
15395 PyObject
* obj0
= 0 ;
15396 PyObject
* obj1
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self",(char *) "propagationLevel", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail
;
15405 arg2
= (int)(SWIG_As_int(obj1
));
15406 if (SWIG_arg_fail(2)) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->ResumePropagation(arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15422 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxEvent
*arg1
= (wxEvent
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15433 if (SWIG_arg_fail(1)) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (wxEvent
*)(arg1
)->Clone();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15448 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15451 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15453 return Py_BuildValue((char *)"");
15455 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxEvent
*arg1
= 0 ;
15458 wxPropagationDisabler
*result
;
15459 PyObject
* obj0
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "event", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15467 if (SWIG_arg_fail(1)) SWIG_fail
;
15468 if (arg1
== NULL
) {
15469 SWIG_null_ref("wxEvent");
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15487 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15497 if (SWIG_arg_fail(1)) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15505 Py_INCREF(Py_None
); resultobj
= Py_None
;
15512 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15515 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15517 return Py_BuildValue((char *)"");
15519 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxEvent
*arg1
= 0 ;
15522 wxPropagateOnce
*result
;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "event", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 if (arg1
== NULL
) {
15533 SWIG_null_ref("wxEvent");
15535 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15551 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15579 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15581 return Py_BuildValue((char *)"");
15583 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15586 int arg2
= (int) 0 ;
15587 wxCommandEvent
*result
;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "commandType",(char *) "winid", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15597 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15598 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 arg2
= (int)(SWIG_As_int(obj1
));
15604 if (SWIG_arg_fail(2)) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15621 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_From_int((int)(result
));
15649 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15650 PyObject
*resultobj
;
15651 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15652 wxString
*arg2
= 0 ;
15653 bool temp2
= false ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self",(char *) "s", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15662 if (SWIG_arg_fail(1)) SWIG_fail
;
15664 arg2
= wxString_in_helper(obj1
);
15665 if (arg2
== NULL
) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 (arg1
)->SetString((wxString
const &)*arg2
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 Py_INCREF(Py_None
); resultobj
= Py_None
;
15690 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15694 PyObject
* obj0
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "self", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15701 if (SWIG_arg_fail(1)) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15722 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15733 if (SWIG_arg_fail(1)) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15750 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15761 if (SWIG_arg_fail(1)) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15778 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "extraLong", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15790 if (SWIG_arg_fail(1)) SWIG_fail
;
15792 arg2
= (long)(SWIG_As_long(obj1
));
15793 if (SWIG_arg_fail(2)) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->SetExtraLong(arg2
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15809 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15813 PyObject
* obj0
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15820 if (SWIG_arg_fail(1)) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_From_long((long)(result
));
15837 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "i", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15849 if (SWIG_arg_fail(1)) SWIG_fail
;
15851 arg2
= (int)(SWIG_As_int(obj1
));
15852 if (SWIG_arg_fail(2)) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 (arg1
)->SetInt(arg2
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15879 if (SWIG_arg_fail(1)) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_From_long((long)(result
));
15896 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15907 if (SWIG_arg_fail(1)) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15922 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15925 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15927 return Py_BuildValue((char *)"");
15929 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15932 int arg2
= (int) 0 ;
15933 wxNotifyEvent
*result
;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "commandType",(char *) "winid", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15943 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15944 if (SWIG_arg_fail(1)) SWIG_fail
;
15949 arg2
= (int)(SWIG_As_int(obj1
));
15950 if (SWIG_arg_fail(2)) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15967 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "self", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15977 if (SWIG_arg_fail(1)) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15992 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (bool)(arg1
)->IsAllowed();
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16045 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16048 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16050 return Py_BuildValue((char *)"");
16052 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16055 int arg2
= (int) 0 ;
16056 int arg3
= (int) 0 ;
16057 int arg4
= (int) 0 ;
16058 wxScrollEvent
*result
;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 PyObject
* obj2
= 0 ;
16062 PyObject
* obj3
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16070 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16071 if (SWIG_arg_fail(1)) SWIG_fail
;
16076 arg2
= (int)(SWIG_As_int(obj1
));
16077 if (SWIG_arg_fail(2)) SWIG_fail
;
16082 arg3
= (int)(SWIG_As_int(obj2
));
16083 if (SWIG_arg_fail(3)) SWIG_fail
;
16088 arg4
= (int)(SWIG_As_int(obj3
));
16089 if (SWIG_arg_fail(4)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16106 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_From_int((int)(result
));
16134 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= SWIG_From_int((int)(result
));
16162 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 PyObject
* obj1
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self",(char *) "orient", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16174 if (SWIG_arg_fail(1)) SWIG_fail
;
16176 arg2
= (int)(SWIG_As_int(obj1
));
16177 if (SWIG_arg_fail(2)) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 (arg1
)->SetOrientation(arg2
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 Py_INCREF(Py_None
); resultobj
= Py_None
;
16193 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 PyObject
* obj1
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "pos", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16205 if (SWIG_arg_fail(1)) SWIG_fail
;
16207 arg2
= (int)(SWIG_As_int(obj1
));
16208 if (SWIG_arg_fail(2)) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 (arg1
)->SetPosition(arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 Py_INCREF(Py_None
); resultobj
= Py_None
;
16224 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16227 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16229 return Py_BuildValue((char *)"");
16231 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16234 int arg2
= (int) 0 ;
16235 int arg3
= (int) 0 ;
16236 wxScrollWinEvent
*result
;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 PyObject
* obj2
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16247 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16248 if (SWIG_arg_fail(1)) SWIG_fail
;
16253 arg2
= (int)(SWIG_As_int(obj1
));
16254 if (SWIG_arg_fail(2)) SWIG_fail
;
16259 arg3
= (int)(SWIG_As_int(obj2
));
16260 if (SWIG_arg_fail(3)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16277 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16288 if (SWIG_arg_fail(1)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= SWIG_From_int((int)(result
));
16305 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16316 if (SWIG_arg_fail(1)) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_From_int((int)(result
));
16333 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "orient", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16345 if (SWIG_arg_fail(1)) SWIG_fail
;
16347 arg2
= (int)(SWIG_As_int(obj1
));
16348 if (SWIG_arg_fail(2)) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->SetOrientation(arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "pos", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail
;
16378 arg2
= (int)(SWIG_As_int(obj1
));
16379 if (SWIG_arg_fail(2)) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 (arg1
)->SetPosition(arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 Py_INCREF(Py_None
); resultobj
= Py_None
;
16395 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16400 return Py_BuildValue((char *)"");
16402 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16405 wxMouseEvent
*result
;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "mouseType", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16414 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16415 if (SWIG_arg_fail(1)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= wxPyMake_wxObject(result
, 1);
16434 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16445 if (SWIG_arg_fail(1)) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16462 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16465 int arg2
= (int) wxMOUSE_BTN_ANY
;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "but", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16475 if (SWIG_arg_fail(1)) SWIG_fail
;
16478 arg2
= (int)(SWIG_As_int(obj1
));
16479 if (SWIG_arg_fail(2)) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16498 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16501 int arg2
= (int) wxMOUSE_BTN_ANY
;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "but", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail
;
16514 arg2
= (int)(SWIG_As_int(obj1
));
16515 if (SWIG_arg_fail(2)) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16537 int arg2
= (int) wxMOUSE_BTN_ANY
;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "but", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail
;
16550 arg2
= (int)(SWIG_As_int(obj1
));
16551 if (SWIG_arg_fail(2)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16570 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "button", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16583 if (SWIG_arg_fail(1)) SWIG_fail
;
16585 arg2
= (int)(SWIG_As_int(obj1
));
16586 if (SWIG_arg_fail(2)) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16604 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "but", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 arg2
= (int)(SWIG_As_int(obj1
));
16620 if (SWIG_arg_fail(2)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16638 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
;
16640 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16642 PyObject
* obj0
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_From_int((int)(result
));
16666 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16677 if (SWIG_arg_fail(1)) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16694 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16705 if (SWIG_arg_fail(1)) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16722 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16750 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16778 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16789 if (SWIG_arg_fail(1)) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16806 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16834 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16845 if (SWIG_arg_fail(1)) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16862 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16890 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16918 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16929 if (SWIG_arg_fail(1)) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16946 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 char *kwnames
[] = {
16952 (char *) "self", NULL
16955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16957 if (SWIG_arg_fail(1)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16974 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16985 if (SWIG_arg_fail(1)) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17002 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17013 if (SWIG_arg_fail(1)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17030 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17041 if (SWIG_arg_fail(1)) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17058 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (bool)(arg1
)->LeftIsDown();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17086 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)(arg1
)->MiddleIsDown();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (bool)(arg1
)->RightIsDown();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17142 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17153 if (SWIG_arg_fail(1)) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17170 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17181 if (SWIG_arg_fail(1)) SWIG_fail
;
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17198 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(1)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17226 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17237 if (SWIG_arg_fail(1)) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17254 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17265 if (SWIG_arg_fail(1)) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (arg1
)->GetPosition();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 wxPoint
* resultptr
;
17275 resultptr
= new wxPoint((wxPoint
&)(result
));
17276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17284 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17287 long *arg2
= (long *) 0 ;
17288 long *arg3
= (long *) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self", NULL
17298 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17299 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->GetPosition(arg2
,arg3
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17311 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17312 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17313 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17314 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17321 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "dc", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17334 if (SWIG_arg_fail(1)) SWIG_fail
;
17336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17337 if (SWIG_arg_fail(2)) SWIG_fail
;
17338 if (arg2
== NULL
) {
17339 SWIG_null_ref("wxDC");
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17351 wxPoint
* resultptr
;
17352 resultptr
= new wxPoint((wxPoint
&)(result
));
17353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17361 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17372 if (SWIG_arg_fail(1)) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_From_int((int)(result
));
17389 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= SWIG_From_int((int)(result
));
17417 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_From_int((int)(result
));
17445 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17456 if (SWIG_arg_fail(1)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_From_int((int)(result
));
17473 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_From_int((int)(result
));
17501 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17529 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "m_x", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17541 if (SWIG_arg_fail(1)) SWIG_fail
;
17543 arg2
= (int)(SWIG_As_int(obj1
));
17544 if (SWIG_arg_fail(2)) SWIG_fail
;
17546 if (arg1
) (arg1
)->m_x
= arg2
;
17548 Py_INCREF(Py_None
); resultobj
= Py_None
;
17555 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17567 result
= (int) ((arg1
)->m_x
);
17570 resultobj
= SWIG_From_int((int)(result
));
17578 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "m_y", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail
;
17592 arg2
= (int)(SWIG_As_int(obj1
));
17593 if (SWIG_arg_fail(2)) SWIG_fail
;
17595 if (arg1
) (arg1
)->m_y
= arg2
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17615 if (SWIG_arg_fail(1)) SWIG_fail
;
17616 result
= (int) ((arg1
)->m_y
);
17619 resultobj
= SWIG_From_int((int)(result
));
17627 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "m_leftDown", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail
;
17641 arg2
= (bool)(SWIG_As_bool(obj1
));
17642 if (SWIG_arg_fail(2)) SWIG_fail
;
17644 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17646 Py_INCREF(Py_None
); resultobj
= Py_None
;
17653 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17664 if (SWIG_arg_fail(1)) SWIG_fail
;
17665 result
= (bool) ((arg1
)->m_leftDown
);
17668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "m_middleDown", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 arg2
= (bool)(SWIG_As_bool(obj1
));
17691 if (SWIG_arg_fail(2)) SWIG_fail
;
17693 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17695 Py_INCREF(Py_None
); resultobj
= Py_None
;
17702 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17713 if (SWIG_arg_fail(1)) SWIG_fail
;
17714 result
= (bool) ((arg1
)->m_middleDown
);
17717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17725 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "m_rightDown", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17739 arg2
= (bool)(SWIG_As_bool(obj1
));
17740 if (SWIG_arg_fail(2)) SWIG_fail
;
17742 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17744 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17763 result
= (bool) ((arg1
)->m_rightDown
);
17766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17774 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self",(char *) "m_controlDown", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17786 if (SWIG_arg_fail(1)) SWIG_fail
;
17788 arg2
= (bool)(SWIG_As_bool(obj1
));
17789 if (SWIG_arg_fail(2)) SWIG_fail
;
17791 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17811 if (SWIG_arg_fail(1)) SWIG_fail
;
17812 result
= (bool) ((arg1
)->m_controlDown
);
17815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17823 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "m_shiftDown", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17835 if (SWIG_arg_fail(1)) SWIG_fail
;
17837 arg2
= (bool)(SWIG_As_bool(obj1
));
17838 if (SWIG_arg_fail(2)) SWIG_fail
;
17840 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17842 Py_INCREF(Py_None
); resultobj
= Py_None
;
17849 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17860 if (SWIG_arg_fail(1)) SWIG_fail
;
17861 result
= (bool) ((arg1
)->m_shiftDown
);
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "m_altDown", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17884 if (SWIG_arg_fail(1)) SWIG_fail
;
17886 arg2
= (bool)(SWIG_As_bool(obj1
));
17887 if (SWIG_arg_fail(2)) SWIG_fail
;
17889 if (arg1
) (arg1
)->m_altDown
= arg2
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17909 if (SWIG_arg_fail(1)) SWIG_fail
;
17910 result
= (bool) ((arg1
)->m_altDown
);
17913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17921 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "m_metaDown", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17933 if (SWIG_arg_fail(1)) SWIG_fail
;
17935 arg2
= (bool)(SWIG_As_bool(obj1
));
17936 if (SWIG_arg_fail(2)) SWIG_fail
;
17938 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17958 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 result
= (bool) ((arg1
)->m_metaDown
);
17962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17970 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "m_wheelRotation", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17982 if (SWIG_arg_fail(1)) SWIG_fail
;
17984 arg2
= (int)(SWIG_As_int(obj1
));
17985 if (SWIG_arg_fail(2)) SWIG_fail
;
17987 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17989 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 result
= (int) ((arg1
)->m_wheelRotation
);
18011 resultobj
= SWIG_From_int((int)(result
));
18019 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
;
18021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "m_wheelDelta", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18031 if (SWIG_arg_fail(1)) SWIG_fail
;
18033 arg2
= (int)(SWIG_As_int(obj1
));
18034 if (SWIG_arg_fail(2)) SWIG_fail
;
18036 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18049 PyObject
* obj0
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18056 if (SWIG_arg_fail(1)) SWIG_fail
;
18057 result
= (int) ((arg1
)->m_wheelDelta
);
18060 resultobj
= SWIG_From_int((int)(result
));
18068 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "m_linesPerAction", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18080 if (SWIG_arg_fail(1)) SWIG_fail
;
18082 arg2
= (int)(SWIG_As_int(obj1
));
18083 if (SWIG_arg_fail(2)) SWIG_fail
;
18085 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18087 Py_INCREF(Py_None
); resultobj
= Py_None
;
18094 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18105 if (SWIG_arg_fail(1)) SWIG_fail
;
18106 result
= (int) ((arg1
)->m_linesPerAction
);
18109 resultobj
= SWIG_From_int((int)(result
));
18117 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18120 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18122 return Py_BuildValue((char *)"");
18124 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 int arg1
= (int) 0 ;
18127 int arg2
= (int) 0 ;
18128 wxSetCursorEvent
*result
;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "x",(char *) "y", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18138 arg1
= (int)(SWIG_As_int(obj0
));
18139 if (SWIG_arg_fail(1)) SWIG_fail
;
18144 arg2
= (int)(SWIG_As_int(obj1
));
18145 if (SWIG_arg_fail(2)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18162 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_From_int((int)(result
));
18190 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18201 if (SWIG_arg_fail(1)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_From_int((int)(result
));
18218 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18221 wxCursor
*arg2
= 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "cursor", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18233 if (SWIG_arg_fail(2)) SWIG_fail
;
18234 if (arg2
== NULL
) {
18235 SWIG_null_ref("wxCursor");
18237 if (SWIG_arg_fail(2)) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18269 result
= (wxCursor
*) &_result_ref
;
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 wxCursor
* resultptr
= new wxCursor(*result
);
18277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18285 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18296 if (SWIG_arg_fail(1)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18313 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18316 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18318 return Py_BuildValue((char *)"");
18320 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18323 wxKeyEvent
*result
;
18324 PyObject
* obj0
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "keyType", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18332 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18333 if (SWIG_arg_fail(1)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18350 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18361 if (SWIG_arg_fail(1)) SWIG_fail
;
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18389 if (SWIG_arg_fail(1)) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18406 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18434 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18462 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18490 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18501 if (SWIG_arg_fail(1)) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_From_int((int)(result
));
18546 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_From_int((int)(result
));
18574 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18577 unsigned int result
;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18602 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18605 unsigned int result
;
18606 PyObject
* obj0
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18630 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18634 PyObject
* obj0
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (arg1
)->GetPosition();
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 wxPoint
* resultptr
;
18651 resultptr
= new wxPoint((wxPoint
&)(result
));
18652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18660 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18663 long *arg2
= (long *) 0 ;
18664 long *arg3
= (long *) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self", NULL
18674 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18675 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18678 if (SWIG_arg_fail(1)) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->GetPosition(arg2
,arg3
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 Py_INCREF(Py_None
); resultobj
= Py_None
;
18687 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18688 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18689 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18690 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18697 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= SWIG_From_int((int)(result
));
18725 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18736 if (SWIG_arg_fail(1)) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_From_int((int)(result
));
18753 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "m_x", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18765 if (SWIG_arg_fail(1)) SWIG_fail
;
18767 arg2
= (int)(SWIG_As_int(obj1
));
18768 if (SWIG_arg_fail(2)) SWIG_fail
;
18770 if (arg1
) (arg1
)->m_x
= arg2
;
18772 Py_INCREF(Py_None
); resultobj
= Py_None
;
18779 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 result
= (int) ((arg1
)->m_x
);
18794 resultobj
= SWIG_From_int((int)(result
));
18802 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "m_y", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18814 if (SWIG_arg_fail(1)) SWIG_fail
;
18816 arg2
= (int)(SWIG_As_int(obj1
));
18817 if (SWIG_arg_fail(2)) SWIG_fail
;
18819 if (arg1
) (arg1
)->m_y
= arg2
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail
;
18840 result
= (int) ((arg1
)->m_y
);
18843 resultobj
= SWIG_From_int((int)(result
));
18851 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self",(char *) "m_keyCode", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18863 if (SWIG_arg_fail(1)) SWIG_fail
;
18865 arg2
= (long)(SWIG_As_long(obj1
));
18866 if (SWIG_arg_fail(2)) SWIG_fail
;
18868 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18888 if (SWIG_arg_fail(1)) SWIG_fail
;
18889 result
= (long) ((arg1
)->m_keyCode
);
18892 resultobj
= SWIG_From_long((long)(result
));
18900 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "m_controlDown", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18912 if (SWIG_arg_fail(1)) SWIG_fail
;
18914 arg2
= (bool)(SWIG_As_bool(obj1
));
18915 if (SWIG_arg_fail(2)) SWIG_fail
;
18917 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18937 if (SWIG_arg_fail(1)) SWIG_fail
;
18938 result
= (bool) ((arg1
)->m_controlDown
);
18941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18949 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self",(char *) "m_shiftDown", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18961 if (SWIG_arg_fail(1)) SWIG_fail
;
18963 arg2
= (bool)(SWIG_As_bool(obj1
));
18964 if (SWIG_arg_fail(2)) SWIG_fail
;
18966 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18986 if (SWIG_arg_fail(1)) SWIG_fail
;
18987 result
= (bool) ((arg1
)->m_shiftDown
);
18990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18998 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self",(char *) "m_altDown", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19010 if (SWIG_arg_fail(1)) SWIG_fail
;
19012 arg2
= (bool)(SWIG_As_bool(obj1
));
19013 if (SWIG_arg_fail(2)) SWIG_fail
;
19015 if (arg1
) (arg1
)->m_altDown
= arg2
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19035 if (SWIG_arg_fail(1)) SWIG_fail
;
19036 result
= (bool) ((arg1
)->m_altDown
);
19039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19047 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "m_metaDown", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 arg2
= (bool)(SWIG_As_bool(obj1
));
19062 if (SWIG_arg_fail(2)) SWIG_fail
;
19064 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19085 result
= (bool) ((arg1
)->m_metaDown
);
19088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19096 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "m_scanCode", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19108 if (SWIG_arg_fail(1)) SWIG_fail
;
19110 arg2
= (bool)(SWIG_As_bool(obj1
));
19111 if (SWIG_arg_fail(2)) SWIG_fail
;
19113 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19134 result
= (bool) ((arg1
)->m_scanCode
);
19137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19145 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19148 unsigned int arg2
;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "self",(char *) "m_rawCode", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19157 if (SWIG_arg_fail(1)) SWIG_fail
;
19159 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19160 if (SWIG_arg_fail(2)) SWIG_fail
;
19162 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19164 Py_INCREF(Py_None
); resultobj
= Py_None
;
19171 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19174 unsigned int result
;
19175 PyObject
* obj0
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19182 if (SWIG_arg_fail(1)) SWIG_fail
;
19183 result
= (unsigned int) ((arg1
)->m_rawCode
);
19186 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19194 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19197 unsigned int arg2
;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "m_rawFlags", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19206 if (SWIG_arg_fail(1)) SWIG_fail
;
19208 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19209 if (SWIG_arg_fail(2)) SWIG_fail
;
19211 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19223 unsigned int result
;
19224 PyObject
* obj0
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19231 if (SWIG_arg_fail(1)) SWIG_fail
;
19232 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19235 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19243 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19246 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19248 return Py_BuildValue((char *)"");
19250 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19253 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19254 int arg2
= (int) 0 ;
19255 wxSizeEvent
*result
;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "sz",(char *) "winid", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19272 arg2
= (int)(SWIG_As_int(obj1
));
19273 if (SWIG_arg_fail(2)) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19290 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19301 if (SWIG_arg_fail(1)) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19310 wxSize
* resultptr
;
19311 resultptr
= new wxSize((wxSize
&)(result
));
19312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19320 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19331 if (SWIG_arg_fail(1)) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 wxRect
* resultptr
;
19341 resultptr
= new wxRect((wxRect
&)(result
));
19342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19350 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "rect", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19362 if (SWIG_arg_fail(1)) SWIG_fail
;
19365 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19366 if (SWIG_arg_fail(2)) SWIG_fail
;
19367 if (argp
== NULL
) {
19368 SWIG_null_ref("wxRect");
19370 if (SWIG_arg_fail(2)) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->SetRect(arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "size", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail
;
19402 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19403 if (SWIG_arg_fail(2)) SWIG_fail
;
19404 if (argp
== NULL
) {
19405 SWIG_null_ref("wxSize");
19407 if (SWIG_arg_fail(2)) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 wxSizeEvent_SetSize(arg1
,arg2
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 Py_INCREF(Py_None
); resultobj
= Py_None
;
19424 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19427 wxSize
*arg2
= (wxSize
*) 0 ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self",(char *) "m_size", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(1)) SWIG_fail
;
19437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19438 if (SWIG_arg_fail(2)) SWIG_fail
;
19439 if (arg1
) (arg1
)->m_size
= *arg2
;
19441 Py_INCREF(Py_None
); resultobj
= Py_None
;
19448 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19459 if (SWIG_arg_fail(1)) SWIG_fail
;
19460 result
= (wxSize
*)& ((arg1
)->m_size
);
19462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19469 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
;
19471 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19472 wxRect
*arg2
= (wxRect
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "m_rect", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19481 if (SWIG_arg_fail(1)) SWIG_fail
;
19482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19483 if (SWIG_arg_fail(2)) SWIG_fail
;
19484 if (arg1
) (arg1
)->m_rect
= *arg2
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 result
= (wxRect
*)& ((arg1
)->m_rect
);
19507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19514 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19517 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19519 return Py_BuildValue((char *)"");
19521 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19524 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19525 int arg2
= (int) 0 ;
19526 wxMoveEvent
*result
;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "pos",(char *) "winid", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19538 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19543 arg2
= (int)(SWIG_As_int(obj1
));
19544 if (SWIG_arg_fail(2)) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19561 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19572 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 wxPoint
* resultptr
;
19582 resultptr
= new wxPoint((wxPoint
&)(result
));
19583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19591 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19602 if (SWIG_arg_fail(1)) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 wxRect
* resultptr
;
19612 resultptr
= new wxRect((wxRect
&)(result
));
19613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19621 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
;
19623 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "rect", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19637 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->SetRect((wxRect
const &)*arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19656 wxPoint
*arg2
= 0 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 char *kwnames
[] = {
19661 (char *) "self",(char *) "pos", NULL
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19666 if (SWIG_arg_fail(1)) SWIG_fail
;
19669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 Py_INCREF(Py_None
); resultobj
= Py_None
;
19685 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19688 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19690 return Py_BuildValue((char *)"");
19692 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 int arg1
= (int) 0 ;
19695 wxPaintEvent
*result
;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "Id", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19704 arg1
= (int)(SWIG_As_int(obj0
));
19705 if (SWIG_arg_fail(1)) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19722 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19725 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19727 return Py_BuildValue((char *)"");
19729 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 int arg1
= (int) 0 ;
19732 wxNcPaintEvent
*result
;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "winid", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19741 arg1
= (int)(SWIG_As_int(obj0
));
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19759 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19762 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19764 return Py_BuildValue((char *)"");
19766 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 int arg1
= (int) 0 ;
19769 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19770 wxEraseEvent
*result
;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "Id",(char *) "dc", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19780 arg1
= (int)(SWIG_As_int(obj0
));
19781 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19786 if (SWIG_arg_fail(2)) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19802 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19813 if (SWIG_arg_fail(1)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= wxPyMake_wxObject(result
, 0);
19830 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19833 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19835 return Py_BuildValue((char *)"");
19837 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19840 int arg2
= (int) 0 ;
19841 wxFocusEvent
*result
;
19842 PyObject
* obj0
= 0 ;
19843 PyObject
* obj1
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "type",(char *) "winid", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19851 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19857 arg2
= (int)(SWIG_As_int(obj1
));
19858 if (SWIG_arg_fail(2)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19875 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= wxPyMake_wxObject(result
, 0);
19903 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19906 wxWindow
*arg2
= (wxWindow
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "win", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19915 if (SWIG_arg_fail(1)) SWIG_fail
;
19916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19917 if (SWIG_arg_fail(2)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 (arg1
)->SetWindow(arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19932 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19935 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19937 return Py_BuildValue((char *)"");
19939 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxWindow
*arg1
= (wxWindow
*) NULL
;
19942 wxChildFocusEvent
*result
;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "win", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19951 if (SWIG_arg_fail(1)) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19967 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= wxPyMake_wxObject(result
, 0);
19995 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19998 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20000 return Py_BuildValue((char *)"");
20002 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20005 bool arg2
= (bool) true ;
20006 int arg3
= (int) 0 ;
20007 wxActivateEvent
*result
;
20008 PyObject
* obj0
= 0 ;
20009 PyObject
* obj1
= 0 ;
20010 PyObject
* obj2
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "type",(char *) "active",(char *) "Id", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20018 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20019 if (SWIG_arg_fail(1)) SWIG_fail
;
20024 arg2
= (bool)(SWIG_As_bool(obj1
));
20025 if (SWIG_arg_fail(2)) SWIG_fail
;
20030 arg3
= (int)(SWIG_As_int(obj2
));
20031 if (SWIG_arg_fail(3)) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20048 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20079 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20081 return Py_BuildValue((char *)"");
20083 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 int arg1
= (int) 0 ;
20086 wxInitDialogEvent
*result
;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "Id", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20095 arg1
= (int)(SWIG_As_int(obj0
));
20096 if (SWIG_arg_fail(1)) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20113 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20116 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20118 return Py_BuildValue((char *)"");
20120 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20123 int arg2
= (int) 0 ;
20124 wxMenu
*arg3
= (wxMenu
*) NULL
;
20125 wxMenuEvent
*result
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 PyObject
* obj2
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "type",(char *) "winid",(char *) "menu", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20136 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20142 arg2
= (int)(SWIG_As_int(obj1
));
20143 if (SWIG_arg_fail(2)) SWIG_fail
;
20147 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20148 if (SWIG_arg_fail(3)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20164 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= SWIG_From_int((int)(result
));
20192 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20220 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20231 if (SWIG_arg_fail(1)) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= wxPyMake_wxObject(result
, 0);
20248 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20251 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20253 return Py_BuildValue((char *)"");
20255 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20258 int arg2
= (int) 0 ;
20259 wxCloseEvent
*result
;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "type",(char *) "winid", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20269 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20270 if (SWIG_arg_fail(1)) SWIG_fail
;
20275 arg2
= (int)(SWIG_As_int(obj1
));
20276 if (SWIG_arg_fail(2)) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20293 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 PyObject
* obj1
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self",(char *) "logOff", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20305 if (SWIG_arg_fail(1)) SWIG_fail
;
20307 arg2
= (bool)(SWIG_As_bool(obj1
));
20308 if (SWIG_arg_fail(2)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 (arg1
)->SetLoggingOff(arg2
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 Py_INCREF(Py_None
); resultobj
= Py_None
;
20324 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20352 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20355 bool arg2
= (bool) true ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "veto", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail
;
20367 arg2
= (bool)(SWIG_As_bool(obj1
));
20368 if (SWIG_arg_fail(2)) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 (arg1
)->Veto(arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 Py_INCREF(Py_None
); resultobj
= Py_None
;
20385 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
;
20387 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "canVeto", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 arg2
= (bool)(SWIG_As_bool(obj1
));
20400 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->SetCanVeto(arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 Py_INCREF(Py_None
); resultobj
= Py_None
;
20416 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20444 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail
;
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20472 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20475 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20477 return Py_BuildValue((char *)"");
20479 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 int arg1
= (int) 0 ;
20482 bool arg2
= (bool) false ;
20483 wxShowEvent
*result
;
20484 PyObject
* obj0
= 0 ;
20485 PyObject
* obj1
= 0 ;
20486 char *kwnames
[] = {
20487 (char *) "winid",(char *) "show", NULL
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20493 arg1
= (int)(SWIG_As_int(obj0
));
20494 if (SWIG_arg_fail(1)) SWIG_fail
;
20499 arg2
= (bool)(SWIG_As_bool(obj1
));
20500 if (SWIG_arg_fail(2)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20517 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20519 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self",(char *) "show", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20529 if (SWIG_arg_fail(1)) SWIG_fail
;
20531 arg2
= (bool)(SWIG_As_bool(obj1
));
20532 if (SWIG_arg_fail(2)) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetShow(arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 Py_INCREF(Py_None
); resultobj
= Py_None
;
20548 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20576 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20579 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20581 return Py_BuildValue((char *)"");
20583 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 int arg1
= (int) 0 ;
20586 bool arg2
= (bool) true ;
20587 wxIconizeEvent
*result
;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "id",(char *) "iconized", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 arg1
= (int)(SWIG_As_int(obj0
));
20598 if (SWIG_arg_fail(1)) SWIG_fail
;
20603 arg2
= (bool)(SWIG_As_bool(obj1
));
20604 if (SWIG_arg_fail(2)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20621 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20632 if (SWIG_arg_fail(1)) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (bool)(arg1
)->Iconized();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20649 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20652 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20654 return Py_BuildValue((char *)"");
20656 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 int arg1
= (int) 0 ;
20659 wxMaximizeEvent
*result
;
20660 PyObject
* obj0
= 0 ;
20661 char *kwnames
[] = {
20662 (char *) "id", NULL
20665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20668 arg1
= (int)(SWIG_As_int(obj0
));
20669 if (SWIG_arg_fail(1)) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20686 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20689 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20691 return Py_BuildValue((char *)"");
20693 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20697 PyObject
* obj0
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20704 if (SWIG_arg_fail(1)) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (arg1
)->GetPosition();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20713 wxPoint
* resultptr
;
20714 resultptr
= new wxPoint((wxPoint
&)(result
));
20715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20723 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20734 if (SWIG_arg_fail(1)) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (int)(arg1
)->GetNumberOfFiles();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_From_int((int)(result
));
20751 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= result
;
20777 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20780 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20782 return Py_BuildValue((char *)"");
20784 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 int arg1
= (int) 0 ;
20787 wxUpdateUIEvent
*result
;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "commandId", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20796 arg1
= (int)(SWIG_As_int(obj0
));
20797 if (SWIG_arg_fail(1)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20814 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20825 if (SWIG_arg_fail(1)) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20842 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20870 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
;
20872 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20881 if (SWIG_arg_fail(1)) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20902 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20913 if (SWIG_arg_fail(1)) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20930 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20958 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "self", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20969 if (SWIG_arg_fail(1)) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20986 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self",(char *) "check", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20998 if (SWIG_arg_fail(1)) SWIG_fail
;
21000 arg2
= (bool)(SWIG_As_bool(obj1
));
21001 if (SWIG_arg_fail(2)) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 (arg1
)->Check(arg2
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 Py_INCREF(Py_None
); resultobj
= Py_None
;
21017 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "enable", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 arg2
= (bool)(SWIG_As_bool(obj1
));
21032 if (SWIG_arg_fail(2)) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 (arg1
)->Enable(arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21051 wxString
*arg2
= 0 ;
21052 bool temp2
= false ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "text", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21061 if (SWIG_arg_fail(1)) SWIG_fail
;
21063 arg2
= wxString_in_helper(obj1
);
21064 if (arg2
== NULL
) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetText((wxString
const &)*arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21089 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "updateInterval", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21099 arg1
= (long)(SWIG_As_long(obj0
));
21100 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 Py_INCREF(Py_None
); resultobj
= Py_None
;
21116 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21119 char *kwnames
[] = {
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_From_long((long)(result
));
21140 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxWindow
*arg1
= (wxWindow
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "win", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21168 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 char *kwnames
[] = {
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 wxUpdateUIEvent::ResetUpdateTime();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 Py_INCREF(Py_None
); resultobj
= Py_None
;
21189 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxUpdateUIMode arg1
;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "mode", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21199 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxUpdateUIMode result
;
21219 char *kwnames
[] = {
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_From_int((result
));
21238 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21241 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21243 return Py_BuildValue((char *)"");
21245 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxSysColourChangedEvent
*result
;
21248 char *kwnames
[] = {
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21267 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21270 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21272 return Py_BuildValue((char *)"");
21274 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 int arg1
= (int) 0 ;
21277 wxWindow
*arg2
= (wxWindow
*) NULL
;
21278 wxMouseCaptureChangedEvent
*result
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "winid",(char *) "gainedCapture", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 arg1
= (int)(SWIG_As_int(obj0
));
21289 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(2)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21310 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21321 if (SWIG_arg_fail(1)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= wxPyMake_wxObject(result
, 0);
21338 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21341 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21343 return Py_BuildValue((char *)"");
21345 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxDisplayChangedEvent
*result
;
21348 char *kwnames
[] = {
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21367 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21370 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21372 return Py_BuildValue((char *)"");
21374 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 int arg1
= (int) 0 ;
21377 wxPaletteChangedEvent
*result
;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "id", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21386 arg1
= (int)(SWIG_As_int(obj0
));
21387 if (SWIG_arg_fail(1)) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21404 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21407 wxWindow
*arg2
= (wxWindow
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self",(char *) "win", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21416 if (SWIG_arg_fail(1)) SWIG_fail
;
21417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21418 if (SWIG_arg_fail(2)) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 (arg1
)->SetChangedWindow(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 Py_INCREF(Py_None
); resultobj
= Py_None
;
21433 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21444 if (SWIG_arg_fail(1)) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= wxPyMake_wxObject(result
, 0);
21461 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21464 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21466 return Py_BuildValue((char *)"");
21468 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 int arg1
= (int) 0 ;
21471 wxQueryNewPaletteEvent
*result
;
21472 PyObject
* obj0
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "winid", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21480 arg1
= (int)(SWIG_As_int(obj0
));
21481 if (SWIG_arg_fail(1)) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21498 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "realized", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 arg2
= (bool)(SWIG_As_bool(obj1
));
21513 if (SWIG_arg_fail(2)) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 (arg1
)->SetPaletteRealized(arg2
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 Py_INCREF(Py_None
); resultobj
= Py_None
;
21529 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21540 if (SWIG_arg_fail(1)) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21557 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21560 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21562 return Py_BuildValue((char *)"");
21564 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxNavigationKeyEvent
*result
;
21567 char *kwnames
[] = {
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21586 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21597 if (SWIG_arg_fail(1)) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21614 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self",(char *) "forward", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail
;
21628 arg2
= (bool)(SWIG_As_bool(obj1
));
21629 if (SWIG_arg_fail(2)) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetDirection(arg2
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21673 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "ischange", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21685 if (SWIG_arg_fail(1)) SWIG_fail
;
21687 arg2
= (bool)(SWIG_As_bool(obj1
));
21688 if (SWIG_arg_fail(2)) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->SetWindowChange(arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 Py_INCREF(Py_None
); resultobj
= Py_None
;
21704 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21732 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "bIs", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21746 arg2
= (bool)(SWIG_As_bool(obj1
));
21747 if (SWIG_arg_fail(2)) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetFromTab(arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "flags", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21775 if (SWIG_arg_fail(1)) SWIG_fail
;
21777 arg2
= (long)(SWIG_As_long(obj1
));
21778 if (SWIG_arg_fail(2)) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->SetFlags(arg2
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 Py_INCREF(Py_None
); resultobj
= Py_None
;
21794 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= wxPyMake_wxObject(result
, 0);
21822 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21825 wxWindow
*arg2
= (wxWindow
*) 0 ;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self",(char *) "win", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail
;
21835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21836 if (SWIG_arg_fail(2)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 (arg1
)->SetCurrentFocus(arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 Py_INCREF(Py_None
); resultobj
= Py_None
;
21851 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21854 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21856 return Py_BuildValue((char *)"");
21858 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxWindow
*arg1
= (wxWindow
*) NULL
;
21861 wxWindowCreateEvent
*result
;
21862 PyObject
* obj0
= 0 ;
21863 char *kwnames
[] = {
21864 (char *) "win", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21886 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= wxPyMake_wxObject(result
, 0);
21914 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21917 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21919 return Py_BuildValue((char *)"");
21921 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxWindow
*arg1
= (wxWindow
*) NULL
;
21924 wxWindowDestroyEvent
*result
;
21925 PyObject
* obj0
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "win", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21933 if (SWIG_arg_fail(1)) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21949 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= wxPyMake_wxObject(result
, 0);
21977 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21980 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21982 return Py_BuildValue((char *)"");
21984 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21987 int arg2
= (int) 0 ;
21988 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21989 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21990 wxContextMenuEvent
*result
;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "type",(char *) "winid",(char *) "pt", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22002 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22003 if (SWIG_arg_fail(1)) SWIG_fail
;
22008 arg2
= (int)(SWIG_As_int(obj1
));
22009 if (SWIG_arg_fail(2)) SWIG_fail
;
22015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22032 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22036 PyObject
* obj0
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22048 result
= (wxPoint
*) &_result_ref
;
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22061 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22064 wxPoint
*arg2
= 0 ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "pos", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail
;
22077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 Py_INCREF(Py_None
); resultobj
= Py_None
;
22093 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22096 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22098 return Py_BuildValue((char *)"");
22100 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxIdleEvent
*result
;
22103 char *kwnames
[] = {
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= (wxIdleEvent
*)new wxIdleEvent();
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22122 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22125 bool arg2
= (bool) true ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "needMore", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22134 if (SWIG_arg_fail(1)) SWIG_fail
;
22137 arg2
= (bool)(SWIG_As_bool(obj1
));
22138 if (SWIG_arg_fail(2)) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->RequestMore(arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22155 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22183 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22186 PyObject
* obj0
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "mode", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22193 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22194 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 Py_INCREF(Py_None
); resultobj
= Py_None
;
22210 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22213 char *kwnames
[] = {
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_From_int((result
));
22232 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxWindow
*arg1
= (wxWindow
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "win", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)wxIdleEvent::CanSend(arg1
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22263 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22265 return Py_BuildValue((char *)"");
22267 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 int arg1
= (int) 0 ;
22270 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "winid",(char *) "commandType", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22281 arg1
= (int)(SWIG_As_int(obj0
));
22282 if (SWIG_arg_fail(1)) SWIG_fail
;
22287 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22288 if (SWIG_arg_fail(2)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22305 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 Py_INCREF(Py_None
); resultobj
= Py_None
;
22330 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22333 PyObject
*arg2
= (PyObject
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "self", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22342 if (SWIG_arg_fail(1)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 (arg1
)->SetSelf(arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 Py_INCREF(Py_None
); resultobj
= Py_None
;
22358 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22369 if (SWIG_arg_fail(1)) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (PyObject
*)(arg1
)->GetSelf();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= result
;
22384 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22387 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22389 return Py_BuildValue((char *)"");
22391 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22394 int arg2
= (int) 0 ;
22395 wxPyCommandEvent
*result
;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "commandType",(char *) "id", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22406 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 arg2
= (int)(SWIG_As_int(obj1
));
22412 if (SWIG_arg_fail(2)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22429 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22439 if (SWIG_arg_fail(1)) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22457 PyObject
*arg2
= (PyObject
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self",(char *) "self", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22466 if (SWIG_arg_fail(1)) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->SetSelf(arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 Py_INCREF(Py_None
); resultobj
= Py_None
;
22482 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22493 if (SWIG_arg_fail(1)) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (PyObject
*)(arg1
)->GetSelf();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= result
;
22508 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22511 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22513 return Py_BuildValue((char *)"");
22515 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxWindow
*arg1
= (wxWindow
*) 0 ;
22518 wxDateTime
*arg2
= 0 ;
22520 wxDateEvent
*result
;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "win",(char *) "dt",(char *) "type", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(2)) SWIG_fail
;
22534 if (arg2
== NULL
) {
22535 SWIG_null_ref("wxDateTime");
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22540 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22541 if (SWIG_arg_fail(3)) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22557 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22560 wxDateTime
*result
;
22561 PyObject
* obj0
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22573 result
= (wxDateTime
*) &_result_ref
;
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22586 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22589 wxDateTime
*arg2
= 0 ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "date", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail
;
22600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22601 if (SWIG_arg_fail(2)) SWIG_fail
;
22602 if (arg2
== NULL
) {
22603 SWIG_null_ref("wxDateTime");
22605 if (SWIG_arg_fail(2)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22624 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22626 return Py_BuildValue((char *)"");
22628 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22631 char *kwnames
[] = {
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (wxPyApp
*)new_wxPyApp();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22650 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22660 if (SWIG_arg_fail(1)) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22678 PyObject
*arg2
= (PyObject
*) 0 ;
22679 PyObject
*arg3
= (PyObject
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 PyObject
* obj2
= 0 ;
22684 PyObject
* obj3
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22695 arg4
= (bool)(SWIG_As_bool(obj3
));
22696 if (SWIG_arg_fail(4)) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 Py_INCREF(Py_None
); resultobj
= Py_None
;
22712 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22723 if (SWIG_arg_fail(1)) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22744 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22747 wxString
*arg2
= 0 ;
22748 bool temp2
= false ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 char *kwnames
[] = {
22752 (char *) "self",(char *) "name", NULL
22755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22757 if (SWIG_arg_fail(1)) SWIG_fail
;
22759 arg2
= wxString_in_helper(obj1
);
22760 if (arg2
== NULL
) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->SetAppName((wxString
const &)*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22785 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22796 if (SWIG_arg_fail(1)) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22817 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22820 wxString
*arg2
= 0 ;
22821 bool temp2
= false ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self",(char *) "name", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22830 if (SWIG_arg_fail(1)) SWIG_fail
;
22832 arg2
= wxString_in_helper(obj1
);
22833 if (arg2
== NULL
) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 (arg1
)->SetClassName((wxString
const &)*arg2
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 Py_INCREF(Py_None
); resultobj
= Py_None
;
22858 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22869 if (SWIG_arg_fail(1)) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22874 result
= (wxString
*) &_result_ref
;
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22893 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22896 wxString
*arg2
= 0 ;
22897 bool temp2
= false ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self",(char *) "name", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22906 if (SWIG_arg_fail(1)) SWIG_fail
;
22908 arg2
= wxString_in_helper(obj1
);
22909 if (arg2
== NULL
) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22937 wxAppTraits
*result
;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22945 if (SWIG_arg_fail(1)) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22960 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22970 if (SWIG_arg_fail(1)) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->ProcessPendingEvents();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22988 bool arg2
= (bool) false ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self",(char *) "onlyIfNeeded", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22998 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 arg2
= (bool)(SWIG_As_bool(obj1
));
23002 if (SWIG_arg_fail(2)) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (bool)(arg1
)->Yield(arg2
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23021 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23031 if (SWIG_arg_fail(1)) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->WakeUpIdle();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23049 char *kwnames
[] = {
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (bool)wxPyApp::IsMainLoopRunning();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23070 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23081 if (SWIG_arg_fail(1)) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (int)(arg1
)->MainLoop();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_From_int((int)(result
));
23098 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23108 if (SWIG_arg_fail(1)) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 Py_INCREF(Py_None
); resultobj
= Py_None
;
23123 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23124 PyObject
*resultobj
;
23125 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->ExitMainLoop();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23159 if (SWIG_arg_fail(1)) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (bool)(arg1
)->Pending();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23176 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23180 PyObject
* obj0
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23187 if (SWIG_arg_fail(1)) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= (bool)(arg1
)->Dispatch();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23204 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (bool)(arg1
)->ProcessIdle();
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23232 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23235 wxWindow
*arg2
= (wxWindow
*) 0 ;
23236 wxIdleEvent
*arg3
= 0 ;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 PyObject
* obj2
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self",(char *) "win",(char *) "event", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23247 if (SWIG_arg_fail(1)) SWIG_fail
;
23248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23249 if (SWIG_arg_fail(2)) SWIG_fail
;
23251 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23252 if (SWIG_arg_fail(3)) SWIG_fail
;
23253 if (arg3
== NULL
) {
23254 SWIG_null_ref("wxIdleEvent");
23256 if (SWIG_arg_fail(3)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23302 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23305 wxWindow
*arg2
= (wxWindow
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "win", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23314 if (SWIG_arg_fail(1)) SWIG_fail
;
23315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23316 if (SWIG_arg_fail(2)) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->SetTopWindow(arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23342 if (SWIG_arg_fail(1)) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= wxPyMake_wxObject(result
, 0);
23359 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23363 PyObject
* obj0
= 0 ;
23364 PyObject
* obj1
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "self",(char *) "flag", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23371 if (SWIG_arg_fail(1)) SWIG_fail
;
23373 arg2
= (bool)(SWIG_As_bool(obj1
));
23374 if (SWIG_arg_fail(2)) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 (arg1
)->SetExitOnFrameDelete(arg2
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 Py_INCREF(Py_None
); resultobj
= Py_None
;
23390 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23401 if (SWIG_arg_fail(1)) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23418 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "flag", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 arg2
= (bool)(SWIG_As_bool(obj1
));
23433 if (SWIG_arg_fail(2)) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 (arg1
)->SetUseBestVisual(arg2
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 Py_INCREF(Py_None
); resultobj
= Py_None
;
23449 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23460 if (SWIG_arg_fail(1)) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23477 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self",(char *) "mode", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23489 if (SWIG_arg_fail(1)) SWIG_fail
;
23491 arg2
= (int)(SWIG_As_int(obj1
));
23492 if (SWIG_arg_fail(2)) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->SetPrintMode(arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_From_int((int)(result
));
23536 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "mode", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23550 arg2
= (int)(SWIG_As_int(obj1
));
23551 if (SWIG_arg_fail(2)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->SetAssertMode(arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (int)(arg1
)->GetAssertMode();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_From_int((int)(result
));
23595 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23598 char *kwnames
[] = {
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23619 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23622 char *kwnames
[] = {
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= SWIG_From_long((long)(result
));
23643 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23646 char *kwnames
[] = {
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= SWIG_From_long((long)(result
));
23667 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23670 char *kwnames
[] = {
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (long)wxPyApp::GetMacExitMenuItemId();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_From_long((long)(result
));
23691 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23694 char *kwnames
[] = {
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= wxPyApp::GetMacHelpMenuTitleName();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23719 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23722 PyObject
* obj0
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "val", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23729 arg1
= (bool)(SWIG_As_bool(obj0
));
23730 if (SWIG_arg_fail(1)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 Py_INCREF(Py_None
); resultobj
= Py_None
;
23746 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23749 PyObject
* obj0
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "val", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23756 arg1
= (long)(SWIG_As_long(obj0
));
23757 if (SWIG_arg_fail(1)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 wxPyApp::SetMacAboutMenuItemId(arg1
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "val", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23783 arg1
= (long)(SWIG_As_long(obj0
));
23784 if (SWIG_arg_fail(1)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 Py_INCREF(Py_None
); resultobj
= Py_None
;
23800 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "val", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23810 arg1
= (long)(SWIG_As_long(obj0
));
23811 if (SWIG_arg_fail(1)) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 wxPyApp::SetMacExitMenuItemId(arg1
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 Py_INCREF(Py_None
); resultobj
= Py_None
;
23827 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxString
*arg1
= 0 ;
23830 bool temp1
= false ;
23831 PyObject
* obj0
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "val", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23838 arg1
= wxString_in_helper(obj0
);
23839 if (arg1
== NULL
) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 Py_INCREF(Py_None
); resultobj
= Py_None
;
23864 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 (arg1
)->_BootstrapApp();
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 Py_INCREF(Py_None
); resultobj
= Py_None
;
23889 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23892 char *kwnames
[] = {
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (int)PyApp_GetComCtl32Version();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_From_int((int)(result
));
23913 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23916 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23918 return Py_BuildValue((char *)"");
23920 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 char *kwnames
[] = {
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23941 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23944 char *kwnames
[] = {
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)wxYield();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23965 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23968 char *kwnames
[] = {
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (bool)wxYieldIfNeeded();
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23989 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxWindow
*arg1
= (wxWindow
*) NULL
;
23992 bool arg2
= (bool) false ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "win",(char *) "onlyIfNeeded", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail
;
24007 arg2
= (bool)(SWIG_As_bool(obj1
));
24008 if (SWIG_arg_fail(2)) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (bool)wxSafeYield(arg1
,arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24027 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 char *kwnames
[] = {
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24051 wxEvent
*arg2
= 0 ;
24052 PyObject
* obj0
= 0 ;
24053 PyObject
* obj1
= 0 ;
24054 char *kwnames
[] = {
24055 (char *) "dest",(char *) "event", NULL
24058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24060 if (SWIG_arg_fail(1)) SWIG_fail
;
24062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(2)) SWIG_fail
;
24064 if (arg2
== NULL
) {
24065 SWIG_null_ref("wxEvent");
24067 if (SWIG_arg_fail(2)) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 wxPostEvent(arg1
,*arg2
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 Py_INCREF(Py_None
); resultobj
= Py_None
;
24083 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
;
24085 char *kwnames
[] = {
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 Py_INCREF(Py_None
); resultobj
= Py_None
;
24104 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24107 char *kwnames
[] = {
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (wxPyApp
*)wxPyGetApp();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= wxPyMake_wxObject(result
, 0);
24128 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 char *arg1
= (char *) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "encoding", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24137 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24138 SWIG_arg_fail(1);SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 wxSetDefaultPyEncoding((char const *)arg1
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24154 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
;
24157 char *kwnames
[] = {
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (char *)wxGetDefaultPyEncoding();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_FromCharPtr(result
);
24176 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxEventLoop
*result
;
24179 char *kwnames
[] = {
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (wxEventLoop
*)new wxEventLoop();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24198 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24208 if (SWIG_arg_fail(1)) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24223 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24234 if (SWIG_arg_fail(1)) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (int)(arg1
)->Run();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= SWIG_From_int((int)(result
));
24251 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24254 int arg2
= (int) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self",(char *) "rc", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail
;
24266 arg2
= (int)(SWIG_As_int(obj1
));
24267 if (SWIG_arg_fail(2)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 (arg1
)->Exit(arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 Py_INCREF(Py_None
); resultobj
= Py_None
;
24284 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24295 if (SWIG_arg_fail(1)) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24312 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24323 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (bool)(arg1
)->Dispatch();
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24340 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(1)) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24368 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxEventLoop
*result
;
24371 char *kwnames
[] = {
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24390 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "loop", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 wxEventLoop::SetActive(arg1
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24415 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24418 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24420 return Py_BuildValue((char *)"");
24422 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 int arg1
= (int) 0 ;
24425 int arg2
= (int) 0 ;
24426 int arg3
= (int) 0 ;
24427 wxAcceleratorEntry
*result
;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24438 arg1
= (int)(SWIG_As_int(obj0
));
24439 if (SWIG_arg_fail(1)) SWIG_fail
;
24444 arg2
= (int)(SWIG_As_int(obj1
));
24445 if (SWIG_arg_fail(2)) SWIG_fail
;
24450 arg3
= (int)(SWIG_As_int(obj2
));
24451 if (SWIG_arg_fail(3)) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24468 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24478 if (SWIG_arg_fail(1)) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 Py_INCREF(Py_None
); resultobj
= Py_None
;
24493 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 PyObject
* obj3
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail
;
24511 arg2
= (int)(SWIG_As_int(obj1
));
24512 if (SWIG_arg_fail(2)) SWIG_fail
;
24515 arg3
= (int)(SWIG_As_int(obj2
));
24516 if (SWIG_arg_fail(3)) SWIG_fail
;
24519 arg4
= (int)(SWIG_As_int(obj3
));
24520 if (SWIG_arg_fail(4)) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 (arg1
)->Set(arg2
,arg3
,arg4
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 Py_INCREF(Py_None
); resultobj
= Py_None
;
24536 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24540 PyObject
* obj0
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 result
= (int)(arg1
)->GetFlags();
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_From_int((int)(result
));
24564 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(1)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (int)(arg1
)->GetKeyCode();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_From_int((int)(result
));
24592 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24596 PyObject
* obj0
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24603 if (SWIG_arg_fail(1)) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (int)(arg1
)->GetCommand();
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_From_int((int)(result
));
24620 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24623 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24625 return Py_BuildValue((char *)"");
24627 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24630 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24631 wxAcceleratorTable
*result
;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24639 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24640 if (arg2
) arg1
= PyList_Size(obj0
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24663 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24673 if (SWIG_arg_fail(1)) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 Py_INCREF(Py_None
); resultobj
= Py_None
;
24688 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24699 if (SWIG_arg_fail(1)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24716 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24719 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24721 return Py_BuildValue((char *)"");
24723 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24724 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24729 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24732 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24737 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxString
*arg1
= 0 ;
24740 wxAcceleratorEntry
*result
;
24741 bool temp1
= false ;
24742 PyObject
* obj0
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "label", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24749 arg1
= wxString_in_helper(obj0
);
24750 if (arg1
== NULL
) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24775 static int _wrap_PanelNameStr_set(PyObject
*) {
24776 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24781 static PyObject
*_wrap_PanelNameStr_get(void) {
24786 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24788 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24795 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxVisualAttributes
*result
;
24798 char *kwnames
[] = {
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24817 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24827 if (SWIG_arg_fail(1)) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 delete_wxVisualAttributes(arg1
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 Py_INCREF(Py_None
); resultobj
= Py_None
;
24842 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24845 wxFont
*arg2
= (wxFont
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self",(char *) "font", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24856 if (SWIG_arg_fail(2)) SWIG_fail
;
24857 if (arg1
) (arg1
)->font
= *arg2
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24866 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24877 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 result
= (wxFont
*)& ((arg1
)->font
);
24880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24887 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24890 wxColour
*arg2
= (wxColour
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 PyObject
* obj1
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self",(char *) "colFg", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail
;
24900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24901 if (SWIG_arg_fail(2)) SWIG_fail
;
24902 if (arg1
) (arg1
)->colFg
= *arg2
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24922 if (SWIG_arg_fail(1)) SWIG_fail
;
24923 result
= (wxColour
*)& ((arg1
)->colFg
);
24925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24932 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24935 wxColour
*arg2
= (wxColour
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "colBg", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24944 if (SWIG_arg_fail(1)) SWIG_fail
;
24945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24946 if (SWIG_arg_fail(2)) SWIG_fail
;
24947 if (arg1
) (arg1
)->colBg
= *arg2
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24967 if (SWIG_arg_fail(1)) SWIG_fail
;
24968 result
= (wxColour
*)& ((arg1
)->colBg
);
24970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24977 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24980 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24982 return Py_BuildValue((char *)"");
24984 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxWindow
*arg1
= (wxWindow
*) 0 ;
24987 int arg2
= (int) (int)-1 ;
24988 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24989 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24990 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24991 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24992 long arg5
= (long) 0 ;
24993 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24994 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24998 bool temp6
= false ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 PyObject
* obj2
= 0 ;
25002 PyObject
* obj3
= 0 ;
25003 PyObject
* obj4
= 0 ;
25004 PyObject
* obj5
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail
;
25014 arg2
= (int const)(SWIG_As_int(obj1
));
25015 if (SWIG_arg_fail(2)) SWIG_fail
;
25021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25027 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25032 arg5
= (long)(SWIG_As_long(obj4
));
25033 if (SWIG_arg_fail(5)) SWIG_fail
;
25038 arg6
= wxString_in_helper(obj5
);
25039 if (arg6
== NULL
) SWIG_fail
;
25044 if (!wxPyCheckForApp()) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25066 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25069 char *kwnames
[] = {
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25075 if (!wxPyCheckForApp()) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (wxWindow
*)new wxWindow();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25089 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 wxWindow
*arg2
= (wxWindow
*) 0 ;
25093 int arg3
= (int) (int)-1 ;
25094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25098 long arg6
= (long) 0 ;
25099 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25104 bool temp7
= false ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 PyObject
* obj2
= 0 ;
25108 PyObject
* obj3
= 0 ;
25109 PyObject
* obj4
= 0 ;
25110 PyObject
* obj5
= 0 ;
25111 PyObject
* obj6
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25118 if (SWIG_arg_fail(1)) SWIG_fail
;
25119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25120 if (SWIG_arg_fail(2)) SWIG_fail
;
25123 arg3
= (int const)(SWIG_As_int(obj2
));
25124 if (SWIG_arg_fail(3)) SWIG_fail
;
25130 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25136 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25141 arg6
= (long)(SWIG_As_long(obj5
));
25142 if (SWIG_arg_fail(6)) SWIG_fail
;
25147 arg7
= wxString_in_helper(obj6
);
25148 if (arg7
== NULL
) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25176 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxWindow
*arg1
= (wxWindow
*) 0 ;
25179 bool arg2
= (bool) false ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "force", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25189 if (SWIG_arg_fail(1)) SWIG_fail
;
25192 arg2
= (bool)(SWIG_As_bool(obj1
));
25193 if (SWIG_arg_fail(2)) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (bool)(arg1
)->Close(arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25212 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxWindow
*arg1
= (wxWindow
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (bool)(arg1
)->Destroy();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25240 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxWindow
*arg1
= (wxWindow
*) 0 ;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25251 if (SWIG_arg_fail(1)) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (bool)(arg1
)->DestroyChildren();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25268 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 PyObject
* obj0
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25279 if (SWIG_arg_fail(1)) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25296 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxWindow
*arg1
= (wxWindow
*) 0 ;
25299 wxString
*arg2
= 0 ;
25300 bool temp2
= false ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "title", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail
;
25311 arg2
= wxString_in_helper(obj1
);
25312 if (arg2
== NULL
) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->SetTitle((wxString
const &)*arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25337 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxWindow
*arg1
= (wxWindow
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= ((wxWindow
const *)arg1
)->GetTitle();
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25369 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxWindow
*arg1
= (wxWindow
*) 0 ;
25372 wxString
*arg2
= 0 ;
25373 bool temp2
= false ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "label", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25382 if (SWIG_arg_fail(1)) SWIG_fail
;
25384 arg2
= wxString_in_helper(obj1
);
25385 if (arg2
== NULL
) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 (arg1
)->SetLabel((wxString
const &)*arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxWindow
*arg1
= (wxWindow
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25421 if (SWIG_arg_fail(1)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= ((wxWindow
const *)arg1
)->GetLabel();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25442 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
;
25444 wxWindow
*arg1
= (wxWindow
*) 0 ;
25445 wxString
*arg2
= 0 ;
25446 bool temp2
= false ;
25447 PyObject
* obj0
= 0 ;
25448 PyObject
* obj1
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "name", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25455 if (SWIG_arg_fail(1)) SWIG_fail
;
25457 arg2
= wxString_in_helper(obj1
);
25458 if (arg2
== NULL
) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 (arg1
)->SetName((wxString
const &)*arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxWindow
*arg1
= (wxWindow
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= ((wxWindow
const *)arg1
)->GetName();
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25515 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxWindow
*arg1
= (wxWindow
*) 0 ;
25518 wxWindowVariant arg2
;
25519 PyObject
* obj0
= 0 ;
25520 PyObject
* obj1
= 0 ;
25521 char *kwnames
[] = {
25522 (char *) "self",(char *) "variant", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25527 if (SWIG_arg_fail(1)) SWIG_fail
;
25529 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25530 if (SWIG_arg_fail(2)) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxWindow
*arg1
= (wxWindow
*) 0 ;
25549 wxWindowVariant result
;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_From_int((result
));
25572 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxWindow
*arg1
= (wxWindow
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "winid", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25584 if (SWIG_arg_fail(1)) SWIG_fail
;
25586 arg2
= (int)(SWIG_As_int(obj1
));
25587 if (SWIG_arg_fail(2)) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->SetId(arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxWindow
*arg1
= (wxWindow
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25614 if (SWIG_arg_fail(1)) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (int)((wxWindow
const *)arg1
)->GetId();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= SWIG_From_int((int)(result
));
25631 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25634 char *kwnames
[] = {
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (int)wxWindow::NewControlId();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_From_int((int)(result
));
25655 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25659 PyObject
* obj0
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "winid", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25666 arg1
= (int)(SWIG_As_int(obj0
));
25667 if (SWIG_arg_fail(1)) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (int)wxWindow::NextControlId(arg1
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_From_int((int)(result
));
25685 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25689 PyObject
* obj0
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "winid", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25696 arg1
= (int)(SWIG_As_int(obj0
));
25697 if (SWIG_arg_fail(1)) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (int)wxWindow::PrevControlId(arg1
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_From_int((int)(result
));
25715 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxWindow
*arg1
= (wxWindow
*) 0 ;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "size", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25728 if (SWIG_arg_fail(1)) SWIG_fail
;
25731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 (arg1
)->SetSize((wxSize
const &)*arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 Py_INCREF(Py_None
); resultobj
= Py_None
;
25747 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 int arg6
= (int) wxSIZE_AUTO
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 PyObject
* obj4
= 0 ;
25760 PyObject
* obj5
= 0 ;
25761 char *kwnames
[] = {
25762 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25767 if (SWIG_arg_fail(1)) SWIG_fail
;
25769 arg2
= (int)(SWIG_As_int(obj1
));
25770 if (SWIG_arg_fail(2)) SWIG_fail
;
25773 arg3
= (int)(SWIG_As_int(obj2
));
25774 if (SWIG_arg_fail(3)) SWIG_fail
;
25777 arg4
= (int)(SWIG_As_int(obj3
));
25778 if (SWIG_arg_fail(4)) SWIG_fail
;
25781 arg5
= (int)(SWIG_As_int(obj4
));
25782 if (SWIG_arg_fail(5)) SWIG_fail
;
25786 arg6
= (int)(SWIG_As_int(obj5
));
25787 if (SWIG_arg_fail(6)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25808 int arg3
= (int) wxSIZE_AUTO
;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 PyObject
* obj2
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25826 arg3
= (int)(SWIG_As_int(obj2
));
25827 if (SWIG_arg_fail(3)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 Py_INCREF(Py_None
); resultobj
= Py_None
;
25844 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "width",(char *) "height", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25858 if (SWIG_arg_fail(1)) SWIG_fail
;
25860 arg2
= (int)(SWIG_As_int(obj1
));
25861 if (SWIG_arg_fail(2)) SWIG_fail
;
25864 arg3
= (int)(SWIG_As_int(obj2
));
25865 if (SWIG_arg_fail(3)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->SetSize(arg2
,arg3
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxWindow
*arg1
= (wxWindow
*) 0 ;
25884 wxPoint
*arg2
= 0 ;
25885 int arg3
= (int) wxSIZE_USE_EXISTING
;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 PyObject
* obj2
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "pt",(char *) "flags", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(1)) SWIG_fail
;
25899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25903 arg3
= (int)(SWIG_As_int(obj2
));
25904 if (SWIG_arg_fail(3)) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25926 int arg4
= (int) wxSIZE_USE_EXISTING
;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 PyObject
* obj2
= 0 ;
25930 PyObject
* obj3
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail
;
25939 arg2
= (int)(SWIG_As_int(obj1
));
25940 if (SWIG_arg_fail(2)) SWIG_fail
;
25943 arg3
= (int)(SWIG_As_int(obj2
));
25944 if (SWIG_arg_fail(3)) SWIG_fail
;
25948 arg4
= (int)(SWIG_As_int(obj3
));
25949 if (SWIG_arg_fail(4)) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 (arg1
)->Move(arg2
,arg3
,arg4
);
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxWindow
*arg1
= (wxWindow
*) 0 ;
25969 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25970 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self",(char *) "size", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail
;
25984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 Py_INCREF(Py_None
); resultobj
= Py_None
;
26001 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxWindow
*arg1
= (wxWindow
*) 0 ;
26004 PyObject
* obj0
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26011 if (SWIG_arg_fail(1)) SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 Py_INCREF(Py_None
); resultobj
= Py_None
;
26026 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxWindow
*arg1
= (wxWindow
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26036 if (SWIG_arg_fail(1)) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 Py_INCREF(Py_None
); resultobj
= Py_None
;
26051 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxWindow
*arg1
= (wxWindow
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "size", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26064 if (SWIG_arg_fail(1)) SWIG_fail
;
26067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 Py_INCREF(Py_None
); resultobj
= Py_None
;
26083 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
;
26085 wxWindow
*arg1
= (wxWindow
*) 0 ;
26088 PyObject
* obj0
= 0 ;
26089 PyObject
* obj1
= 0 ;
26090 PyObject
* obj2
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "width",(char *) "height", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26097 if (SWIG_arg_fail(1)) SWIG_fail
;
26099 arg2
= (int)(SWIG_As_int(obj1
));
26100 if (SWIG_arg_fail(2)) SWIG_fail
;
26103 arg3
= (int)(SWIG_As_int(obj2
));
26104 if (SWIG_arg_fail(3)) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->SetClientSize(arg2
,arg3
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 Py_INCREF(Py_None
); resultobj
= Py_None
;
26120 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxWindow
*arg1
= (wxWindow
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 char *kwnames
[] = {
26128 (char *) "self",(char *) "rect", NULL
26131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26133 if (SWIG_arg_fail(1)) SWIG_fail
;
26136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 Py_INCREF(Py_None
); resultobj
= Py_None
;
26152 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26153 PyObject
*resultobj
;
26154 wxWindow
*arg1
= (wxWindow
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (arg1
)->GetPosition();
26168 wxPyEndAllowThreads(__tstate
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26172 wxPoint
* resultptr
;
26173 resultptr
= new wxPoint((wxPoint
&)(result
));
26174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26182 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxWindow
*arg1
= (wxWindow
*) 0 ;
26185 int *arg2
= (int *) 0 ;
26186 int *arg3
= (int *) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26197 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 (arg1
)->GetPosition(arg2
,arg3
);
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26210 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26211 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26212 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26219 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxWindow
*arg1
= (wxWindow
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26230 if (SWIG_arg_fail(1)) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= ((wxWindow
const *)arg1
)->GetSize();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26239 wxSize
* resultptr
;
26240 resultptr
= new wxSize((wxSize
&)(result
));
26241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26249 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 int *arg2
= (int *) 0 ;
26253 int *arg3
= (int *) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self", NULL
26263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 Py_INCREF(Py_None
); resultobj
= Py_None
;
26276 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26277 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26278 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26279 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26286 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxWindow
*arg1
= (wxWindow
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= ((wxWindow
const *)arg1
)->GetRect();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 wxRect
* resultptr
;
26307 resultptr
= new wxRect((wxRect
&)(result
));
26308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26316 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 wxSize
* resultptr
;
26337 resultptr
= new wxSize((wxSize
&)(result
));
26338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26346 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxWindow
*arg1
= (wxWindow
*) 0 ;
26349 int *arg2
= (int *) 0 ;
26350 int *arg3
= (int *) 0 ;
26355 PyObject
* obj0
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self", NULL
26360 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26361 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(1)) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 Py_INCREF(Py_None
); resultobj
= Py_None
;
26373 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26374 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26375 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26376 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26383 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26394 if (SWIG_arg_fail(1)) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxPoint
* resultptr
;
26404 resultptr
= new wxPoint((wxPoint
&)(result
));
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26413 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "self", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26424 if (SWIG_arg_fail(1)) SWIG_fail
;
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26433 wxRect
* resultptr
;
26434 resultptr
= new wxRect((wxRect
&)(result
));
26435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26443 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxWindow
*arg1
= (wxWindow
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26463 wxSize
* resultptr
;
26464 resultptr
= new wxSize((wxSize
&)(result
));
26465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26473 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26476 int *arg2
= (int *) 0 ;
26477 int *arg3
= (int *) 0 ;
26482 PyObject
* obj0
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self", NULL
26487 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26488 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 Py_INCREF(Py_None
); resultobj
= Py_None
;
26500 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26501 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26502 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26503 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26510 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxWindow
*arg1
= (wxWindow
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 (arg1
)->InvalidateBestSize();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 Py_INCREF(Py_None
); resultobj
= Py_None
;
26535 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxWindow
*arg1
= (wxWindow
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26546 if (SWIG_arg_fail(1)) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26555 wxSize
* resultptr
;
26556 resultptr
= new wxSize((wxSize
&)(result
));
26557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26565 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxWindow
*arg1
= (wxWindow
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26576 if (SWIG_arg_fail(1)) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 wxSize
* resultptr
;
26586 resultptr
= new wxSize((wxSize
&)(result
));
26587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26595 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxWindow
*arg1
= (wxWindow
*) 0 ;
26598 int arg2
= (int) wxBOTH
;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "direction", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 arg2
= (int)(SWIG_As_int(obj1
));
26611 if (SWIG_arg_fail(2)) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 (arg1
)->Center(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 Py_INCREF(Py_None
); resultobj
= Py_None
;
26628 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxWindow
*arg1
= (wxWindow
*) 0 ;
26631 int arg2
= (int) wxBOTH
;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "dir", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail
;
26643 arg2
= (int)(SWIG_As_int(obj1
));
26644 if (SWIG_arg_fail(2)) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 (arg1
)->CenterOnScreen(arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 Py_INCREF(Py_None
); resultobj
= Py_None
;
26661 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
;
26663 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 int arg2
= (int) wxBOTH
;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 char *kwnames
[] = {
26668 (char *) "self",(char *) "dir", NULL
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail
;
26676 arg2
= (int)(SWIG_As_int(obj1
));
26677 if (SWIG_arg_fail(2)) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 (arg1
)->CenterOnParent(arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 Py_INCREF(Py_None
); resultobj
= Py_None
;
26694 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxWindow
*arg1
= (wxWindow
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26704 if (SWIG_arg_fail(1)) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 Py_INCREF(Py_None
); resultobj
= Py_None
;
26719 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxWindow
*arg1
= (wxWindow
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26729 if (SWIG_arg_fail(1)) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 (arg1
)->FitInside();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 Py_INCREF(Py_None
); resultobj
= Py_None
;
26744 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxWindow
*arg1
= (wxWindow
*) 0 ;
26749 int arg4
= (int) -1 ;
26750 int arg5
= (int) -1 ;
26751 int arg6
= (int) -1 ;
26752 int arg7
= (int) -1 ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 PyObject
* obj2
= 0 ;
26756 PyObject
* obj3
= 0 ;
26757 PyObject
* obj4
= 0 ;
26758 PyObject
* obj5
= 0 ;
26759 PyObject
* obj6
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(1)) SWIG_fail
;
26768 arg2
= (int)(SWIG_As_int(obj1
));
26769 if (SWIG_arg_fail(2)) SWIG_fail
;
26772 arg3
= (int)(SWIG_As_int(obj2
));
26773 if (SWIG_arg_fail(3)) SWIG_fail
;
26777 arg4
= (int)(SWIG_As_int(obj3
));
26778 if (SWIG_arg_fail(4)) SWIG_fail
;
26783 arg5
= (int)(SWIG_As_int(obj4
));
26784 if (SWIG_arg_fail(5)) SWIG_fail
;
26789 arg6
= (int)(SWIG_As_int(obj5
));
26790 if (SWIG_arg_fail(6)) SWIG_fail
;
26795 arg7
= (int)(SWIG_As_int(obj6
));
26796 if (SWIG_arg_fail(7)) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 Py_INCREF(Py_None
); resultobj
= Py_None
;
26813 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxWindow
*arg1
= (wxWindow
*) 0 ;
26817 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26818 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 PyObject
* obj2
= 0 ;
26827 PyObject
* obj3
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26834 if (SWIG_arg_fail(1)) SWIG_fail
;
26837 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26842 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 Py_INCREF(Py_None
); resultobj
= Py_None
;
26865 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxWindow
*arg1
= (wxWindow
*) 0 ;
26870 int arg4
= (int) -1 ;
26871 int arg5
= (int) -1 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 PyObject
* obj2
= 0 ;
26875 PyObject
* obj3
= 0 ;
26876 PyObject
* obj4
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26883 if (SWIG_arg_fail(1)) SWIG_fail
;
26885 arg2
= (int)(SWIG_As_int(obj1
));
26886 if (SWIG_arg_fail(2)) SWIG_fail
;
26889 arg3
= (int)(SWIG_As_int(obj2
));
26890 if (SWIG_arg_fail(3)) SWIG_fail
;
26894 arg4
= (int)(SWIG_As_int(obj3
));
26895 if (SWIG_arg_fail(4)) SWIG_fail
;
26900 arg5
= (int)(SWIG_As_int(obj4
));
26901 if (SWIG_arg_fail(5)) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 Py_INCREF(Py_None
); resultobj
= Py_None
;
26918 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
;
26920 wxWindow
*arg1
= (wxWindow
*) 0 ;
26922 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26923 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 PyObject
* obj2
= 0 ;
26929 char *kwnames
[] = {
26930 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26935 if (SWIG_arg_fail(1)) SWIG_fail
;
26938 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26943 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 Py_INCREF(Py_None
); resultobj
= Py_None
;
26960 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
;
26962 wxWindow
*arg1
= (wxWindow
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26971 if (SWIG_arg_fail(1)) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26980 wxSize
* resultptr
;
26981 resultptr
= new wxSize((wxSize
&)(result
));
26982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26990 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxWindow
*arg1
= (wxWindow
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27001 if (SWIG_arg_fail(1)) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27010 wxSize
* resultptr
;
27011 resultptr
= new wxSize((wxSize
&)(result
));
27012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27020 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxWindow
*arg1
= (wxWindow
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "minSize", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27033 if (SWIG_arg_fail(1)) SWIG_fail
;
27036 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 Py_INCREF(Py_None
); resultobj
= Py_None
;
27052 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxWindow
*arg1
= (wxWindow
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "maxSize", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail
;
27068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 Py_INCREF(Py_None
); resultobj
= Py_None
;
27084 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxWindow
*arg1
= (wxWindow
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail
;
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_From_int((int)(result
));
27112 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxWindow
*arg1
= (wxWindow
*) 0 ;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_From_int((int)(result
));
27140 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxWindow
*arg1
= (wxWindow
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_From_int((int)(result
));
27168 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxWindow
*arg1
= (wxWindow
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27179 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= SWIG_From_int((int)(result
));
27196 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxWindow
*arg1
= (wxWindow
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "size", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 Py_INCREF(Py_None
); resultobj
= Py_None
;
27228 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
;
27230 wxWindow
*arg1
= (wxWindow
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 PyObject
* obj2
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self",(char *) "w",(char *) "h", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail
;
27244 arg2
= (int)(SWIG_As_int(obj1
));
27245 if (SWIG_arg_fail(2)) SWIG_fail
;
27248 arg3
= (int)(SWIG_As_int(obj2
));
27249 if (SWIG_arg_fail(3)) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->SetVirtualSize(arg2
,arg3
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27285 wxSize
* resultptr
;
27286 resultptr
= new wxSize((wxSize
&)(result
));
27287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27295 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxWindow
*arg1
= (wxWindow
*) 0 ;
27298 int *arg2
= (int *) 0 ;
27299 int *arg3
= (int *) 0 ;
27304 PyObject
* obj0
= 0 ;
27305 char *kwnames
[] = {
27306 (char *) "self", NULL
27309 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27310 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27313 if (SWIG_arg_fail(1)) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 Py_INCREF(Py_None
); resultobj
= Py_None
;
27322 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27323 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27324 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27325 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27332 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxWindow
*arg1
= (wxWindow
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 char *kwnames
[] = {
27338 (char *) "self", NULL
27341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27343 if (SWIG_arg_fail(1)) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 wxSize
* resultptr
;
27353 resultptr
= new wxSize((wxSize
&)(result
));
27354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27362 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 bool arg2
= (bool) true ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self",(char *) "show", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27375 if (SWIG_arg_fail(1)) SWIG_fail
;
27378 arg2
= (bool)(SWIG_As_bool(obj1
));
27379 if (SWIG_arg_fail(2)) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (bool)(arg1
)->Show(arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27398 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxWindow
*arg1
= (wxWindow
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27409 if (SWIG_arg_fail(1)) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (bool)(arg1
)->Hide();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27426 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxWindow
*arg1
= (wxWindow
*) 0 ;
27429 bool arg2
= (bool) true ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self",(char *) "enable", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27439 if (SWIG_arg_fail(1)) SWIG_fail
;
27442 arg2
= (bool)(SWIG_As_bool(obj1
));
27443 if (SWIG_arg_fail(2)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (bool)(arg1
)->Enable(arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27462 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char *kwnames
[] = {
27468 (char *) "self", NULL
27471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (bool)(arg1
)->Disable();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27490 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
;
27492 wxWindow
*arg1
= (wxWindow
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27518 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxWindow
*arg1
= (wxWindow
*) 0 ;
27522 PyObject
* obj0
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27546 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxWindow
*arg1
= (wxWindow
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "style", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail
;
27560 arg2
= (long)(SWIG_As_long(obj1
));
27561 if (SWIG_arg_fail(2)) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 (arg1
)->SetWindowStyleFlag(arg2
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 Py_INCREF(Py_None
); resultobj
= Py_None
;
27577 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27581 PyObject
* obj0
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27588 if (SWIG_arg_fail(1)) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_From_long((long)(result
));
27605 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
;
27607 wxWindow
*arg1
= (wxWindow
*) 0 ;
27610 PyObject
* obj0
= 0 ;
27611 PyObject
* obj1
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self",(char *) "flag", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27618 if (SWIG_arg_fail(1)) SWIG_fail
;
27620 arg2
= (int)(SWIG_As_int(obj1
));
27621 if (SWIG_arg_fail(2)) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27639 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxWindow
*arg1
= (wxWindow
*) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27650 if (SWIG_arg_fail(1)) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27667 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxWindow
*arg1
= (wxWindow
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "exStyle", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail
;
27681 arg2
= (long)(SWIG_As_long(obj1
));
27682 if (SWIG_arg_fail(2)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->SetExtraStyle(arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 char *kwnames
[] = {
27704 (char *) "self", NULL
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27709 if (SWIG_arg_fail(1)) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= SWIG_From_long((long)(result
));
27726 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 wxWindow
*arg1
= (wxWindow
*) 0 ;
27729 bool arg2
= (bool) true ;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "modal", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27738 if (SWIG_arg_fail(1)) SWIG_fail
;
27741 arg2
= (bool)(SWIG_As_bool(obj1
));
27742 if (SWIG_arg_fail(2)) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->MakeModal(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 Py_INCREF(Py_None
); resultobj
= Py_None
;
27759 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxWindow
*arg1
= (wxWindow
*) 0 ;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "enableTheme", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27771 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 arg2
= (bool)(SWIG_As_bool(obj1
));
27774 if (SWIG_arg_fail(2)) SWIG_fail
;
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 (arg1
)->SetThemeEnabled(arg2
);
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 Py_INCREF(Py_None
); resultobj
= Py_None
;
27790 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxWindow
*arg1
= (wxWindow
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27801 if (SWIG_arg_fail(1)) SWIG_fail
;
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27818 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27828 if (SWIG_arg_fail(1)) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 (arg1
)->SetFocus();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 Py_INCREF(Py_None
); resultobj
= Py_None
;
27843 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxWindow
*arg1
= (wxWindow
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27853 if (SWIG_arg_fail(1)) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->SetFocusFromKbd();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27871 char *kwnames
[] = {
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27877 if (!wxPyCheckForApp()) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (wxWindow
*)wxWindow::FindFocus();
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= wxPyMake_wxObject(result
, 0);
27893 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 PyObject
* obj0
= 0 ;
27898 char *kwnames
[] = {
27899 (char *) "self", NULL
27902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27904 if (SWIG_arg_fail(1)) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27921 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxWindow
*arg1
= (wxWindow
*) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27932 if (SWIG_arg_fail(1)) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27949 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27960 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxPyMake_wxObject(result
, 0);
27977 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 wxWindow
*arg2
= (wxWindow
*) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 PyObject
* obj1
= 0 ;
27984 char *kwnames
[] = {
27985 (char *) "self",(char *) "child", NULL
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27990 if (SWIG_arg_fail(1)) SWIG_fail
;
27991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27992 if (SWIG_arg_fail(2)) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= wxPyMake_wxObject(result
, 0);
28009 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxWindow
*arg1
= (wxWindow
*) 0 ;
28012 wxWindow
*arg2
= (wxWindow
*) 0 ;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "self",(char *) "win", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28021 if (SWIG_arg_fail(1)) SWIG_fail
;
28022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28023 if (SWIG_arg_fail(2)) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 (arg1
)->SetTmpDefaultItem(arg2
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 Py_INCREF(Py_None
); resultobj
= Py_None
;
28038 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxWindow
*arg1
= (wxWindow
*) 0 ;
28041 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28043 PyObject
* obj0
= 0 ;
28044 PyObject
* obj1
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self",(char *) "flags", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28051 if (SWIG_arg_fail(1)) SWIG_fail
;
28054 arg2
= (int)(SWIG_As_int(obj1
));
28055 if (SWIG_arg_fail(2)) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (bool)(arg1
)->Navigate(arg2
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28074 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxWindow
*arg1
= (wxWindow
*) 0 ;
28077 wxWindow
*arg2
= (wxWindow
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self",(char *) "win", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28086 if (SWIG_arg_fail(1)) SWIG_fail
;
28087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28088 if (SWIG_arg_fail(2)) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 (arg1
)->MoveAfterInTabOrder(arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 Py_INCREF(Py_None
); resultobj
= Py_None
;
28103 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxWindow
*arg1
= (wxWindow
*) 0 ;
28106 wxWindow
*arg2
= (wxWindow
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "win", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28115 if (SWIG_arg_fail(1)) SWIG_fail
;
28116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28117 if (SWIG_arg_fail(2)) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->MoveBeforeInTabOrder(arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxWindow
*arg1
= (wxWindow
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28143 if (SWIG_arg_fail(1)) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= result
;
28158 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxWindow
*arg1
= (wxWindow
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28169 if (SWIG_arg_fail(1)) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= wxPyMake_wxObject(result
, 0);
28186 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
;
28188 wxWindow
*arg1
= (wxWindow
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28197 if (SWIG_arg_fail(1)) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= wxPyMake_wxObject(result
, 0);
28214 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxWindow
*arg1
= (wxWindow
*) 0 ;
28218 PyObject
* obj0
= 0 ;
28219 char *kwnames
[] = {
28220 (char *) "self", NULL
28223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28225 if (SWIG_arg_fail(1)) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28242 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxWindow
*arg1
= (wxWindow
*) 0 ;
28245 wxWindow
*arg2
= (wxWindow
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "newParent", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28255 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28257 if (SWIG_arg_fail(2)) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 result
= (bool)(arg1
)->Reparent(arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28274 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxWindow
*arg1
= (wxWindow
*) 0 ;
28277 wxWindow
*arg2
= (wxWindow
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "child", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28286 if (SWIG_arg_fail(1)) SWIG_fail
;
28287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28288 if (SWIG_arg_fail(2)) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->AddChild(arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 Py_INCREF(Py_None
); resultobj
= Py_None
;
28303 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxWindow
*arg1
= (wxWindow
*) 0 ;
28306 wxWindow
*arg2
= (wxWindow
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "child", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28315 if (SWIG_arg_fail(1)) SWIG_fail
;
28316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28317 if (SWIG_arg_fail(2)) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 (arg1
)->RemoveChild(arg2
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 Py_INCREF(Py_None
); resultobj
= Py_None
;
28332 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxWindow
*arg1
= (wxWindow
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "winid", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28345 if (SWIG_arg_fail(1)) SWIG_fail
;
28347 arg2
= (long)(SWIG_As_long(obj1
));
28348 if (SWIG_arg_fail(2)) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= wxPyMake_wxObject(result
, 0);
28366 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxWindow
*arg1
= (wxWindow
*) 0 ;
28369 wxString
*arg2
= 0 ;
28371 bool temp2
= false ;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self",(char *) "name", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28380 if (SWIG_arg_fail(1)) SWIG_fail
;
28382 arg2
= wxString_in_helper(obj1
);
28383 if (arg2
== NULL
) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= wxPyMake_wxObject(result
, 0);
28410 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxWindow
*arg1
= (wxWindow
*) 0 ;
28413 wxEvtHandler
*result
;
28414 PyObject
* obj0
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= wxPyMake_wxObject(result
, 0);
28438 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxWindow
*arg1
= (wxWindow
*) 0 ;
28441 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 PyObject
* obj1
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self",(char *) "handler", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28452 if (SWIG_arg_fail(2)) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 (arg1
)->SetEventHandler(arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 Py_INCREF(Py_None
); resultobj
= Py_None
;
28467 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxWindow
*arg1
= (wxWindow
*) 0 ;
28470 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "handler", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->PushEventHandler(arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28496 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxWindow
*arg1
= (wxWindow
*) 0 ;
28499 bool arg2
= (bool) false ;
28500 wxEvtHandler
*result
;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "deleteHandler", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail
;
28512 arg2
= (bool)(SWIG_As_bool(obj1
));
28513 if (SWIG_arg_fail(2)) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= wxPyMake_wxObject(result
, 0);
28532 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxWindow
*arg1
= (wxWindow
*) 0 ;
28535 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28537 PyObject
* obj0
= 0 ;
28538 PyObject
* obj1
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self",(char *) "handler", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28545 if (SWIG_arg_fail(1)) SWIG_fail
;
28546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28547 if (SWIG_arg_fail(2)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28564 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 wxValidator
*arg2
= 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "validator", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail
;
28578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28579 if (SWIG_arg_fail(2)) SWIG_fail
;
28580 if (arg2
== NULL
) {
28581 SWIG_null_ref("wxValidator");
28583 if (SWIG_arg_fail(2)) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 Py_INCREF(Py_None
); resultobj
= Py_None
;
28599 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxWindow
*arg1
= (wxWindow
*) 0 ;
28602 wxValidator
*result
;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (wxValidator
*)(arg1
)->GetValidator();
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= wxPyMake_wxObject(result
, 0);
28627 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxWindow
*arg1
= (wxWindow
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 char *kwnames
[] = {
28633 (char *) "self", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28638 if (SWIG_arg_fail(1)) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (bool)(arg1
)->Validate();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28655 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxWindow
*arg1
= (wxWindow
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 char *kwnames
[] = {
28661 (char *) "self", NULL
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28666 if (SWIG_arg_fail(1)) SWIG_fail
;
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 result
= (bool)(arg1
)->TransferDataToWindow();
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28683 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
;
28685 wxWindow
*arg1
= (wxWindow
*) 0 ;
28687 PyObject
* obj0
= 0 ;
28688 char *kwnames
[] = {
28689 (char *) "self", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28694 if (SWIG_arg_fail(1)) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= (bool)(arg1
)->TransferDataFromWindow();
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28711 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28712 PyObject
*resultobj
;
28713 wxWindow
*arg1
= (wxWindow
*) 0 ;
28714 PyObject
* obj0
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28721 if (SWIG_arg_fail(1)) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 (arg1
)->InitDialog();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28739 wxAcceleratorTable
*arg2
= 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "accel", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28751 if (SWIG_arg_fail(2)) SWIG_fail
;
28752 if (arg2
== NULL
) {
28753 SWIG_null_ref("wxAcceleratorTable");
28755 if (SWIG_arg_fail(2)) SWIG_fail
;
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 Py_INCREF(Py_None
); resultobj
= Py_None
;
28771 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxWindow
*arg1
= (wxWindow
*) 0 ;
28774 wxAcceleratorTable
*result
;
28775 PyObject
* obj0
= 0 ;
28776 char *kwnames
[] = {
28777 (char *) "self", NULL
28780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28782 if (SWIG_arg_fail(1)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28787 wxPyEndAllowThreads(__tstate
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28797 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxWindow
*arg1
= (wxWindow
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 PyObject
* obj2
= 0 ;
28807 PyObject
* obj3
= 0 ;
28808 char *kwnames
[] = {
28809 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail
;
28816 arg2
= (int)(SWIG_As_int(obj1
));
28817 if (SWIG_arg_fail(2)) SWIG_fail
;
28820 arg3
= (int)(SWIG_As_int(obj2
));
28821 if (SWIG_arg_fail(3)) SWIG_fail
;
28824 arg4
= (int)(SWIG_As_int(obj3
));
28825 if (SWIG_arg_fail(4)) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28843 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxWindow
*arg1
= (wxWindow
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self",(char *) "hotkeyId", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(1)) SWIG_fail
;
28858 arg2
= (int)(SWIG_As_int(obj1
));
28859 if (SWIG_arg_fail(2)) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28877 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
;
28879 wxWindow
*arg1
= (wxWindow
*) 0 ;
28880 wxPoint
*arg2
= 0 ;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self",(char *) "pt", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28891 if (SWIG_arg_fail(1)) SWIG_fail
;
28894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28904 wxPoint
* resultptr
;
28905 resultptr
= new wxPoint((wxPoint
&)(result
));
28906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28914 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
;
28916 wxWindow
*arg1
= (wxWindow
*) 0 ;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 char *kwnames
[] = {
28923 (char *) "self",(char *) "sz", NULL
28926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28928 if (SWIG_arg_fail(1)) SWIG_fail
;
28931 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28941 wxSize
* resultptr
;
28942 resultptr
= new wxSize((wxSize
&)(result
));
28943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28951 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxWindow
*arg1
= (wxWindow
*) 0 ;
28954 wxPoint
*arg2
= 0 ;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self",(char *) "pt", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail
;
28968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28978 wxPoint
* resultptr
;
28979 resultptr
= new wxPoint((wxPoint
&)(result
));
28980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28988 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxWindow
*arg1
= (wxWindow
*) 0 ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self",(char *) "sz", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29002 if (SWIG_arg_fail(1)) SWIG_fail
;
29005 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 wxSize
* resultptr
;
29016 resultptr
= new wxSize((wxSize
&)(result
));
29017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29025 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
;
29027 wxWindow
*arg1
= (wxWindow
*) 0 ;
29028 wxPoint
*arg2
= 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self",(char *) "pt", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29039 if (SWIG_arg_fail(1)) SWIG_fail
;
29042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29052 wxPoint
* resultptr
;
29053 resultptr
= new wxPoint((wxPoint
&)(result
));
29054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29062 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxWindow
*arg1
= (wxWindow
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 char *kwnames
[] = {
29071 (char *) "self",(char *) "sz", NULL
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29076 if (SWIG_arg_fail(1)) SWIG_fail
;
29079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29089 wxSize
* resultptr
;
29090 resultptr
= new wxSize((wxSize
&)(result
));
29091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29099 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
;
29101 wxWindow
*arg1
= (wxWindow
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 PyObject
* obj2
= 0 ;
29107 char *kwnames
[] = {
29108 (char *) "self",(char *) "x",(char *) "y", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29113 if (SWIG_arg_fail(1)) SWIG_fail
;
29115 arg2
= (int)(SWIG_As_int(obj1
));
29116 if (SWIG_arg_fail(2)) SWIG_fail
;
29119 arg3
= (int)(SWIG_As_int(obj2
));
29120 if (SWIG_arg_fail(3)) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 (arg1
)->WarpPointer(arg2
,arg3
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 Py_INCREF(Py_None
); resultobj
= Py_None
;
29136 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
;
29138 wxWindow
*arg1
= (wxWindow
*) 0 ;
29139 PyObject
* obj0
= 0 ;
29140 char *kwnames
[] = {
29141 (char *) "self", NULL
29144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29146 if (SWIG_arg_fail(1)) SWIG_fail
;
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->CaptureMouse();
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 Py_INCREF(Py_None
); resultobj
= Py_None
;
29161 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxWindow
*arg1
= (wxWindow
*) 0 ;
29164 PyObject
* obj0
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "self", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29171 if (SWIG_arg_fail(1)) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 (arg1
)->ReleaseMouse();
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 Py_INCREF(Py_None
); resultobj
= Py_None
;
29186 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29189 char *kwnames
[] = {
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29195 if (!wxPyCheckForApp()) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxWindow
*)wxWindow::GetCapture();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= wxPyMake_wxObject(result
, 0);
29211 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxWindow
*arg1
= (wxWindow
*) 0 ;
29215 PyObject
* obj0
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29222 if (SWIG_arg_fail(1)) SWIG_fail
;
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29239 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxWindow
*arg1
= (wxWindow
*) 0 ;
29242 bool arg2
= (bool) true ;
29243 wxRect
*arg3
= (wxRect
*) NULL
;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 PyObject
* obj2
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29253 if (SWIG_arg_fail(1)) SWIG_fail
;
29256 arg2
= (bool)(SWIG_As_bool(obj1
));
29257 if (SWIG_arg_fail(2)) SWIG_fail
;
29261 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(3)) SWIG_fail
;
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 Py_INCREF(Py_None
); resultobj
= Py_None
;
29278 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxWindow
*arg1
= (wxWindow
*) 0 ;
29282 bool arg3
= (bool) true ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 PyObject
* obj2
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29293 if (SWIG_arg_fail(1)) SWIG_fail
;
29296 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29300 arg3
= (bool)(SWIG_As_bool(obj2
));
29301 if (SWIG_arg_fail(3)) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 Py_INCREF(Py_None
); resultobj
= Py_None
;
29318 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxWindow
*arg1
= (wxWindow
*) 0 ;
29321 PyObject
* obj0
= 0 ;
29322 char *kwnames
[] = {
29323 (char *) "self", NULL
29326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29328 if (SWIG_arg_fail(1)) SWIG_fail
;
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 Py_INCREF(Py_None
); resultobj
= Py_None
;
29343 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxWindow
*arg1
= (wxWindow
*) 0 ;
29346 PyObject
* obj0
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "self", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail
;
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29356 (arg1
)->ClearBackground();
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 Py_INCREF(Py_None
); resultobj
= Py_None
;
29368 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxWindow
*arg1
= (wxWindow
*) 0 ;
29371 PyObject
* obj0
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29378 if (SWIG_arg_fail(1)) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 Py_INCREF(Py_None
); resultobj
= Py_None
;
29393 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
;
29395 wxWindow
*arg1
= (wxWindow
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(1)) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 Py_INCREF(Py_None
); resultobj
= Py_None
;
29418 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
;
29420 wxWindow
*arg1
= (wxWindow
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 char *kwnames
[] = {
29425 (char *) "self",(char *) "dc", NULL
29428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29430 if (SWIG_arg_fail(1)) SWIG_fail
;
29432 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29433 if (SWIG_arg_fail(2)) SWIG_fail
;
29434 if (arg2
== NULL
) {
29435 SWIG_null_ref("wxDC");
29437 if (SWIG_arg_fail(2)) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->PrepareDC(*arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxWindow
*arg1
= (wxWindow
*) 0 ;
29457 PyObject
* obj0
= 0 ;
29458 char *kwnames
[] = {
29459 (char *) "self", NULL
29462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29464 if (SWIG_arg_fail(1)) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29469 result
= (wxRegion
*) &_result_ref
;
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29482 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxWindow
*arg1
= (wxWindow
*) 0 ;
29486 PyObject
* obj0
= 0 ;
29487 char *kwnames
[] = {
29488 (char *) "self", NULL
29491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29493 if (SWIG_arg_fail(1)) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29498 wxPyEndAllowThreads(__tstate
);
29499 if (PyErr_Occurred()) SWIG_fail
;
29502 wxRect
* resultptr
;
29503 resultptr
= new wxRect((wxRect
&)(result
));
29504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29512 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxWindow
*arg1
= (wxWindow
*) 0 ;
29517 int arg4
= (int) 1 ;
29518 int arg5
= (int) 1 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 PyObject
* obj2
= 0 ;
29523 PyObject
* obj3
= 0 ;
29524 PyObject
* obj4
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29531 if (SWIG_arg_fail(1)) SWIG_fail
;
29533 arg2
= (int)(SWIG_As_int(obj1
));
29534 if (SWIG_arg_fail(2)) SWIG_fail
;
29537 arg3
= (int)(SWIG_As_int(obj2
));
29538 if (SWIG_arg_fail(3)) SWIG_fail
;
29542 arg4
= (int)(SWIG_As_int(obj3
));
29543 if (SWIG_arg_fail(4)) SWIG_fail
;
29548 arg5
= (int)(SWIG_As_int(obj4
));
29549 if (SWIG_arg_fail(5)) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29568 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxWindow
*arg1
= (wxWindow
*) 0 ;
29571 wxPoint
*arg2
= 0 ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 char *kwnames
[] = {
29577 (char *) "self",(char *) "pt", NULL
29580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29582 if (SWIG_arg_fail(1)) SWIG_fail
;
29585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29603 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxWindow
*arg1
= (wxWindow
*) 0 ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self",(char *) "rect", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29617 if (SWIG_arg_fail(1)) SWIG_fail
;
29620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
;
29640 wxWindow
*arg1
= (wxWindow
*) 0 ;
29641 wxVisualAttributes result
;
29642 PyObject
* obj0
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29649 if (SWIG_arg_fail(1)) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 wxVisualAttributes
* resultptr
;
29659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29668 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
;
29670 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29671 wxVisualAttributes result
;
29672 PyObject
* obj0
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "variant", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29680 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29681 if (SWIG_arg_fail(1)) SWIG_fail
;
29685 if (!wxPyCheckForApp()) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29689 wxPyEndAllowThreads(__tstate
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 wxVisualAttributes
* resultptr
;
29694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29703 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxWindow
*arg1
= (wxWindow
*) 0 ;
29706 wxColour
*arg2
= 0 ;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "colour", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29717 if (SWIG_arg_fail(1)) SWIG_fail
;
29720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29738 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
;
29740 wxWindow
*arg1
= (wxWindow
*) 0 ;
29741 wxColour
*arg2
= 0 ;
29743 PyObject
* obj0
= 0 ;
29744 PyObject
* obj1
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self",(char *) "colour", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29751 if (SWIG_arg_fail(1)) SWIG_fail
;
29754 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 Py_INCREF(Py_None
); resultobj
= Py_None
;
29770 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
;
29772 wxWindow
*arg1
= (wxWindow
*) 0 ;
29773 wxColour
*arg2
= 0 ;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self",(char *) "colour", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29784 if (SWIG_arg_fail(1)) SWIG_fail
;
29787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29805 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
;
29807 wxWindow
*arg1
= (wxWindow
*) 0 ;
29808 wxColour
*arg2
= 0 ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self",(char *) "colour", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(1)) SWIG_fail
;
29821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 Py_INCREF(Py_None
); resultobj
= Py_None
;
29837 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29838 PyObject
*resultobj
;
29839 wxWindow
*arg1
= (wxWindow
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(1)) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29857 wxColour
* resultptr
;
29858 resultptr
= new wxColour((wxColour
&)(result
));
29859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29867 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxWindow
*arg1
= (wxWindow
*) 0 ;
29871 PyObject
* obj0
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(1)) SWIG_fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29887 wxColour
* resultptr
;
29888 resultptr
= new wxColour((wxColour
&)(result
));
29889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29897 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
;
29899 wxWindow
*arg1
= (wxWindow
*) 0 ;
29901 PyObject
* obj0
= 0 ;
29902 char *kwnames
[] = {
29903 (char *) "self", NULL
29906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29908 if (SWIG_arg_fail(1)) SWIG_fail
;
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29925 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxWindow
*arg1
= (wxWindow
*) 0 ;
29929 PyObject
* obj0
= 0 ;
29930 char *kwnames
[] = {
29931 (char *) "self", NULL
29934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29936 if (SWIG_arg_fail(1)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29953 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxWindow
*arg1
= (wxWindow
*) 0 ;
29956 wxBackgroundStyle arg2
;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 char *kwnames
[] = {
29961 (char *) "self",(char *) "style", NULL
29964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail
;
29968 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29969 if (SWIG_arg_fail(2)) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29987 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxWindow
*arg1
= (wxWindow
*) 0 ;
29990 wxBackgroundStyle result
;
29991 PyObject
* obj0
= 0 ;
29992 char *kwnames
[] = {
29993 (char *) "self", NULL
29996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29998 if (SWIG_arg_fail(1)) SWIG_fail
;
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= SWIG_From_int((result
));
30013 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
;
30015 wxWindow
*arg1
= (wxWindow
*) 0 ;
30017 PyObject
* obj0
= 0 ;
30018 char *kwnames
[] = {
30019 (char *) "self", NULL
30022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30024 if (SWIG_arg_fail(1)) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (bool)(arg1
)->HasTransparentBackground();
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30041 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
;
30043 wxWindow
*arg1
= (wxWindow
*) 0 ;
30044 wxCursor
*arg2
= 0 ;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self",(char *) "cursor", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30054 if (SWIG_arg_fail(1)) SWIG_fail
;
30056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30057 if (SWIG_arg_fail(2)) SWIG_fail
;
30058 if (arg2
== NULL
) {
30059 SWIG_null_ref("wxCursor");
30061 if (SWIG_arg_fail(2)) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30079 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxWindow
*arg1
= (wxWindow
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30090 if (SWIG_arg_fail(1)) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (arg1
)->GetCursor();
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 wxCursor
* resultptr
;
30100 resultptr
= new wxCursor((wxCursor
&)(result
));
30101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30109 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxWindow
*arg1
= (wxWindow
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "font", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail
;
30124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30125 if (SWIG_arg_fail(2)) SWIG_fail
;
30126 if (arg2
== NULL
) {
30127 SWIG_null_ref("wxFont");
30129 if (SWIG_arg_fail(2)) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30147 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
;
30149 wxWindow
*arg1
= (wxWindow
*) 0 ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self",(char *) "font", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30159 if (SWIG_arg_fail(1)) SWIG_fail
;
30161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30162 if (SWIG_arg_fail(2)) SWIG_fail
;
30163 if (arg2
== NULL
) {
30164 SWIG_null_ref("wxFont");
30166 if (SWIG_arg_fail(2)) SWIG_fail
;
30169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 Py_INCREF(Py_None
); resultobj
= Py_None
;
30182 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
;
30184 wxWindow
*arg1
= (wxWindow
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 char *kwnames
[] = {
30188 (char *) "self", NULL
30191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30193 if (SWIG_arg_fail(1)) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= (arg1
)->GetFont();
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30202 wxFont
* resultptr
;
30203 resultptr
= new wxFont((wxFont
&)(result
));
30204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30212 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
;
30214 wxWindow
*arg1
= (wxWindow
*) 0 ;
30215 wxCaret
*arg2
= (wxCaret
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self",(char *) "caret", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30224 if (SWIG_arg_fail(1)) SWIG_fail
;
30225 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30226 if (SWIG_arg_fail(2)) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 (arg1
)->SetCaret(arg2
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 Py_INCREF(Py_None
); resultobj
= Py_None
;
30241 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
;
30243 wxWindow
*arg1
= (wxWindow
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 char *kwnames
[] = {
30247 (char *) "self", NULL
30250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30252 if (SWIG_arg_fail(1)) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30267 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxWindow
*arg1
= (wxWindow
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30278 if (SWIG_arg_fail(1)) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_From_int((int)(result
));
30295 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxWindow
*arg1
= (wxWindow
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30306 if (SWIG_arg_fail(1)) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= SWIG_From_int((int)(result
));
30323 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
;
30325 wxWindow
*arg1
= (wxWindow
*) 0 ;
30326 wxString
*arg2
= 0 ;
30327 int *arg3
= (int *) 0 ;
30328 int *arg4
= (int *) 0 ;
30329 bool temp2
= false ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char *kwnames
[] = {
30337 (char *) "self",(char *) "string", NULL
30340 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30341 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30344 if (SWIG_arg_fail(1)) SWIG_fail
;
30346 arg2
= wxString_in_helper(obj1
);
30347 if (arg2
== NULL
) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 Py_INCREF(Py_None
); resultobj
= Py_None
;
30358 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30359 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30360 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30361 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30376 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
;
30378 wxWindow
*arg1
= (wxWindow
*) 0 ;
30379 wxString
*arg2
= 0 ;
30380 int *arg3
= (int *) 0 ;
30381 int *arg4
= (int *) 0 ;
30382 int *arg5
= (int *) 0 ;
30383 int *arg6
= (int *) 0 ;
30384 wxFont
*arg7
= (wxFont
*) NULL
;
30385 bool temp2
= false ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 PyObject
* obj2
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self",(char *) "string",(char *) "font", NULL
30401 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30402 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30403 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30404 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail
;
30409 arg2
= wxString_in_helper(obj1
);
30410 if (arg2
== NULL
) SWIG_fail
;
30414 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(7)) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 Py_INCREF(Py_None
); resultobj
= Py_None
;
30425 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30426 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30427 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30428 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30429 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30430 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30431 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30432 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30447 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxWindow
*arg1
= (wxWindow
*) 0 ;
30450 int *arg2
= (int *) 0 ;
30451 int *arg3
= (int *) 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 PyObject
* obj2
= 0 ;
30459 char *kwnames
[] = {
30460 (char *) "self",(char *) "x",(char *) "y", NULL
30463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30465 if (SWIG_arg_fail(1)) SWIG_fail
;
30467 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30468 temp2
= SWIG_As_int(obj1
);
30469 if (SWIG_arg_fail(2)) SWIG_fail
;
30471 res2
= SWIG_NEWOBJ
;
30475 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30476 temp3
= SWIG_As_int(obj2
);
30477 if (SWIG_arg_fail(3)) SWIG_fail
;
30479 res3
= SWIG_NEWOBJ
;
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30486 wxPyEndAllowThreads(__tstate
);
30487 if (PyErr_Occurred()) SWIG_fail
;
30489 Py_INCREF(Py_None
); resultobj
= Py_None
;
30490 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30491 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30492 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30493 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30500 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxWindow
*arg1
= (wxWindow
*) 0 ;
30503 int *arg2
= (int *) 0 ;
30504 int *arg3
= (int *) 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 PyObject
* obj2
= 0 ;
30512 char *kwnames
[] = {
30513 (char *) "self",(char *) "x",(char *) "y", NULL
30516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30518 if (SWIG_arg_fail(1)) SWIG_fail
;
30520 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30521 temp2
= SWIG_As_int(obj1
);
30522 if (SWIG_arg_fail(2)) SWIG_fail
;
30524 res2
= SWIG_NEWOBJ
;
30528 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30529 temp3
= SWIG_As_int(obj2
);
30530 if (SWIG_arg_fail(3)) SWIG_fail
;
30532 res3
= SWIG_NEWOBJ
;
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 Py_INCREF(Py_None
); resultobj
= Py_None
;
30543 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30544 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30545 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30546 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30553 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxWindow
*arg1
= (wxWindow
*) 0 ;
30556 wxPoint
*arg2
= 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 char *kwnames
[] = {
30562 (char *) "self",(char *) "pt", NULL
30565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30567 if (SWIG_arg_fail(1)) SWIG_fail
;
30570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30580 wxPoint
* resultptr
;
30581 resultptr
= new wxPoint((wxPoint
&)(result
));
30582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30590 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
;
30592 wxWindow
*arg1
= (wxWindow
*) 0 ;
30593 wxPoint
*arg2
= 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "pt", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail
;
30607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30617 wxPoint
* resultptr
;
30618 resultptr
= new wxPoint((wxPoint
&)(result
));
30619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30627 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
;
30629 wxWindow
*arg1
= (wxWindow
*) 0 ;
30633 PyObject
* obj0
= 0 ;
30634 PyObject
* obj1
= 0 ;
30635 PyObject
* obj2
= 0 ;
30636 char *kwnames
[] = {
30637 (char *) "self",(char *) "x",(char *) "y", NULL
30640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail
;
30644 arg2
= (int)(SWIG_As_int(obj1
));
30645 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 arg3
= (int)(SWIG_As_int(obj2
));
30649 if (SWIG_arg_fail(3)) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30658 resultobj
= SWIG_From_int((result
));
30665 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxWindow
*arg1
= (wxWindow
*) 0 ;
30668 wxPoint
*arg2
= 0 ;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "pt", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_From_int((result
));
30698 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30699 PyObject
*resultobj
;
30700 wxWindow
*arg1
= (wxWindow
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30706 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30708 if (SWIG_arg_fail(1)) SWIG_fail
;
30710 arg2
= (long)(SWIG_As_long(obj1
));
30711 if (SWIG_arg_fail(2)) SWIG_fail
;
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_From_int((result
));
30727 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30728 PyObject
*resultobj
;
30729 wxWindow
*arg1
= (wxWindow
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30733 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30735 if (SWIG_arg_fail(1)) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30740 wxPyEndAllowThreads(__tstate
);
30741 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= SWIG_From_int((result
));
30750 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30755 argc
= PyObject_Length(args
);
30756 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30757 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30763 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30771 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30778 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30786 _v
= SWIG_Check_long(argv
[1]);
30788 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30793 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30798 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
;
30800 wxWindow
*arg1
= (wxWindow
*) 0 ;
30801 long arg2
= (long) wxUPDATE_UI_NONE
;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 char *kwnames
[] = {
30805 (char *) "self",(char *) "flags", NULL
30808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30810 if (SWIG_arg_fail(1)) SWIG_fail
;
30813 arg2
= (long)(SWIG_As_long(obj1
));
30814 if (SWIG_arg_fail(2)) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->UpdateWindowUI(arg2
);
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30824 Py_INCREF(Py_None
); resultobj
= Py_None
;
30831 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxWindow
*arg1
= (wxWindow
*) 0 ;
30834 wxMenu
*arg2
= (wxMenu
*) 0 ;
30835 int arg3
= (int) -1 ;
30836 int arg4
= (int) -1 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 PyObject
* obj3
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30848 if (SWIG_arg_fail(1)) SWIG_fail
;
30849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(2)) SWIG_fail
;
30853 arg3
= (int)(SWIG_As_int(obj2
));
30854 if (SWIG_arg_fail(3)) SWIG_fail
;
30859 arg4
= (int)(SWIG_As_int(obj3
));
30860 if (SWIG_arg_fail(4)) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30879 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxWindow
*arg1
= (wxWindow
*) 0 ;
30882 wxMenu
*arg2
= (wxMenu
*) 0 ;
30883 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30884 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30887 PyObject
* obj0
= 0 ;
30888 PyObject
* obj1
= 0 ;
30889 PyObject
* obj2
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "self",(char *) "menu",(char *) "pos", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30896 if (SWIG_arg_fail(1)) SWIG_fail
;
30897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30898 if (SWIG_arg_fail(2)) SWIG_fail
;
30902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30921 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 wxWindow
*arg1
= (wxWindow
*) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "self", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30932 if (SWIG_arg_fail(1)) SWIG_fail
;
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (long)wxWindow_GetHandle(arg1
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_From_long((long)(result
));
30949 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
;
30951 wxWindow
*arg1
= (wxWindow
*) 0 ;
30953 PyObject
* obj0
= 0 ;
30954 PyObject
* obj1
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "handle", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30961 if (SWIG_arg_fail(1)) SWIG_fail
;
30963 arg2
= (long)(SWIG_As_long(obj1
));
30964 if (SWIG_arg_fail(2)) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 wxWindow_AssociateHandle(arg1
,arg2
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 Py_INCREF(Py_None
); resultobj
= Py_None
;
30980 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxWindow
*arg1
= (wxWindow
*) 0 ;
30983 PyObject
* obj0
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30990 if (SWIG_arg_fail(1)) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 (arg1
)->DissociateHandle();
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 Py_INCREF(Py_None
); resultobj
= Py_None
;
31005 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
;
31007 wxWindow
*arg1
= (wxWindow
*) 0 ;
31010 PyObject
* obj0
= 0 ;
31011 PyObject
* obj1
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self",(char *) "orient", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31018 if (SWIG_arg_fail(1)) SWIG_fail
;
31020 arg2
= (int)(SWIG_As_int(obj1
));
31021 if (SWIG_arg_fail(2)) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31039 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxWindow
*arg1
= (wxWindow
*) 0 ;
31046 bool arg6
= (bool) true ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 PyObject
* obj2
= 0 ;
31050 PyObject
* obj3
= 0 ;
31051 PyObject
* obj4
= 0 ;
31052 PyObject
* obj5
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31059 if (SWIG_arg_fail(1)) SWIG_fail
;
31061 arg2
= (int)(SWIG_As_int(obj1
));
31062 if (SWIG_arg_fail(2)) SWIG_fail
;
31065 arg3
= (int)(SWIG_As_int(obj2
));
31066 if (SWIG_arg_fail(3)) SWIG_fail
;
31069 arg4
= (int)(SWIG_As_int(obj3
));
31070 if (SWIG_arg_fail(4)) SWIG_fail
;
31073 arg5
= (int)(SWIG_As_int(obj4
));
31074 if (SWIG_arg_fail(5)) SWIG_fail
;
31078 arg6
= (bool)(SWIG_As_bool(obj5
));
31079 if (SWIG_arg_fail(6)) SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 Py_INCREF(Py_None
); resultobj
= Py_None
;
31096 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
;
31098 wxWindow
*arg1
= (wxWindow
*) 0 ;
31101 bool arg4
= (bool) true ;
31102 PyObject
* obj0
= 0 ;
31103 PyObject
* obj1
= 0 ;
31104 PyObject
* obj2
= 0 ;
31105 PyObject
* obj3
= 0 ;
31106 char *kwnames
[] = {
31107 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31112 if (SWIG_arg_fail(1)) SWIG_fail
;
31114 arg2
= (int)(SWIG_As_int(obj1
));
31115 if (SWIG_arg_fail(2)) SWIG_fail
;
31118 arg3
= (int)(SWIG_As_int(obj2
));
31119 if (SWIG_arg_fail(3)) SWIG_fail
;
31123 arg4
= (bool)(SWIG_As_bool(obj3
));
31124 if (SWIG_arg_fail(4)) SWIG_fail
;
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 Py_INCREF(Py_None
); resultobj
= Py_None
;
31141 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 wxWindow
*arg1
= (wxWindow
*) 0 ;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 char *kwnames
[] = {
31149 (char *) "self",(char *) "orientation", NULL
31152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31154 if (SWIG_arg_fail(1)) SWIG_fail
;
31156 arg2
= (int)(SWIG_As_int(obj1
));
31157 if (SWIG_arg_fail(2)) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= SWIG_From_int((int)(result
));
31175 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxWindow
*arg1
= (wxWindow
*) 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char *kwnames
[] = {
31183 (char *) "self",(char *) "orientation", NULL
31186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31188 if (SWIG_arg_fail(1)) SWIG_fail
;
31190 arg2
= (int)(SWIG_As_int(obj1
));
31191 if (SWIG_arg_fail(2)) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_From_int((int)(result
));
31209 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxWindow
*arg1
= (wxWindow
*) 0 ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self",(char *) "orientation", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 arg2
= (int)(SWIG_As_int(obj1
));
31225 if (SWIG_arg_fail(2)) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31235 resultobj
= SWIG_From_int((int)(result
));
31243 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxWindow
*arg1
= (wxWindow
*) 0 ;
31248 wxRect
*arg4
= (wxRect
*) NULL
;
31249 PyObject
* obj0
= 0 ;
31250 PyObject
* obj1
= 0 ;
31251 PyObject
* obj2
= 0 ;
31252 PyObject
* obj3
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31259 if (SWIG_arg_fail(1)) SWIG_fail
;
31261 arg2
= (int)(SWIG_As_int(obj1
));
31262 if (SWIG_arg_fail(2)) SWIG_fail
;
31265 arg3
= (int)(SWIG_As_int(obj2
));
31266 if (SWIG_arg_fail(3)) SWIG_fail
;
31269 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31270 if (SWIG_arg_fail(4)) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 Py_INCREF(Py_None
); resultobj
= Py_None
;
31286 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxWindow
*arg1
= (wxWindow
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self",(char *) "lines", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 arg2
= (int)(SWIG_As_int(obj1
));
31302 if (SWIG_arg_fail(2)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= (bool)(arg1
)->ScrollLines(arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31320 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxWindow
*arg1
= (wxWindow
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "pages", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31333 if (SWIG_arg_fail(1)) SWIG_fail
;
31335 arg2
= (int)(SWIG_As_int(obj1
));
31336 if (SWIG_arg_fail(2)) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (bool)(arg1
)->ScrollPages(arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31354 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
;
31356 wxWindow
*arg1
= (wxWindow
*) 0 ;
31358 PyObject
* obj0
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31365 if (SWIG_arg_fail(1)) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (bool)(arg1
)->LineUp();
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31382 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxWindow
*arg1
= (wxWindow
*) 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31393 if (SWIG_arg_fail(1)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)(arg1
)->LineDown();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31410 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxWindow
*arg1
= (wxWindow
*) 0 ;
31414 PyObject
* obj0
= 0 ;
31415 char *kwnames
[] = {
31416 (char *) "self", NULL
31419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31421 if (SWIG_arg_fail(1)) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= (bool)(arg1
)->PageUp();
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31438 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
;
31440 wxWindow
*arg1
= (wxWindow
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 char *kwnames
[] = {
31444 (char *) "self", NULL
31447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31449 if (SWIG_arg_fail(1)) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= (bool)(arg1
)->PageDown();
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31466 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
;
31468 wxWindow
*arg1
= (wxWindow
*) 0 ;
31469 wxString
*arg2
= 0 ;
31470 bool temp2
= false ;
31471 PyObject
* obj0
= 0 ;
31472 PyObject
* obj1
= 0 ;
31473 char *kwnames
[] = {
31474 (char *) "self",(char *) "text", NULL
31477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31479 if (SWIG_arg_fail(1)) SWIG_fail
;
31481 arg2
= wxString_in_helper(obj1
);
31482 if (arg2
== NULL
) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 Py_INCREF(Py_None
); resultobj
= Py_None
;
31507 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
;
31509 wxWindow
*arg1
= (wxWindow
*) 0 ;
31510 wxString
*arg2
= 0 ;
31511 bool temp2
= false ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 char *kwnames
[] = {
31515 (char *) "self",(char *) "text", NULL
31518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31520 if (SWIG_arg_fail(1)) SWIG_fail
;
31522 arg2
= wxString_in_helper(obj1
);
31523 if (arg2
== NULL
) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31533 Py_INCREF(Py_None
); resultobj
= Py_None
;
31548 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31549 PyObject
*resultobj
;
31550 wxWindow
*arg1
= (wxWindow
*) 0 ;
31552 PyObject
* obj0
= 0 ;
31553 char *kwnames
[] = {
31554 (char *) "self", NULL
31557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31559 if (SWIG_arg_fail(1)) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31580 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
;
31582 wxWindow
*arg1
= (wxWindow
*) 0 ;
31583 wxString
*arg2
= 0 ;
31584 bool temp2
= false ;
31585 PyObject
* obj0
= 0 ;
31586 PyObject
* obj1
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self",(char *) "tip", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail
;
31595 arg2
= wxString_in_helper(obj1
);
31596 if (arg2
== NULL
) SWIG_fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 Py_INCREF(Py_None
); resultobj
= Py_None
;
31621 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
;
31623 wxWindow
*arg1
= (wxWindow
*) 0 ;
31624 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self",(char *) "tip", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31633 if (SWIG_arg_fail(1)) SWIG_fail
;
31634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31635 if (SWIG_arg_fail(2)) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 (arg1
)->SetToolTip(arg2
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 Py_INCREF(Py_None
); resultobj
= Py_None
;
31650 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
;
31652 wxWindow
*arg1
= (wxWindow
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 char *kwnames
[] = {
31656 (char *) "self", NULL
31659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31661 if (SWIG_arg_fail(1)) SWIG_fail
;
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31666 wxPyEndAllowThreads(__tstate
);
31667 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= wxPyMake_wxObject(result
, 0);
31678 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
;
31680 wxWindow
*arg1
= (wxWindow
*) 0 ;
31681 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 char *kwnames
[] = {
31685 (char *) "self",(char *) "dropTarget", NULL
31688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31690 if (SWIG_arg_fail(1)) SWIG_fail
;
31691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31692 if (SWIG_arg_fail(2)) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 (arg1
)->SetDropTarget(arg2
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 Py_INCREF(Py_None
); resultobj
= Py_None
;
31707 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31708 PyObject
*resultobj
;
31709 wxWindow
*arg1
= (wxWindow
*) 0 ;
31710 wxPyDropTarget
*result
;
31711 PyObject
* obj0
= 0 ;
31712 char *kwnames
[] = {
31713 (char *) "self", NULL
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31718 if (SWIG_arg_fail(1)) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31733 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
;
31735 wxWindow
*arg1
= (wxWindow
*) 0 ;
31736 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31737 PyObject
* obj0
= 0 ;
31738 PyObject
* obj1
= 0 ;
31739 char *kwnames
[] = {
31740 (char *) "self",(char *) "constraints", NULL
31743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31745 if (SWIG_arg_fail(1)) SWIG_fail
;
31746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31747 if (SWIG_arg_fail(2)) SWIG_fail
;
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 (arg1
)->SetConstraints(arg2
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 Py_INCREF(Py_None
); resultobj
= Py_None
;
31762 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxWindow
*arg1
= (wxWindow
*) 0 ;
31765 wxLayoutConstraints
*result
;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31773 if (SWIG_arg_fail(1)) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31788 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
;
31790 wxWindow
*arg1
= (wxWindow
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "autoLayout", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31800 if (SWIG_arg_fail(1)) SWIG_fail
;
31802 arg2
= (bool)(SWIG_As_bool(obj1
));
31803 if (SWIG_arg_fail(2)) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->SetAutoLayout(arg2
);
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31819 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxWindow
*arg1
= (wxWindow
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31830 if (SWIG_arg_fail(1)) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31847 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxWindow
*arg1
= (wxWindow
*) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 char *kwnames
[] = {
31853 (char *) "self", NULL
31856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31858 if (SWIG_arg_fail(1)) SWIG_fail
;
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= (bool)(arg1
)->Layout();
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31875 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
;
31877 wxWindow
*arg1
= (wxWindow
*) 0 ;
31878 wxSizer
*arg2
= (wxSizer
*) 0 ;
31879 bool arg3
= (bool) true ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 PyObject
* obj2
= 0 ;
31883 char *kwnames
[] = {
31884 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31889 if (SWIG_arg_fail(1)) SWIG_fail
;
31890 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31891 if (SWIG_arg_fail(2)) SWIG_fail
;
31894 arg3
= (bool)(SWIG_As_bool(obj2
));
31895 if (SWIG_arg_fail(3)) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->SetSizer(arg2
,arg3
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxWindow
*arg1
= (wxWindow
*) 0 ;
31915 wxSizer
*arg2
= (wxSizer
*) 0 ;
31916 bool arg3
= (bool) true ;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 PyObject
* obj2
= 0 ;
31920 char *kwnames
[] = {
31921 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31926 if (SWIG_arg_fail(1)) SWIG_fail
;
31927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31928 if (SWIG_arg_fail(2)) SWIG_fail
;
31931 arg3
= (bool)(SWIG_As_bool(obj2
));
31932 if (SWIG_arg_fail(3)) SWIG_fail
;
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 Py_INCREF(Py_None
); resultobj
= Py_None
;
31949 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
;
31951 wxWindow
*arg1
= (wxWindow
*) 0 ;
31953 PyObject
* obj0
= 0 ;
31954 char *kwnames
[] = {
31955 (char *) "self", NULL
31958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31960 if (SWIG_arg_fail(1)) SWIG_fail
;
31962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31963 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31969 resultobj
= wxPyMake_wxSizer(result
, 0);
31977 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 wxWindow
*arg1
= (wxWindow
*) 0 ;
31980 wxSizer
*arg2
= (wxSizer
*) 0 ;
31981 PyObject
* obj0
= 0 ;
31982 PyObject
* obj1
= 0 ;
31983 char *kwnames
[] = {
31984 (char *) "self",(char *) "sizer", NULL
31987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31989 if (SWIG_arg_fail(1)) SWIG_fail
;
31990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31991 if (SWIG_arg_fail(2)) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 (arg1
)->SetContainingSizer(arg2
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 Py_INCREF(Py_None
); resultobj
= Py_None
;
32006 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxWindow
*arg1
= (wxWindow
*) 0 ;
32010 PyObject
* obj0
= 0 ;
32011 char *kwnames
[] = {
32012 (char *) "self", NULL
32015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32017 if (SWIG_arg_fail(1)) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= wxPyMake_wxSizer(result
, 0);
32034 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxWindow
*arg1
= (wxWindow
*) 0 ;
32037 PyObject
* obj0
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->InheritAttributes();
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32059 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32061 wxWindow
*arg1
= (wxWindow
*) 0 ;
32063 PyObject
* obj0
= 0 ;
32064 char *kwnames
[] = {
32065 (char *) "self", NULL
32068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32070 if (SWIG_arg_fail(1)) SWIG_fail
;
32072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32073 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32087 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32090 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32092 return Py_BuildValue((char *)"");
32094 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32097 wxWindow
*arg2
= (wxWindow
*) NULL
;
32099 PyObject
* obj0
= 0 ;
32100 PyObject
* obj1
= 0 ;
32101 char *kwnames
[] = {
32102 (char *) "id",(char *) "parent", NULL
32105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32107 arg1
= (long)(SWIG_As_long(obj0
));
32108 if (SWIG_arg_fail(1)) SWIG_fail
;
32111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32112 if (SWIG_arg_fail(2)) SWIG_fail
;
32115 if (!wxPyCheckForApp()) SWIG_fail
;
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32119 wxPyEndAllowThreads(__tstate
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= wxPyMake_wxObject(result
, 0);
32131 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
;
32133 wxString
*arg1
= 0 ;
32134 wxWindow
*arg2
= (wxWindow
*) NULL
;
32136 bool temp1
= false ;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 char *kwnames
[] = {
32140 (char *) "name",(char *) "parent", NULL
32143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32145 arg1
= wxString_in_helper(obj0
);
32146 if (arg1
== NULL
) SWIG_fail
;
32150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32151 if (SWIG_arg_fail(2)) SWIG_fail
;
32154 if (!wxPyCheckForApp()) SWIG_fail
;
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= wxPyMake_wxObject(result
, 0);
32178 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxString
*arg1
= 0 ;
32181 wxWindow
*arg2
= (wxWindow
*) NULL
;
32183 bool temp1
= false ;
32184 PyObject
* obj0
= 0 ;
32185 PyObject
* obj1
= 0 ;
32186 char *kwnames
[] = {
32187 (char *) "label",(char *) "parent", NULL
32190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32192 arg1
= wxString_in_helper(obj0
);
32193 if (arg1
== NULL
) SWIG_fail
;
32197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32198 if (SWIG_arg_fail(2)) SWIG_fail
;
32201 if (!wxPyCheckForApp()) SWIG_fail
;
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32209 resultobj
= wxPyMake_wxObject(result
, 0);
32225 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32226 PyObject
*resultobj
;
32227 wxWindow
*arg1
= (wxWindow
*) 0 ;
32228 unsigned long arg2
;
32230 PyObject
* obj0
= 0 ;
32231 PyObject
* obj1
= 0 ;
32232 char *kwnames
[] = {
32233 (char *) "parent",(char *) "_hWnd", NULL
32236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32238 if (SWIG_arg_fail(1)) SWIG_fail
;
32240 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32241 if (SWIG_arg_fail(2)) SWIG_fail
;
32244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32245 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= wxPyMake_wxObject(result
, 0);
32259 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
;
32262 char *kwnames
[] = {
32266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (PyObject
*)GetTopLevelWindows();
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= result
;
32281 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxValidator
*result
;
32284 char *kwnames
[] = {
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 result
= (wxValidator
*)new wxValidator();
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32303 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
;
32305 wxValidator
*arg1
= (wxValidator
*) 0 ;
32306 wxValidator
*result
;
32307 PyObject
* obj0
= 0 ;
32308 char *kwnames
[] = {
32309 (char *) "self", NULL
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32314 if (SWIG_arg_fail(1)) SWIG_fail
;
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= (wxValidator
*)(arg1
)->Clone();
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32323 resultobj
= wxPyMake_wxObject(result
, 0);
32331 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxValidator
*arg1
= (wxValidator
*) 0 ;
32334 wxWindow
*arg2
= (wxWindow
*) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char *kwnames
[] = {
32339 (char *) "self",(char *) "parent", NULL
32342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32344 if (SWIG_arg_fail(1)) SWIG_fail
;
32345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32346 if (SWIG_arg_fail(2)) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 result
= (bool)(arg1
)->Validate(arg2
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32363 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32364 PyObject
*resultobj
;
32365 wxValidator
*arg1
= (wxValidator
*) 0 ;
32367 PyObject
* obj0
= 0 ;
32368 char *kwnames
[] = {
32369 (char *) "self", NULL
32372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32374 if (SWIG_arg_fail(1)) SWIG_fail
;
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 result
= (bool)(arg1
)->TransferToWindow();
32379 wxPyEndAllowThreads(__tstate
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32391 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
;
32393 wxValidator
*arg1
= (wxValidator
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32402 if (SWIG_arg_fail(1)) SWIG_fail
;
32404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32405 result
= (bool)(arg1
)->TransferFromWindow();
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32419 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
;
32421 wxValidator
*arg1
= (wxValidator
*) 0 ;
32423 PyObject
* obj0
= 0 ;
32424 char *kwnames
[] = {
32425 (char *) "self", NULL
32428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32430 if (SWIG_arg_fail(1)) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (wxWindow
*)(arg1
)->GetWindow();
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= wxPyMake_wxObject(result
, 0);
32447 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxValidator
*arg1
= (wxValidator
*) 0 ;
32450 wxWindow
*arg2
= (wxWindow
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "window", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail
;
32460 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32461 if (SWIG_arg_fail(2)) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 (arg1
)->SetWindow(arg2
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 Py_INCREF(Py_None
); resultobj
= Py_None
;
32476 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32479 char *kwnames
[] = {
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (bool)wxValidator::IsSilent();
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32500 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32501 PyObject
*resultobj
;
32502 int arg1
= (int) true ;
32503 PyObject
* obj0
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "doIt", NULL
32508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32511 arg1
= (int)(SWIG_As_int(obj0
));
32512 if (SWIG_arg_fail(1)) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 wxValidator::SetBellOnError(arg1
);
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 Py_INCREF(Py_None
); resultobj
= Py_None
;
32529 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32532 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32534 return Py_BuildValue((char *)"");
32536 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxPyValidator
*result
;
32539 char *kwnames
[] = {
32543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 result
= (wxPyValidator
*)new wxPyValidator();
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32558 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
;
32560 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32561 PyObject
*arg2
= (PyObject
*) 0 ;
32562 PyObject
*arg3
= (PyObject
*) 0 ;
32563 int arg4
= (int) true ;
32564 PyObject
* obj0
= 0 ;
32565 PyObject
* obj1
= 0 ;
32566 PyObject
* obj2
= 0 ;
32567 PyObject
* obj3
= 0 ;
32568 char *kwnames
[] = {
32569 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32574 if (SWIG_arg_fail(1)) SWIG_fail
;
32579 arg4
= (int)(SWIG_As_int(obj3
));
32580 if (SWIG_arg_fail(4)) SWIG_fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 Py_INCREF(Py_None
); resultobj
= Py_None
;
32597 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32600 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32602 return Py_BuildValue((char *)"");
32604 static int _wrap_DefaultValidator_set(PyObject
*) {
32605 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32610 static PyObject
*_wrap_DefaultValidator_get(void) {
32613 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32618 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32619 PyObject
*resultobj
;
32620 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32621 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32622 long arg2
= (long) 0 ;
32624 bool temp1
= false ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 char *kwnames
[] = {
32628 (char *) "title",(char *) "style", NULL
32631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32634 arg1
= wxString_in_helper(obj0
);
32635 if (arg1
== NULL
) SWIG_fail
;
32641 arg2
= (long)(SWIG_As_long(obj1
));
32642 if (SWIG_arg_fail(2)) SWIG_fail
;
32646 if (!wxPyCheckForApp()) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32668 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32669 PyObject
*resultobj
;
32670 wxMenu
*arg1
= (wxMenu
*) 0 ;
32672 wxString
*arg3
= 0 ;
32673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32675 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32676 wxMenuItem
*result
;
32677 bool temp3
= false ;
32678 bool temp4
= false ;
32679 PyObject
* obj0
= 0 ;
32680 PyObject
* obj1
= 0 ;
32681 PyObject
* obj2
= 0 ;
32682 PyObject
* obj3
= 0 ;
32683 PyObject
* obj4
= 0 ;
32684 char *kwnames
[] = {
32685 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32690 if (SWIG_arg_fail(1)) SWIG_fail
;
32692 arg2
= (int)(SWIG_As_int(obj1
));
32693 if (SWIG_arg_fail(2)) SWIG_fail
;
32696 arg3
= wxString_in_helper(obj2
);
32697 if (arg3
== NULL
) SWIG_fail
;
32702 arg4
= wxString_in_helper(obj3
);
32703 if (arg4
== NULL
) SWIG_fail
;
32709 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32710 if (SWIG_arg_fail(5)) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= wxPyMake_wxObject(result
, 0);
32745 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxMenu
*arg1
= (wxMenu
*) 0 ;
32748 wxMenuItem
*result
;
32749 PyObject
* obj0
= 0 ;
32750 char *kwnames
[] = {
32751 (char *) "self", NULL
32754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32756 if (SWIG_arg_fail(1)) SWIG_fail
;
32758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32759 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= wxPyMake_wxObject(result
, 0);
32773 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
;
32775 wxMenu
*arg1
= (wxMenu
*) 0 ;
32777 wxString
*arg3
= 0 ;
32778 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32780 wxMenuItem
*result
;
32781 bool temp3
= false ;
32782 bool temp4
= false ;
32783 PyObject
* obj0
= 0 ;
32784 PyObject
* obj1
= 0 ;
32785 PyObject
* obj2
= 0 ;
32786 PyObject
* obj3
= 0 ;
32787 char *kwnames
[] = {
32788 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32793 if (SWIG_arg_fail(1)) SWIG_fail
;
32795 arg2
= (int)(SWIG_As_int(obj1
));
32796 if (SWIG_arg_fail(2)) SWIG_fail
;
32799 arg3
= wxString_in_helper(obj2
);
32800 if (arg3
== NULL
) SWIG_fail
;
32805 arg4
= wxString_in_helper(obj3
);
32806 if (arg4
== NULL
) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= wxPyMake_wxObject(result
, 0);
32842 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
;
32844 wxMenu
*arg1
= (wxMenu
*) 0 ;
32846 wxString
*arg3
= 0 ;
32847 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32848 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32849 wxMenuItem
*result
;
32850 bool temp3
= false ;
32851 bool temp4
= false ;
32852 PyObject
* obj0
= 0 ;
32853 PyObject
* obj1
= 0 ;
32854 PyObject
* obj2
= 0 ;
32855 PyObject
* obj3
= 0 ;
32856 char *kwnames
[] = {
32857 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32862 if (SWIG_arg_fail(1)) SWIG_fail
;
32864 arg2
= (int)(SWIG_As_int(obj1
));
32865 if (SWIG_arg_fail(2)) SWIG_fail
;
32868 arg3
= wxString_in_helper(obj2
);
32869 if (arg3
== NULL
) SWIG_fail
;
32874 arg4
= wxString_in_helper(obj3
);
32875 if (arg4
== NULL
) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= wxPyMake_wxObject(result
, 0);
32911 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxMenu
*arg1
= (wxMenu
*) 0 ;
32915 wxString
*arg3
= 0 ;
32916 wxMenu
*arg4
= (wxMenu
*) 0 ;
32917 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32918 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32919 wxMenuItem
*result
;
32920 bool temp3
= false ;
32921 bool temp5
= false ;
32922 PyObject
* obj0
= 0 ;
32923 PyObject
* obj1
= 0 ;
32924 PyObject
* obj2
= 0 ;
32925 PyObject
* obj3
= 0 ;
32926 PyObject
* obj4
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32933 if (SWIG_arg_fail(1)) SWIG_fail
;
32935 arg2
= (int)(SWIG_As_int(obj1
));
32936 if (SWIG_arg_fail(2)) SWIG_fail
;
32939 arg3
= wxString_in_helper(obj2
);
32940 if (arg3
== NULL
) SWIG_fail
;
32943 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32944 if (SWIG_arg_fail(4)) SWIG_fail
;
32947 arg5
= wxString_in_helper(obj4
);
32948 if (arg5
== NULL
) SWIG_fail
;
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= wxPyMake_wxObject(result
, 0);
32984 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32985 PyObject
*resultobj
;
32986 wxMenu
*arg1
= (wxMenu
*) 0 ;
32987 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32988 wxMenuItem
*result
;
32989 PyObject
* obj0
= 0 ;
32990 PyObject
* obj1
= 0 ;
32991 char *kwnames
[] = {
32992 (char *) "self",(char *) "item", NULL
32995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32997 if (SWIG_arg_fail(1)) SWIG_fail
;
32998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32999 if (SWIG_arg_fail(2)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33008 resultobj
= wxPyMake_wxObject(result
, 0);
33016 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
;
33018 wxMenu
*arg1
= (wxMenu
*) 0 ;
33019 PyObject
* obj0
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "self", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33026 if (SWIG_arg_fail(1)) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 Py_INCREF(Py_None
); resultobj
= Py_None
;
33041 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33042 PyObject
*resultobj
;
33043 wxMenu
*arg1
= (wxMenu
*) 0 ;
33045 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33046 wxMenuItem
*result
;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 PyObject
* obj2
= 0 ;
33050 char *kwnames
[] = {
33051 (char *) "self",(char *) "pos",(char *) "item", NULL
33054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33056 if (SWIG_arg_fail(1)) SWIG_fail
;
33058 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33059 if (SWIG_arg_fail(2)) SWIG_fail
;
33061 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(3)) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= wxPyMake_wxObject(result
, 0);
33079 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
;
33081 wxMenu
*arg1
= (wxMenu
*) 0 ;
33084 wxString
*arg4
= 0 ;
33085 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33086 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33087 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33088 wxMenuItem
*result
;
33089 bool temp4
= false ;
33090 bool temp5
= false ;
33091 PyObject
* obj0
= 0 ;
33092 PyObject
* obj1
= 0 ;
33093 PyObject
* obj2
= 0 ;
33094 PyObject
* obj3
= 0 ;
33095 PyObject
* obj4
= 0 ;
33096 PyObject
* obj5
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail
;
33105 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33106 if (SWIG_arg_fail(2)) SWIG_fail
;
33109 arg3
= (int)(SWIG_As_int(obj2
));
33110 if (SWIG_arg_fail(3)) SWIG_fail
;
33113 arg4
= wxString_in_helper(obj3
);
33114 if (arg4
== NULL
) SWIG_fail
;
33119 arg5
= wxString_in_helper(obj4
);
33120 if (arg5
== NULL
) SWIG_fail
;
33126 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33127 if (SWIG_arg_fail(6)) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= wxPyMake_wxObject(result
, 0);
33162 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
;
33164 wxMenu
*arg1
= (wxMenu
*) 0 ;
33166 wxMenuItem
*result
;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 char *kwnames
[] = {
33170 (char *) "self",(char *) "pos", NULL
33173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33175 if (SWIG_arg_fail(1)) SWIG_fail
;
33177 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33178 if (SWIG_arg_fail(2)) SWIG_fail
;
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= wxPyMake_wxObject(result
, 0);
33196 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33197 PyObject
*resultobj
;
33198 wxMenu
*arg1
= (wxMenu
*) 0 ;
33201 wxString
*arg4
= 0 ;
33202 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33203 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33204 wxMenuItem
*result
;
33205 bool temp4
= false ;
33206 bool temp5
= false ;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 PyObject
* obj2
= 0 ;
33210 PyObject
* obj3
= 0 ;
33211 PyObject
* obj4
= 0 ;
33212 char *kwnames
[] = {
33213 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33218 if (SWIG_arg_fail(1)) SWIG_fail
;
33220 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33221 if (SWIG_arg_fail(2)) SWIG_fail
;
33224 arg3
= (int)(SWIG_As_int(obj2
));
33225 if (SWIG_arg_fail(3)) SWIG_fail
;
33228 arg4
= wxString_in_helper(obj3
);
33229 if (arg4
== NULL
) SWIG_fail
;
33234 arg5
= wxString_in_helper(obj4
);
33235 if (arg5
== NULL
) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= wxPyMake_wxObject(result
, 0);
33271 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
;
33273 wxMenu
*arg1
= (wxMenu
*) 0 ;
33276 wxString
*arg4
= 0 ;
33277 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33278 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33279 wxMenuItem
*result
;
33280 bool temp4
= false ;
33281 bool temp5
= false ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 PyObject
* obj2
= 0 ;
33285 PyObject
* obj3
= 0 ;
33286 PyObject
* obj4
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33296 if (SWIG_arg_fail(2)) SWIG_fail
;
33299 arg3
= (int)(SWIG_As_int(obj2
));
33300 if (SWIG_arg_fail(3)) SWIG_fail
;
33303 arg4
= wxString_in_helper(obj3
);
33304 if (arg4
== NULL
) SWIG_fail
;
33309 arg5
= wxString_in_helper(obj4
);
33310 if (arg5
== NULL
) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= wxPyMake_wxObject(result
, 0);
33346 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33347 PyObject
*resultobj
;
33348 wxMenu
*arg1
= (wxMenu
*) 0 ;
33351 wxString
*arg4
= 0 ;
33352 wxMenu
*arg5
= (wxMenu
*) 0 ;
33353 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33354 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33355 wxMenuItem
*result
;
33356 bool temp4
= false ;
33357 bool temp6
= false ;
33358 PyObject
* obj0
= 0 ;
33359 PyObject
* obj1
= 0 ;
33360 PyObject
* obj2
= 0 ;
33361 PyObject
* obj3
= 0 ;
33362 PyObject
* obj4
= 0 ;
33363 PyObject
* obj5
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33370 if (SWIG_arg_fail(1)) SWIG_fail
;
33372 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33373 if (SWIG_arg_fail(2)) SWIG_fail
;
33376 arg3
= (int)(SWIG_As_int(obj2
));
33377 if (SWIG_arg_fail(3)) SWIG_fail
;
33380 arg4
= wxString_in_helper(obj3
);
33381 if (arg4
== NULL
) SWIG_fail
;
33384 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33385 if (SWIG_arg_fail(5)) SWIG_fail
;
33388 arg6
= wxString_in_helper(obj5
);
33389 if (arg6
== NULL
) SWIG_fail
;
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= wxPyMake_wxObject(result
, 0);
33425 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
;
33427 wxMenu
*arg1
= (wxMenu
*) 0 ;
33428 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33429 wxMenuItem
*result
;
33430 PyObject
* obj0
= 0 ;
33431 PyObject
* obj1
= 0 ;
33432 char *kwnames
[] = {
33433 (char *) "self",(char *) "item", NULL
33436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail
;
33439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33440 if (SWIG_arg_fail(2)) SWIG_fail
;
33442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= wxPyMake_wxObject(result
, 0);
33457 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
;
33459 wxMenu
*arg1
= (wxMenu
*) 0 ;
33461 wxString
*arg3
= 0 ;
33462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33464 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33465 wxMenuItem
*result
;
33466 bool temp3
= false ;
33467 bool temp4
= false ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 PyObject
* obj2
= 0 ;
33471 PyObject
* obj3
= 0 ;
33472 PyObject
* obj4
= 0 ;
33473 char *kwnames
[] = {
33474 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33479 if (SWIG_arg_fail(1)) SWIG_fail
;
33481 arg2
= (int)(SWIG_As_int(obj1
));
33482 if (SWIG_arg_fail(2)) SWIG_fail
;
33485 arg3
= wxString_in_helper(obj2
);
33486 if (arg3
== NULL
) SWIG_fail
;
33491 arg4
= wxString_in_helper(obj3
);
33492 if (arg4
== NULL
) SWIG_fail
;
33498 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33499 if (SWIG_arg_fail(5)) SWIG_fail
;
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= wxPyMake_wxObject(result
, 0);
33534 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33535 PyObject
*resultobj
;
33536 wxMenu
*arg1
= (wxMenu
*) 0 ;
33537 wxMenuItem
*result
;
33538 PyObject
* obj0
= 0 ;
33539 char *kwnames
[] = {
33540 (char *) "self", NULL
33543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33545 if (SWIG_arg_fail(1)) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33554 resultobj
= wxPyMake_wxObject(result
, 0);
33562 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxMenu
*arg1
= (wxMenu
*) 0 ;
33566 wxString
*arg3
= 0 ;
33567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33569 wxMenuItem
*result
;
33570 bool temp3
= false ;
33571 bool temp4
= false ;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 PyObject
* obj2
= 0 ;
33575 PyObject
* obj3
= 0 ;
33576 char *kwnames
[] = {
33577 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33582 if (SWIG_arg_fail(1)) SWIG_fail
;
33584 arg2
= (int)(SWIG_As_int(obj1
));
33585 if (SWIG_arg_fail(2)) SWIG_fail
;
33588 arg3
= wxString_in_helper(obj2
);
33589 if (arg3
== NULL
) SWIG_fail
;
33594 arg4
= wxString_in_helper(obj3
);
33595 if (arg4
== NULL
) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= wxPyMake_wxObject(result
, 0);
33631 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33632 PyObject
*resultobj
;
33633 wxMenu
*arg1
= (wxMenu
*) 0 ;
33635 wxString
*arg3
= 0 ;
33636 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33637 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33638 wxMenuItem
*result
;
33639 bool temp3
= false ;
33640 bool temp4
= false ;
33641 PyObject
* obj0
= 0 ;
33642 PyObject
* obj1
= 0 ;
33643 PyObject
* obj2
= 0 ;
33644 PyObject
* obj3
= 0 ;
33645 char *kwnames
[] = {
33646 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33651 if (SWIG_arg_fail(1)) SWIG_fail
;
33653 arg2
= (int)(SWIG_As_int(obj1
));
33654 if (SWIG_arg_fail(2)) SWIG_fail
;
33657 arg3
= wxString_in_helper(obj2
);
33658 if (arg3
== NULL
) SWIG_fail
;
33663 arg4
= wxString_in_helper(obj3
);
33664 if (arg4
== NULL
) SWIG_fail
;
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33672 wxPyEndAllowThreads(__tstate
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33676 resultobj
= wxPyMake_wxObject(result
, 0);
33700 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33701 PyObject
*resultobj
;
33702 wxMenu
*arg1
= (wxMenu
*) 0 ;
33704 wxString
*arg3
= 0 ;
33705 wxMenu
*arg4
= (wxMenu
*) 0 ;
33706 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33707 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33708 wxMenuItem
*result
;
33709 bool temp3
= false ;
33710 bool temp5
= false ;
33711 PyObject
* obj0
= 0 ;
33712 PyObject
* obj1
= 0 ;
33713 PyObject
* obj2
= 0 ;
33714 PyObject
* obj3
= 0 ;
33715 PyObject
* obj4
= 0 ;
33716 char *kwnames
[] = {
33717 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33722 if (SWIG_arg_fail(1)) SWIG_fail
;
33724 arg2
= (int)(SWIG_As_int(obj1
));
33725 if (SWIG_arg_fail(2)) SWIG_fail
;
33728 arg3
= wxString_in_helper(obj2
);
33729 if (arg3
== NULL
) SWIG_fail
;
33732 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33733 if (SWIG_arg_fail(4)) SWIG_fail
;
33736 arg5
= wxString_in_helper(obj4
);
33737 if (arg5
== NULL
) SWIG_fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= wxPyMake_wxObject(result
, 0);
33773 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxMenu
*arg1
= (wxMenu
*) 0 ;
33777 wxMenuItem
*result
;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 char *kwnames
[] = {
33781 (char *) "self",(char *) "id", NULL
33784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33786 if (SWIG_arg_fail(1)) SWIG_fail
;
33788 arg2
= (int)(SWIG_As_int(obj1
));
33789 if (SWIG_arg_fail(2)) SWIG_fail
;
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33799 resultobj
= wxPyMake_wxObject(result
, 0);
33807 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33808 PyObject
*resultobj
;
33809 wxMenu
*arg1
= (wxMenu
*) 0 ;
33810 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33811 wxMenuItem
*result
;
33812 PyObject
* obj0
= 0 ;
33813 PyObject
* obj1
= 0 ;
33814 char *kwnames
[] = {
33815 (char *) "self",(char *) "item", NULL
33818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33820 if (SWIG_arg_fail(1)) SWIG_fail
;
33821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33822 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= wxPyMake_wxObject(result
, 0);
33839 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33840 PyObject
*resultobj
;
33841 wxMenu
*arg1
= (wxMenu
*) 0 ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self",(char *) "id", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33852 if (SWIG_arg_fail(1)) SWIG_fail
;
33854 arg2
= (int)(SWIG_As_int(obj1
));
33855 if (SWIG_arg_fail(2)) SWIG_fail
;
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 result
= (bool)(arg1
)->Delete(arg2
);
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33873 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
;
33875 wxMenu
*arg1
= (wxMenu
*) 0 ;
33876 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 char *kwnames
[] = {
33881 (char *) "self",(char *) "item", NULL
33884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail
;
33887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33888 if (SWIG_arg_fail(2)) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= (bool)(arg1
)->Delete(arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33905 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
;
33907 wxMenu
*arg1
= (wxMenu
*) 0 ;
33908 PyObject
* obj0
= 0 ;
33909 char *kwnames
[] = {
33910 (char *) "self", NULL
33913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33915 if (SWIG_arg_fail(1)) SWIG_fail
;
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 wxMenu_Destroy(arg1
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 Py_INCREF(Py_None
); resultobj
= Py_None
;
33930 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33931 PyObject
*resultobj
;
33932 wxMenu
*arg1
= (wxMenu
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 char *kwnames
[] = {
33938 (char *) "self",(char *) "id", NULL
33941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33943 if (SWIG_arg_fail(1)) SWIG_fail
;
33945 arg2
= (int)(SWIG_As_int(obj1
));
33946 if (SWIG_arg_fail(2)) SWIG_fail
;
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33950 result
= (bool)(arg1
)->Destroy(arg2
);
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33964 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
;
33966 wxMenu
*arg1
= (wxMenu
*) 0 ;
33967 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33969 PyObject
* obj0
= 0 ;
33970 PyObject
* obj1
= 0 ;
33971 char *kwnames
[] = {
33972 (char *) "self",(char *) "item", NULL
33975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33977 if (SWIG_arg_fail(1)) SWIG_fail
;
33978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33979 if (SWIG_arg_fail(2)) SWIG_fail
;
33981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33982 result
= (bool)(arg1
)->Destroy(arg2
);
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33996 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33997 PyObject
*resultobj
;
33998 wxMenu
*arg1
= (wxMenu
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 char *kwnames
[] = {
34002 (char *) "self", NULL
34005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34007 if (SWIG_arg_fail(1)) SWIG_fail
;
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34012 wxPyEndAllowThreads(__tstate
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34024 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
;
34026 wxMenu
*arg1
= (wxMenu
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(1)) SWIG_fail
;
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34038 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34040 wxPyEndAllowThreads(__tstate
);
34041 if (PyErr_Occurred()) SWIG_fail
;
34043 resultobj
= result
;
34050 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34051 PyObject
*resultobj
;
34052 wxMenu
*arg1
= (wxMenu
*) 0 ;
34053 wxString
*arg2
= 0 ;
34055 bool temp2
= false ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char *kwnames
[] = {
34059 (char *) "self",(char *) "item", NULL
34062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34064 if (SWIG_arg_fail(1)) SWIG_fail
;
34066 arg2
= wxString_in_helper(obj1
);
34067 if (arg2
== NULL
) SWIG_fail
;
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= SWIG_From_int((int)(result
));
34094 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34095 PyObject
*resultobj
;
34096 wxMenu
*arg1
= (wxMenu
*) 0 ;
34098 wxMenuItem
*result
;
34099 PyObject
* obj0
= 0 ;
34100 PyObject
* obj1
= 0 ;
34101 char *kwnames
[] = {
34102 (char *) "self",(char *) "id", NULL
34105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34107 if (SWIG_arg_fail(1)) SWIG_fail
;
34109 arg2
= (int)(SWIG_As_int(obj1
));
34110 if (SWIG_arg_fail(2)) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= wxPyMake_wxObject(result
, 0);
34128 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxMenu
*arg1
= (wxMenu
*) 0 ;
34132 wxMenuItem
*result
;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 char *kwnames
[] = {
34136 (char *) "self",(char *) "position", NULL
34139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34141 if (SWIG_arg_fail(1)) SWIG_fail
;
34143 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34144 if (SWIG_arg_fail(2)) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= wxPyMake_wxObject(result
, 0);
34162 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34163 PyObject
*resultobj
;
34164 wxMenu
*arg1
= (wxMenu
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 PyObject
* obj2
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self",(char *) "id",(char *) "enable", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(1)) SWIG_fail
;
34178 arg2
= (int)(SWIG_As_int(obj1
));
34179 if (SWIG_arg_fail(2)) SWIG_fail
;
34182 arg3
= (bool)(SWIG_As_bool(obj2
));
34183 if (SWIG_arg_fail(3)) SWIG_fail
;
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 (arg1
)->Enable(arg2
,arg3
);
34189 wxPyEndAllowThreads(__tstate
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34192 Py_INCREF(Py_None
); resultobj
= Py_None
;
34199 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxMenu
*arg1
= (wxMenu
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self",(char *) "id", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34212 if (SWIG_arg_fail(1)) SWIG_fail
;
34214 arg2
= (int)(SWIG_As_int(obj1
));
34215 if (SWIG_arg_fail(2)) SWIG_fail
;
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34233 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxMenu
*arg1
= (wxMenu
*) 0 ;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 PyObject
* obj2
= 0 ;
34241 char *kwnames
[] = {
34242 (char *) "self",(char *) "id",(char *) "check", NULL
34245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34247 if (SWIG_arg_fail(1)) SWIG_fail
;
34249 arg2
= (int)(SWIG_As_int(obj1
));
34250 if (SWIG_arg_fail(2)) SWIG_fail
;
34253 arg3
= (bool)(SWIG_As_bool(obj2
));
34254 if (SWIG_arg_fail(3)) SWIG_fail
;
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 (arg1
)->Check(arg2
,arg3
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 Py_INCREF(Py_None
); resultobj
= Py_None
;
34270 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxMenu
*arg1
= (wxMenu
*) 0 ;
34275 PyObject
* obj0
= 0 ;
34276 PyObject
* obj1
= 0 ;
34277 char *kwnames
[] = {
34278 (char *) "self",(char *) "id", NULL
34281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34283 if (SWIG_arg_fail(1)) SWIG_fail
;
34285 arg2
= (int)(SWIG_As_int(obj1
));
34286 if (SWIG_arg_fail(2)) SWIG_fail
;
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34304 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34305 PyObject
*resultobj
;
34306 wxMenu
*arg1
= (wxMenu
*) 0 ;
34308 wxString
*arg3
= 0 ;
34309 bool temp3
= false ;
34310 PyObject
* obj0
= 0 ;
34311 PyObject
* obj1
= 0 ;
34312 PyObject
* obj2
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "self",(char *) "id",(char *) "label", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34319 if (SWIG_arg_fail(1)) SWIG_fail
;
34321 arg2
= (int)(SWIG_As_int(obj1
));
34322 if (SWIG_arg_fail(2)) SWIG_fail
;
34325 arg3
= wxString_in_helper(obj2
);
34326 if (arg3
== NULL
) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34333 wxPyEndAllowThreads(__tstate
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 Py_INCREF(Py_None
); resultobj
= Py_None
;
34351 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34352 PyObject
*resultobj
;
34353 wxMenu
*arg1
= (wxMenu
*) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 char *kwnames
[] = {
34359 (char *) "self",(char *) "id", NULL
34362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34364 if (SWIG_arg_fail(1)) SWIG_fail
;
34366 arg2
= (int)(SWIG_As_int(obj1
));
34367 if (SWIG_arg_fail(2)) SWIG_fail
;
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34389 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34390 PyObject
*resultobj
;
34391 wxMenu
*arg1
= (wxMenu
*) 0 ;
34393 wxString
*arg3
= 0 ;
34394 bool temp3
= false ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 PyObject
* obj2
= 0 ;
34398 char *kwnames
[] = {
34399 (char *) "self",(char *) "id",(char *) "helpString", NULL
34402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34404 if (SWIG_arg_fail(1)) SWIG_fail
;
34406 arg2
= (int)(SWIG_As_int(obj1
));
34407 if (SWIG_arg_fail(2)) SWIG_fail
;
34410 arg3
= wxString_in_helper(obj2
);
34411 if (arg3
== NULL
) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 Py_INCREF(Py_None
); resultobj
= Py_None
;
34436 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
;
34438 wxMenu
*arg1
= (wxMenu
*) 0 ;
34441 PyObject
* obj0
= 0 ;
34442 PyObject
* obj1
= 0 ;
34443 char *kwnames
[] = {
34444 (char *) "self",(char *) "id", NULL
34447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34449 if (SWIG_arg_fail(1)) SWIG_fail
;
34451 arg2
= (int)(SWIG_As_int(obj1
));
34452 if (SWIG_arg_fail(2)) SWIG_fail
;
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34474 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
;
34476 wxMenu
*arg1
= (wxMenu
*) 0 ;
34477 wxString
*arg2
= 0 ;
34478 bool temp2
= false ;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self",(char *) "title", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail
;
34489 arg2
= wxString_in_helper(obj1
);
34490 if (arg2
== NULL
) SWIG_fail
;
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 (arg1
)->SetTitle((wxString
const &)*arg2
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 Py_INCREF(Py_None
); resultobj
= Py_None
;
34515 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34516 PyObject
*resultobj
;
34517 wxMenu
*arg1
= (wxMenu
*) 0 ;
34519 PyObject
* obj0
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34526 if (SWIG_arg_fail(1)) SWIG_fail
;
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 result
= ((wxMenu
const *)arg1
)->GetTitle();
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34547 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34548 PyObject
*resultobj
;
34549 wxMenu
*arg1
= (wxMenu
*) 0 ;
34550 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 char *kwnames
[] = {
34554 (char *) "self",(char *) "handler", NULL
34557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34559 if (SWIG_arg_fail(1)) SWIG_fail
;
34560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34561 if (SWIG_arg_fail(2)) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 (arg1
)->SetEventHandler(arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 Py_INCREF(Py_None
); resultobj
= Py_None
;
34576 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
;
34578 wxMenu
*arg1
= (wxMenu
*) 0 ;
34579 wxEvtHandler
*result
;
34580 PyObject
* obj0
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= wxPyMake_wxObject(result
, 0);
34604 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
;
34606 wxMenu
*arg1
= (wxMenu
*) 0 ;
34607 wxWindow
*arg2
= (wxWindow
*) 0 ;
34608 PyObject
* obj0
= 0 ;
34609 PyObject
* obj1
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self",(char *) "win", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34616 if (SWIG_arg_fail(1)) SWIG_fail
;
34617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34618 if (SWIG_arg_fail(2)) SWIG_fail
;
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 (arg1
)->SetInvokingWindow(arg2
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 Py_INCREF(Py_None
); resultobj
= Py_None
;
34633 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
;
34635 wxMenu
*arg1
= (wxMenu
*) 0 ;
34637 PyObject
* obj0
= 0 ;
34638 char *kwnames
[] = {
34639 (char *) "self", NULL
34642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34644 if (SWIG_arg_fail(1)) SWIG_fail
;
34646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34647 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34653 resultobj
= wxPyMake_wxObject(result
, 0);
34661 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34662 PyObject
*resultobj
;
34663 wxMenu
*arg1
= (wxMenu
*) 0 ;
34665 PyObject
* obj0
= 0 ;
34666 char *kwnames
[] = {
34667 (char *) "self", NULL
34670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34672 if (SWIG_arg_fail(1)) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_From_long((long)(result
));
34689 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
;
34691 wxMenu
*arg1
= (wxMenu
*) 0 ;
34692 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34693 PyObject
* obj0
= 0 ;
34694 PyObject
* obj1
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self",(char *) "source", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34701 if (SWIG_arg_fail(1)) SWIG_fail
;
34703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34704 if (SWIG_arg_fail(2)) SWIG_fail
;
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 (arg1
)->UpdateUI(arg2
);
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 Py_INCREF(Py_None
); resultobj
= Py_None
;
34720 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
;
34722 wxMenu
*arg1
= (wxMenu
*) 0 ;
34724 PyObject
* obj0
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "self", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail
;
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34740 resultobj
= wxPyMake_wxObject(result
, 0);
34748 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxMenu
*arg1
= (wxMenu
*) 0 ;
34751 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "menubar", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(2)) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->Attach(arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxMenu
*arg1
= (wxMenu
*) 0 ;
34780 PyObject
* obj0
= 0 ;
34781 char *kwnames
[] = {
34782 (char *) "self", NULL
34785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34787 if (SWIG_arg_fail(1)) SWIG_fail
;
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34795 Py_INCREF(Py_None
); resultobj
= Py_None
;
34802 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
;
34804 wxMenu
*arg1
= (wxMenu
*) 0 ;
34806 PyObject
* obj0
= 0 ;
34807 char *kwnames
[] = {
34808 (char *) "self", NULL
34811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34813 if (SWIG_arg_fail(1)) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34830 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
;
34832 wxMenu
*arg1
= (wxMenu
*) 0 ;
34833 wxMenu
*arg2
= (wxMenu
*) 0 ;
34834 PyObject
* obj0
= 0 ;
34835 PyObject
* obj1
= 0 ;
34836 char *kwnames
[] = {
34837 (char *) "self",(char *) "parent", NULL
34840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34842 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34844 if (SWIG_arg_fail(2)) SWIG_fail
;
34846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34847 (arg1
)->SetParent(arg2
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 Py_INCREF(Py_None
); resultobj
= Py_None
;
34859 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
;
34861 wxMenu
*arg1
= (wxMenu
*) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 char *kwnames
[] = {
34865 (char *) "self", NULL
34868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34870 if (SWIG_arg_fail(1)) SWIG_fail
;
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34873 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34879 resultobj
= wxPyMake_wxObject(result
, 0);
34887 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34890 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34892 return Py_BuildValue((char *)"");
34894 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
;
34896 long arg1
= (long) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 char *kwnames
[] = {
34900 (char *) "style", NULL
34903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34906 arg1
= (long)(SWIG_As_long(obj0
));
34907 if (SWIG_arg_fail(1)) SWIG_fail
;
34911 if (!wxPyCheckForApp()) SWIG_fail
;
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34925 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34926 PyObject
*resultobj
;
34927 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34928 wxMenu
*arg2
= (wxMenu
*) 0 ;
34929 wxString
*arg3
= 0 ;
34931 bool temp3
= false ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 PyObject
* obj2
= 0 ;
34935 char *kwnames
[] = {
34936 (char *) "self",(char *) "menu",(char *) "title", NULL
34939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34941 if (SWIG_arg_fail(1)) SWIG_fail
;
34942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34943 if (SWIG_arg_fail(2)) SWIG_fail
;
34945 arg3
= wxString_in_helper(obj2
);
34946 if (arg3
== NULL
) SWIG_fail
;
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34973 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34974 PyObject
*resultobj
;
34975 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34977 wxMenu
*arg3
= (wxMenu
*) 0 ;
34978 wxString
*arg4
= 0 ;
34980 bool temp4
= false ;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 PyObject
* obj2
= 0 ;
34984 PyObject
* obj3
= 0 ;
34985 char *kwnames
[] = {
34986 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34991 if (SWIG_arg_fail(1)) SWIG_fail
;
34993 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34994 if (SWIG_arg_fail(2)) SWIG_fail
;
34996 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34997 if (SWIG_arg_fail(3)) SWIG_fail
;
34999 arg4
= wxString_in_helper(obj3
);
35000 if (arg4
== NULL
) SWIG_fail
;
35004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35007 wxPyEndAllowThreads(__tstate
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35027 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35028 PyObject
*resultobj
;
35029 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35031 PyObject
* obj0
= 0 ;
35032 char *kwnames
[] = {
35033 (char *) "self", NULL
35036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35038 if (SWIG_arg_fail(1)) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35055 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35056 PyObject
*resultobj
;
35057 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35060 PyObject
* obj0
= 0 ;
35061 PyObject
* obj1
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self",(char *) "pos", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35068 if (SWIG_arg_fail(1)) SWIG_fail
;
35070 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35071 if (SWIG_arg_fail(2)) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= wxPyMake_wxObject(result
, 0);
35089 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
;
35091 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35093 wxMenu
*arg3
= (wxMenu
*) 0 ;
35094 wxString
*arg4
= 0 ;
35096 bool temp4
= false ;
35097 PyObject
* obj0
= 0 ;
35098 PyObject
* obj1
= 0 ;
35099 PyObject
* obj2
= 0 ;
35100 PyObject
* obj3
= 0 ;
35101 char *kwnames
[] = {
35102 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35107 if (SWIG_arg_fail(1)) SWIG_fail
;
35109 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35110 if (SWIG_arg_fail(2)) SWIG_fail
;
35112 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35113 if (SWIG_arg_fail(3)) SWIG_fail
;
35115 arg4
= wxString_in_helper(obj3
);
35116 if (arg4
== NULL
) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= wxPyMake_wxObject(result
, 0);
35143 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
;
35145 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35148 PyObject
* obj0
= 0 ;
35149 PyObject
* obj1
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "pos", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35156 if (SWIG_arg_fail(1)) SWIG_fail
;
35158 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35159 if (SWIG_arg_fail(2)) SWIG_fail
;
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= wxPyMake_wxObject(result
, 0);
35177 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
;
35179 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 PyObject
* obj2
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self",(char *) "pos",(char *) "enable", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35191 if (SWIG_arg_fail(1)) SWIG_fail
;
35193 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35194 if (SWIG_arg_fail(2)) SWIG_fail
;
35197 arg3
= (bool)(SWIG_As_bool(obj2
));
35198 if (SWIG_arg_fail(3)) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->EnableTop(arg2
,arg3
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 Py_INCREF(Py_None
); resultobj
= Py_None
;
35214 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
;
35216 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35219 PyObject
* obj0
= 0 ;
35220 PyObject
* obj1
= 0 ;
35221 char *kwnames
[] = {
35222 (char *) "self",(char *) "pos", NULL
35225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35227 if (SWIG_arg_fail(1)) SWIG_fail
;
35229 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35230 if (SWIG_arg_fail(2)) SWIG_fail
;
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35248 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35249 PyObject
*resultobj
;
35250 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35252 wxString
*arg3
= 0 ;
35253 bool temp3
= false ;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 PyObject
* obj2
= 0 ;
35257 char *kwnames
[] = {
35258 (char *) "self",(char *) "pos",(char *) "label", NULL
35261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35263 if (SWIG_arg_fail(1)) SWIG_fail
;
35265 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35266 if (SWIG_arg_fail(2)) SWIG_fail
;
35269 arg3
= wxString_in_helper(obj2
);
35270 if (arg3
== NULL
) SWIG_fail
;
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35280 Py_INCREF(Py_None
); resultobj
= Py_None
;
35295 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 char *kwnames
[] = {
35303 (char *) "self",(char *) "pos", NULL
35306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35308 if (SWIG_arg_fail(1)) SWIG_fail
;
35310 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35311 if (SWIG_arg_fail(2)) SWIG_fail
;
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35333 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
;
35335 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35336 wxString
*arg2
= 0 ;
35337 wxString
*arg3
= 0 ;
35339 bool temp2
= false ;
35340 bool temp3
= false ;
35341 PyObject
* obj0
= 0 ;
35342 PyObject
* obj1
= 0 ;
35343 PyObject
* obj2
= 0 ;
35344 char *kwnames
[] = {
35345 (char *) "self",(char *) "menu",(char *) "item", NULL
35348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35350 if (SWIG_arg_fail(1)) SWIG_fail
;
35352 arg2
= wxString_in_helper(obj1
);
35353 if (arg2
== NULL
) SWIG_fail
;
35357 arg3
= wxString_in_helper(obj2
);
35358 if (arg3
== NULL
) SWIG_fail
;
35362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35363 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_From_int((int)(result
));
35393 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35397 wxMenuItem
*result
;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self",(char *) "id", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35406 if (SWIG_arg_fail(1)) SWIG_fail
;
35408 arg2
= (int)(SWIG_As_int(obj1
));
35409 if (SWIG_arg_fail(2)) SWIG_fail
;
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= wxPyMake_wxObject(result
, 0);
35427 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35430 wxString
*arg2
= 0 ;
35432 bool temp2
= false ;
35433 PyObject
* obj0
= 0 ;
35434 PyObject
* obj1
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "self",(char *) "title", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35441 if (SWIG_arg_fail(1)) SWIG_fail
;
35443 arg2
= wxString_in_helper(obj1
);
35444 if (arg2
== NULL
) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= SWIG_From_int((int)(result
));
35471 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
;
35473 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35476 PyObject
* obj0
= 0 ;
35477 PyObject
* obj1
= 0 ;
35478 PyObject
* obj2
= 0 ;
35479 char *kwnames
[] = {
35480 (char *) "self",(char *) "id",(char *) "enable", NULL
35483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35485 if (SWIG_arg_fail(1)) SWIG_fail
;
35487 arg2
= (int)(SWIG_As_int(obj1
));
35488 if (SWIG_arg_fail(2)) SWIG_fail
;
35491 arg3
= (bool)(SWIG_As_bool(obj2
));
35492 if (SWIG_arg_fail(3)) SWIG_fail
;
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 (arg1
)->Enable(arg2
,arg3
);
35498 wxPyEndAllowThreads(__tstate
);
35499 if (PyErr_Occurred()) SWIG_fail
;
35501 Py_INCREF(Py_None
); resultobj
= Py_None
;
35508 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35509 PyObject
*resultobj
;
35510 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 PyObject
* obj2
= 0 ;
35516 char *kwnames
[] = {
35517 (char *) "self",(char *) "id",(char *) "check", NULL
35520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35522 if (SWIG_arg_fail(1)) SWIG_fail
;
35524 arg2
= (int)(SWIG_As_int(obj1
));
35525 if (SWIG_arg_fail(2)) SWIG_fail
;
35528 arg3
= (bool)(SWIG_As_bool(obj2
));
35529 if (SWIG_arg_fail(3)) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 (arg1
)->Check(arg2
,arg3
);
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 Py_INCREF(Py_None
); resultobj
= Py_None
;
35545 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35550 PyObject
* obj0
= 0 ;
35551 PyObject
* obj1
= 0 ;
35552 char *kwnames
[] = {
35553 (char *) "self",(char *) "id", NULL
35556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35558 if (SWIG_arg_fail(1)) SWIG_fail
;
35560 arg2
= (int)(SWIG_As_int(obj1
));
35561 if (SWIG_arg_fail(2)) SWIG_fail
;
35564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35565 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35579 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35580 PyObject
*resultobj
;
35581 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 char *kwnames
[] = {
35587 (char *) "self",(char *) "id", NULL
35590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35592 if (SWIG_arg_fail(1)) SWIG_fail
;
35594 arg2
= (int)(SWIG_As_int(obj1
));
35595 if (SWIG_arg_fail(2)) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35613 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35617 wxString
*arg3
= 0 ;
35618 bool temp3
= false ;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 PyObject
* obj2
= 0 ;
35622 char *kwnames
[] = {
35623 (char *) "self",(char *) "id",(char *) "label", NULL
35626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35628 if (SWIG_arg_fail(1)) SWIG_fail
;
35630 arg2
= (int)(SWIG_As_int(obj1
));
35631 if (SWIG_arg_fail(2)) SWIG_fail
;
35634 arg3
= wxString_in_helper(obj2
);
35635 if (arg3
== NULL
) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 Py_INCREF(Py_None
); resultobj
= Py_None
;
35660 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35661 PyObject
*resultobj
;
35662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35665 PyObject
* obj0
= 0 ;
35666 PyObject
* obj1
= 0 ;
35667 char *kwnames
[] = {
35668 (char *) "self",(char *) "id", NULL
35671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35673 if (SWIG_arg_fail(1)) SWIG_fail
;
35675 arg2
= (int)(SWIG_As_int(obj1
));
35676 if (SWIG_arg_fail(2)) SWIG_fail
;
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35680 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35698 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35699 PyObject
*resultobj
;
35700 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35702 wxString
*arg3
= 0 ;
35703 bool temp3
= false ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 PyObject
* obj2
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self",(char *) "id",(char *) "helpString", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35713 if (SWIG_arg_fail(1)) SWIG_fail
;
35715 arg2
= (int)(SWIG_As_int(obj1
));
35716 if (SWIG_arg_fail(2)) SWIG_fail
;
35719 arg3
= wxString_in_helper(obj2
);
35720 if (arg3
== NULL
) SWIG_fail
;
35724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35725 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35727 wxPyEndAllowThreads(__tstate
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35730 Py_INCREF(Py_None
); resultobj
= Py_None
;
35745 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35746 PyObject
*resultobj
;
35747 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35750 PyObject
* obj0
= 0 ;
35751 PyObject
* obj1
= 0 ;
35752 char *kwnames
[] = {
35753 (char *) "self",(char *) "id", NULL
35756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35758 if (SWIG_arg_fail(1)) SWIG_fail
;
35760 arg2
= (int)(SWIG_As_int(obj1
));
35761 if (SWIG_arg_fail(2)) SWIG_fail
;
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35783 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
;
35785 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35787 PyObject
* obj0
= 0 ;
35788 char *kwnames
[] = {
35789 (char *) "self", NULL
35792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35794 if (SWIG_arg_fail(1)) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35803 resultobj
= wxPyMake_wxObject(result
, 0);
35811 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35815 PyObject
* obj0
= 0 ;
35816 char *kwnames
[] = {
35817 (char *) "self", NULL
35820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35822 if (SWIG_arg_fail(1)) SWIG_fail
;
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35839 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
;
35841 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35842 wxFrame
*arg2
= (wxFrame
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 char *kwnames
[] = {
35846 (char *) "self",(char *) "frame", NULL
35849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35851 if (SWIG_arg_fail(1)) SWIG_fail
;
35852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35853 if (SWIG_arg_fail(2)) SWIG_fail
;
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 (arg1
)->Attach(arg2
);
35858 wxPyEndAllowThreads(__tstate
);
35859 if (PyErr_Occurred()) SWIG_fail
;
35861 Py_INCREF(Py_None
); resultobj
= Py_None
;
35868 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35869 PyObject
*resultobj
;
35870 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35871 PyObject
* obj0
= 0 ;
35872 char *kwnames
[] = {
35873 (char *) "self", NULL
35876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35878 if (SWIG_arg_fail(1)) SWIG_fail
;
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35883 wxPyEndAllowThreads(__tstate
);
35884 if (PyErr_Occurred()) SWIG_fail
;
35886 Py_INCREF(Py_None
); resultobj
= Py_None
;
35893 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35896 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35898 return Py_BuildValue((char *)"");
35900 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35901 PyObject
*resultobj
;
35902 wxMenu
*arg1
= (wxMenu
*) NULL
;
35903 int arg2
= (int) wxID_ANY
;
35904 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35908 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35909 wxMenu
*arg6
= (wxMenu
*) NULL
;
35910 wxMenuItem
*result
;
35911 bool temp3
= false ;
35912 bool temp4
= false ;
35913 PyObject
* obj0
= 0 ;
35914 PyObject
* obj1
= 0 ;
35915 PyObject
* obj2
= 0 ;
35916 PyObject
* obj3
= 0 ;
35917 PyObject
* obj4
= 0 ;
35918 PyObject
* obj5
= 0 ;
35919 char *kwnames
[] = {
35920 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35926 if (SWIG_arg_fail(1)) SWIG_fail
;
35930 arg2
= (int)(SWIG_As_int(obj1
));
35931 if (SWIG_arg_fail(2)) SWIG_fail
;
35936 arg3
= wxString_in_helper(obj2
);
35937 if (arg3
== NULL
) SWIG_fail
;
35943 arg4
= wxString_in_helper(obj3
);
35944 if (arg4
== NULL
) SWIG_fail
;
35950 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35951 if (SWIG_arg_fail(5)) SWIG_fail
;
35955 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35956 if (SWIG_arg_fail(6)) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35966 resultobj
= wxPyMake_wxObject(result
, 1);
35990 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35991 PyObject
*resultobj
;
35992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35994 PyObject
* obj0
= 0 ;
35995 char *kwnames
[] = {
35996 (char *) "self", NULL
35999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36001 if (SWIG_arg_fail(1)) SWIG_fail
;
36003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= wxPyMake_wxObject(result
, 0);
36018 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36019 PyObject
*resultobj
;
36020 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36021 wxMenu
*arg2
= (wxMenu
*) 0 ;
36022 PyObject
* obj0
= 0 ;
36023 PyObject
* obj1
= 0 ;
36024 char *kwnames
[] = {
36025 (char *) "self",(char *) "menu", NULL
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36030 if (SWIG_arg_fail(1)) SWIG_fail
;
36031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36032 if (SWIG_arg_fail(2)) SWIG_fail
;
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 (arg1
)->SetMenu(arg2
);
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36040 Py_INCREF(Py_None
); resultobj
= Py_None
;
36047 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
;
36049 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 char *kwnames
[] = {
36054 (char *) "self",(char *) "id", NULL
36057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36059 if (SWIG_arg_fail(1)) SWIG_fail
;
36061 arg2
= (int)(SWIG_As_int(obj1
));
36062 if (SWIG_arg_fail(2)) SWIG_fail
;
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36066 (arg1
)->SetId(arg2
);
36068 wxPyEndAllowThreads(__tstate
);
36069 if (PyErr_Occurred()) SWIG_fail
;
36071 Py_INCREF(Py_None
); resultobj
= Py_None
;
36078 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36079 PyObject
*resultobj
;
36080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36082 PyObject
* obj0
= 0 ;
36083 char *kwnames
[] = {
36084 (char *) "self", NULL
36087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36089 if (SWIG_arg_fail(1)) SWIG_fail
;
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_From_int((int)(result
));
36106 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36107 PyObject
*resultobj
;
36108 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36110 PyObject
* obj0
= 0 ;
36111 char *kwnames
[] = {
36112 (char *) "self", NULL
36115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36117 if (SWIG_arg_fail(1)) SWIG_fail
;
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36122 wxPyEndAllowThreads(__tstate
);
36123 if (PyErr_Occurred()) SWIG_fail
;
36126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36134 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36135 PyObject
*resultobj
;
36136 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36137 wxString
*arg2
= 0 ;
36138 bool temp2
= false ;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self",(char *) "str", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36147 if (SWIG_arg_fail(1)) SWIG_fail
;
36149 arg2
= wxString_in_helper(obj1
);
36150 if (arg2
== NULL
) SWIG_fail
;
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36155 (arg1
)->SetText((wxString
const &)*arg2
);
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36160 Py_INCREF(Py_None
); resultobj
= Py_None
;
36175 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
;
36177 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36179 PyObject
* obj0
= 0 ;
36180 char *kwnames
[] = {
36181 (char *) "self", NULL
36184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36186 if (SWIG_arg_fail(1)) SWIG_fail
;
36188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36189 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36207 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
;
36209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36211 PyObject
* obj0
= 0 ;
36212 char *kwnames
[] = {
36213 (char *) "self", NULL
36216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36218 if (SWIG_arg_fail(1)) SWIG_fail
;
36220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36223 result
= (wxString
*) &_result_ref
;
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36242 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
;
36244 wxString
*arg1
= 0 ;
36246 bool temp1
= false ;
36247 PyObject
* obj0
= 0 ;
36248 char *kwnames
[] = {
36249 (char *) "text", NULL
36252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36254 arg1
= wxString_in_helper(obj0
);
36255 if (arg1
== NULL
) SWIG_fail
;
36259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36260 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36286 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
;
36288 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36290 PyObject
* obj0
= 0 ;
36291 char *kwnames
[] = {
36292 (char *) "self", NULL
36295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36297 if (SWIG_arg_fail(1)) SWIG_fail
;
36299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36300 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36302 wxPyEndAllowThreads(__tstate
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 resultobj
= SWIG_From_int((result
));
36312 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
;
36314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36316 PyObject
* obj0
= 0 ;
36317 PyObject
* obj1
= 0 ;
36318 char *kwnames
[] = {
36319 (char *) "self",(char *) "kind", NULL
36322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36324 if (SWIG_arg_fail(1)) SWIG_fail
;
36326 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36327 if (SWIG_arg_fail(2)) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 (arg1
)->SetKind((wxItemKind
)arg2
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 Py_INCREF(Py_None
); resultobj
= Py_None
;
36343 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
;
36345 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36347 PyObject
* obj0
= 0 ;
36348 PyObject
* obj1
= 0 ;
36349 char *kwnames
[] = {
36350 (char *) "self",(char *) "checkable", NULL
36353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36355 if (SWIG_arg_fail(1)) SWIG_fail
;
36357 arg2
= (bool)(SWIG_As_bool(obj1
));
36358 if (SWIG_arg_fail(2)) SWIG_fail
;
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 (arg1
)->SetCheckable(arg2
);
36364 wxPyEndAllowThreads(__tstate
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 Py_INCREF(Py_None
); resultobj
= Py_None
;
36374 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36375 PyObject
*resultobj
;
36376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36378 PyObject
* obj0
= 0 ;
36379 char *kwnames
[] = {
36380 (char *) "self", NULL
36383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36385 if (SWIG_arg_fail(1)) SWIG_fail
;
36387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36388 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36402 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
;
36404 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36406 PyObject
* obj0
= 0 ;
36407 char *kwnames
[] = {
36408 (char *) "self", NULL
36411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36413 if (SWIG_arg_fail(1)) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36430 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36431 PyObject
*resultobj
;
36432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36433 wxMenu
*arg2
= (wxMenu
*) 0 ;
36434 PyObject
* obj0
= 0 ;
36435 PyObject
* obj1
= 0 ;
36436 char *kwnames
[] = {
36437 (char *) "self",(char *) "menu", NULL
36440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36442 if (SWIG_arg_fail(1)) SWIG_fail
;
36443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36444 if (SWIG_arg_fail(2)) SWIG_fail
;
36446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36447 (arg1
)->SetSubMenu(arg2
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36452 Py_INCREF(Py_None
); resultobj
= Py_None
;
36459 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36460 PyObject
*resultobj
;
36461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36463 PyObject
* obj0
= 0 ;
36464 char *kwnames
[] = {
36465 (char *) "self", NULL
36468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36470 if (SWIG_arg_fail(1)) SWIG_fail
;
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36475 wxPyEndAllowThreads(__tstate
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36479 resultobj
= wxPyMake_wxObject(result
, 0);
36487 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
;
36489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36490 bool arg2
= (bool) true ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36493 char *kwnames
[] = {
36494 (char *) "self",(char *) "enable", NULL
36497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36499 if (SWIG_arg_fail(1)) SWIG_fail
;
36502 arg2
= (bool)(SWIG_As_bool(obj1
));
36503 if (SWIG_arg_fail(2)) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->Enable(arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 Py_INCREF(Py_None
); resultobj
= Py_None
;
36520 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
;
36522 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36524 PyObject
* obj0
= 0 ;
36525 char *kwnames
[] = {
36526 (char *) "self", NULL
36529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36531 if (SWIG_arg_fail(1)) SWIG_fail
;
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36548 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36551 bool arg2
= (bool) true ;
36552 PyObject
* obj0
= 0 ;
36553 PyObject
* obj1
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self",(char *) "check", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36560 if (SWIG_arg_fail(1)) SWIG_fail
;
36563 arg2
= (bool)(SWIG_As_bool(obj1
));
36564 if (SWIG_arg_fail(2)) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 (arg1
)->Check(arg2
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 Py_INCREF(Py_None
); resultobj
= Py_None
;
36581 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
;
36583 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 char *kwnames
[] = {
36587 (char *) "self", NULL
36590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36592 if (SWIG_arg_fail(1)) SWIG_fail
;
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36609 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
;
36611 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36612 PyObject
* obj0
= 0 ;
36613 char *kwnames
[] = {
36614 (char *) "self", NULL
36617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36619 if (SWIG_arg_fail(1)) SWIG_fail
;
36621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 Py_INCREF(Py_None
); resultobj
= Py_None
;
36634 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
;
36636 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36637 wxString
*arg2
= 0 ;
36638 bool temp2
= false ;
36639 PyObject
* obj0
= 0 ;
36640 PyObject
* obj1
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self",(char *) "str", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36647 if (SWIG_arg_fail(1)) SWIG_fail
;
36649 arg2
= wxString_in_helper(obj1
);
36650 if (arg2
== NULL
) SWIG_fail
;
36654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36655 (arg1
)->SetHelp((wxString
const &)*arg2
);
36657 wxPyEndAllowThreads(__tstate
);
36658 if (PyErr_Occurred()) SWIG_fail
;
36660 Py_INCREF(Py_None
); resultobj
= Py_None
;
36675 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36676 PyObject
*resultobj
;
36677 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36679 PyObject
* obj0
= 0 ;
36680 char *kwnames
[] = {
36681 (char *) "self", NULL
36684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36686 if (SWIG_arg_fail(1)) SWIG_fail
;
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36690 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36691 result
= (wxString
*) &_result_ref
;
36694 wxPyEndAllowThreads(__tstate
);
36695 if (PyErr_Occurred()) SWIG_fail
;
36699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36710 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
;
36712 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36713 wxAcceleratorEntry
*result
;
36714 PyObject
* obj0
= 0 ;
36715 char *kwnames
[] = {
36716 (char *) "self", NULL
36719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36721 if (SWIG_arg_fail(1)) SWIG_fail
;
36723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36724 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36726 wxPyEndAllowThreads(__tstate
);
36727 if (PyErr_Occurred()) SWIG_fail
;
36729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36736 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
;
36738 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36739 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36740 PyObject
* obj0
= 0 ;
36741 PyObject
* obj1
= 0 ;
36742 char *kwnames
[] = {
36743 (char *) "self",(char *) "accel", NULL
36746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36748 if (SWIG_arg_fail(1)) SWIG_fail
;
36749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36750 if (SWIG_arg_fail(2)) SWIG_fail
;
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->SetAccel(arg2
);
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 Py_INCREF(Py_None
); resultobj
= Py_None
;
36765 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36766 PyObject
*resultobj
;
36767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36769 PyObject
* obj0
= 0 ;
36770 PyObject
* obj1
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self",(char *) "font", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36777 if (SWIG_arg_fail(1)) SWIG_fail
;
36779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36780 if (SWIG_arg_fail(2)) SWIG_fail
;
36781 if (arg2
== NULL
) {
36782 SWIG_null_ref("wxFont");
36784 if (SWIG_arg_fail(2)) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 Py_INCREF(Py_None
); resultobj
= Py_None
;
36800 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
;
36802 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36804 PyObject
* obj0
= 0 ;
36805 char *kwnames
[] = {
36806 (char *) "self", NULL
36809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36811 if (SWIG_arg_fail(1)) SWIG_fail
;
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 result
= wxMenuItem_GetFont(arg1
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36820 wxFont
* resultptr
;
36821 resultptr
= new wxFont((wxFont
&)(result
));
36822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36830 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36831 PyObject
*resultobj
;
36832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36833 wxColour
*arg2
= 0 ;
36835 PyObject
* obj0
= 0 ;
36836 PyObject
* obj1
= 0 ;
36837 char *kwnames
[] = {
36838 (char *) "self",(char *) "colText", NULL
36841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36843 if (SWIG_arg_fail(1)) SWIG_fail
;
36846 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 Py_INCREF(Py_None
); resultobj
= Py_None
;
36862 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
;
36864 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36866 PyObject
* obj0
= 0 ;
36867 char *kwnames
[] = {
36868 (char *) "self", NULL
36871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36873 if (SWIG_arg_fail(1)) SWIG_fail
;
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36876 result
= wxMenuItem_GetTextColour(arg1
);
36878 wxPyEndAllowThreads(__tstate
);
36879 if (PyErr_Occurred()) SWIG_fail
;
36882 wxColour
* resultptr
;
36883 resultptr
= new wxColour((wxColour
&)(result
));
36884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36892 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
;
36894 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36895 wxColour
*arg2
= 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 char *kwnames
[] = {
36900 (char *) "self",(char *) "colBack", NULL
36903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36905 if (SWIG_arg_fail(1)) SWIG_fail
;
36908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36912 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36914 wxPyEndAllowThreads(__tstate
);
36915 if (PyErr_Occurred()) SWIG_fail
;
36917 Py_INCREF(Py_None
); resultobj
= Py_None
;
36924 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36925 PyObject
*resultobj
;
36926 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36928 PyObject
* obj0
= 0 ;
36929 char *kwnames
[] = {
36930 (char *) "self", NULL
36933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36935 if (SWIG_arg_fail(1)) SWIG_fail
;
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 result
= wxMenuItem_GetBackgroundColour(arg1
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36944 wxColour
* resultptr
;
36945 resultptr
= new wxColour((wxColour
&)(result
));
36946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36954 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36955 PyObject
*resultobj
;
36956 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36957 wxBitmap
*arg2
= 0 ;
36958 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36959 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36960 PyObject
* obj0
= 0 ;
36961 PyObject
* obj1
= 0 ;
36962 PyObject
* obj2
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36969 if (SWIG_arg_fail(1)) SWIG_fail
;
36971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36972 if (SWIG_arg_fail(2)) SWIG_fail
;
36973 if (arg2
== NULL
) {
36974 SWIG_null_ref("wxBitmap");
36976 if (SWIG_arg_fail(2)) SWIG_fail
;
36980 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36981 if (SWIG_arg_fail(3)) SWIG_fail
;
36982 if (arg3
== NULL
) {
36983 SWIG_null_ref("wxBitmap");
36985 if (SWIG_arg_fail(3)) SWIG_fail
;
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 Py_INCREF(Py_None
); resultobj
= Py_None
;
37002 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37003 PyObject
*resultobj
;
37004 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37005 wxBitmap
*arg2
= 0 ;
37006 PyObject
* obj0
= 0 ;
37007 PyObject
* obj1
= 0 ;
37008 char *kwnames
[] = {
37009 (char *) "self",(char *) "bmpDisabled", NULL
37012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37014 if (SWIG_arg_fail(1)) SWIG_fail
;
37016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37017 if (SWIG_arg_fail(2)) SWIG_fail
;
37018 if (arg2
== NULL
) {
37019 SWIG_null_ref("wxBitmap");
37021 if (SWIG_arg_fail(2)) SWIG_fail
;
37024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37025 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 Py_INCREF(Py_None
); resultobj
= Py_None
;
37037 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
;
37039 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37041 PyObject
* obj0
= 0 ;
37042 char *kwnames
[] = {
37043 (char *) "self", NULL
37046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37048 if (SWIG_arg_fail(1)) SWIG_fail
;
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37053 result
= (wxBitmap
*) &_result_ref
;
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37060 wxBitmap
* resultptr
= new wxBitmap(*result
);
37061 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37069 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37073 PyObject
* obj0
= 0 ;
37074 PyObject
* obj1
= 0 ;
37075 char *kwnames
[] = {
37076 (char *) "self",(char *) "nWidth", NULL
37079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37081 if (SWIG_arg_fail(1)) SWIG_fail
;
37083 arg2
= (int)(SWIG_As_int(obj1
));
37084 if (SWIG_arg_fail(2)) SWIG_fail
;
37087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37088 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37090 wxPyEndAllowThreads(__tstate
);
37091 if (PyErr_Occurred()) SWIG_fail
;
37093 Py_INCREF(Py_None
); resultobj
= Py_None
;
37100 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37101 PyObject
*resultobj
;
37102 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37104 PyObject
* obj0
= 0 ;
37105 char *kwnames
[] = {
37106 (char *) "self", NULL
37109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37111 if (SWIG_arg_fail(1)) SWIG_fail
;
37113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37114 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= SWIG_From_int((int)(result
));
37128 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37129 PyObject
*resultobj
;
37131 char *kwnames
[] = {
37135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (int)MenuItem_GetDefaultMarginWidth();
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= SWIG_From_int((int)(result
));
37152 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
;
37154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37156 PyObject
* obj0
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "self", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37163 if (SWIG_arg_fail(1)) SWIG_fail
;
37165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37166 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37180 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37181 PyObject
*resultobj
;
37182 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37183 bool arg2
= (bool) true ;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 char *kwnames
[] = {
37187 (char *) "self",(char *) "ownerDrawn", NULL
37190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37192 if (SWIG_arg_fail(1)) SWIG_fail
;
37195 arg2
= (bool)(SWIG_As_bool(obj1
));
37196 if (SWIG_arg_fail(2)) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 Py_INCREF(Py_None
); resultobj
= Py_None
;
37213 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
;
37215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37216 PyObject
* obj0
= 0 ;
37217 char *kwnames
[] = {
37218 (char *) "self", NULL
37221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37223 if (SWIG_arg_fail(1)) SWIG_fail
;
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 wxMenuItem_ResetOwnerDrawn(arg1
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 Py_INCREF(Py_None
); resultobj
= Py_None
;
37238 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
;
37240 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37241 wxBitmap
*arg2
= 0 ;
37242 PyObject
* obj0
= 0 ;
37243 PyObject
* obj1
= 0 ;
37244 char *kwnames
[] = {
37245 (char *) "self",(char *) "bitmap", NULL
37248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37250 if (SWIG_arg_fail(1)) SWIG_fail
;
37252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37253 if (SWIG_arg_fail(2)) SWIG_fail
;
37254 if (arg2
== NULL
) {
37255 SWIG_null_ref("wxBitmap");
37257 if (SWIG_arg_fail(2)) SWIG_fail
;
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37263 wxPyEndAllowThreads(__tstate
);
37264 if (PyErr_Occurred()) SWIG_fail
;
37266 Py_INCREF(Py_None
); resultobj
= Py_None
;
37273 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37274 PyObject
*resultobj
;
37275 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37277 PyObject
* obj0
= 0 ;
37278 char *kwnames
[] = {
37279 (char *) "self", NULL
37282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37284 if (SWIG_arg_fail(1)) SWIG_fail
;
37286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37289 result
= (wxBitmap
*) &_result_ref
;
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37296 wxBitmap
* resultptr
= new wxBitmap(*result
);
37297 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37305 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37308 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37310 return Py_BuildValue((char *)"");
37312 static int _wrap_ControlNameStr_set(PyObject
*) {
37313 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37318 static PyObject
*_wrap_ControlNameStr_get(void) {
37323 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37325 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37332 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
;
37334 wxWindow
*arg1
= (wxWindow
*) 0 ;
37335 int arg2
= (int) -1 ;
37336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37340 long arg5
= (long) 0 ;
37341 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37342 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37343 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37344 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37348 bool temp7
= false ;
37349 PyObject
* obj0
= 0 ;
37350 PyObject
* obj1
= 0 ;
37351 PyObject
* obj2
= 0 ;
37352 PyObject
* obj3
= 0 ;
37353 PyObject
* obj4
= 0 ;
37354 PyObject
* obj5
= 0 ;
37355 PyObject
* obj6
= 0 ;
37356 char *kwnames
[] = {
37357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37362 if (SWIG_arg_fail(1)) SWIG_fail
;
37365 arg2
= (int)(SWIG_As_int(obj1
));
37366 if (SWIG_arg_fail(2)) SWIG_fail
;
37372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37378 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37383 arg5
= (long)(SWIG_As_long(obj4
));
37384 if (SWIG_arg_fail(5)) SWIG_fail
;
37389 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37390 if (SWIG_arg_fail(6)) SWIG_fail
;
37391 if (arg6
== NULL
) {
37392 SWIG_null_ref("wxValidator");
37394 if (SWIG_arg_fail(6)) SWIG_fail
;
37399 arg7
= wxString_in_helper(obj6
);
37400 if (arg7
== NULL
) SWIG_fail
;
37405 if (!wxPyCheckForApp()) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37427 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
;
37430 char *kwnames
[] = {
37434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37436 if (!wxPyCheckForApp()) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= (wxControl
*)new wxControl();
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37450 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
;
37452 wxControl
*arg1
= (wxControl
*) 0 ;
37453 wxWindow
*arg2
= (wxWindow
*) 0 ;
37454 int arg3
= (int) -1 ;
37455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37459 long arg6
= (long) 0 ;
37460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37462 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37467 bool temp8
= false ;
37468 PyObject
* obj0
= 0 ;
37469 PyObject
* obj1
= 0 ;
37470 PyObject
* obj2
= 0 ;
37471 PyObject
* obj3
= 0 ;
37472 PyObject
* obj4
= 0 ;
37473 PyObject
* obj5
= 0 ;
37474 PyObject
* obj6
= 0 ;
37475 PyObject
* obj7
= 0 ;
37476 char *kwnames
[] = {
37477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37482 if (SWIG_arg_fail(1)) SWIG_fail
;
37483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37484 if (SWIG_arg_fail(2)) SWIG_fail
;
37487 arg3
= (int)(SWIG_As_int(obj2
));
37488 if (SWIG_arg_fail(3)) SWIG_fail
;
37494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37505 arg6
= (long)(SWIG_As_long(obj5
));
37506 if (SWIG_arg_fail(6)) SWIG_fail
;
37511 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37512 if (SWIG_arg_fail(7)) SWIG_fail
;
37513 if (arg7
== NULL
) {
37514 SWIG_null_ref("wxValidator");
37516 if (SWIG_arg_fail(7)) SWIG_fail
;
37521 arg8
= wxString_in_helper(obj7
);
37522 if (arg8
== NULL
) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37550 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
;
37552 wxControl
*arg1
= (wxControl
*) 0 ;
37553 wxCommandEvent
*arg2
= 0 ;
37554 PyObject
* obj0
= 0 ;
37555 PyObject
* obj1
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self",(char *) "event", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37562 if (SWIG_arg_fail(1)) SWIG_fail
;
37564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37565 if (SWIG_arg_fail(2)) SWIG_fail
;
37566 if (arg2
== NULL
) {
37567 SWIG_null_ref("wxCommandEvent");
37569 if (SWIG_arg_fail(2)) SWIG_fail
;
37572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37573 (arg1
)->Command(*arg2
);
37575 wxPyEndAllowThreads(__tstate
);
37576 if (PyErr_Occurred()) SWIG_fail
;
37578 Py_INCREF(Py_None
); resultobj
= Py_None
;
37585 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37586 PyObject
*resultobj
;
37587 wxControl
*arg1
= (wxControl
*) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 char *kwnames
[] = {
37591 (char *) "self", NULL
37594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37596 if (SWIG_arg_fail(1)) SWIG_fail
;
37598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37599 result
= (arg1
)->GetLabel();
37601 wxPyEndAllowThreads(__tstate
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37617 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37618 PyObject
*resultobj
;
37619 wxControl
*arg1
= (wxControl
*) 0 ;
37620 wxString
*arg2
= 0 ;
37621 bool temp2
= false ;
37622 PyObject
* obj0
= 0 ;
37623 PyObject
* obj1
= 0 ;
37624 char *kwnames
[] = {
37625 (char *) "self",(char *) "label", NULL
37628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37630 if (SWIG_arg_fail(1)) SWIG_fail
;
37632 arg2
= wxString_in_helper(obj1
);
37633 if (arg2
== NULL
) SWIG_fail
;
37637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37638 (arg1
)->SetLabel((wxString
const &)*arg2
);
37640 wxPyEndAllowThreads(__tstate
);
37641 if (PyErr_Occurred()) SWIG_fail
;
37643 Py_INCREF(Py_None
); resultobj
= Py_None
;
37658 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37659 PyObject
*resultobj
;
37660 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37661 wxVisualAttributes result
;
37662 PyObject
* obj0
= 0 ;
37663 char *kwnames
[] = {
37664 (char *) "variant", NULL
37667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37670 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37671 if (SWIG_arg_fail(1)) SWIG_fail
;
37675 if (!wxPyCheckForApp()) SWIG_fail
;
37676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37677 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37683 wxVisualAttributes
* resultptr
;
37684 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37693 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37696 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37698 return Py_BuildValue((char *)"");
37700 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37701 PyObject
*resultobj
;
37702 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37703 wxString
*arg2
= 0 ;
37704 PyObject
*arg3
= (PyObject
*) NULL
;
37706 bool temp2
= false ;
37707 PyObject
* obj0
= 0 ;
37708 PyObject
* obj1
= 0 ;
37709 PyObject
* obj2
= 0 ;
37710 char *kwnames
[] = {
37711 (char *) "self",(char *) "item",(char *) "clientData", NULL
37714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37716 if (SWIG_arg_fail(1)) SWIG_fail
;
37718 arg2
= wxString_in_helper(obj1
);
37719 if (arg2
== NULL
) SWIG_fail
;
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= SWIG_From_int((int)(result
));
37749 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37750 PyObject
*resultobj
;
37751 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37752 wxArrayString
*arg2
= 0 ;
37753 bool temp2
= false ;
37754 PyObject
* obj0
= 0 ;
37755 PyObject
* obj1
= 0 ;
37756 char *kwnames
[] = {
37757 (char *) "self",(char *) "strings", NULL
37760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37762 if (SWIG_arg_fail(1)) SWIG_fail
;
37764 if (! PySequence_Check(obj1
)) {
37765 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37768 arg2
= new wxArrayString
;
37770 int i
, len
=PySequence_Length(obj1
);
37771 for (i
=0; i
<len
; i
++) {
37772 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37774 PyObject
* str
= PyObject_Unicode(item
);
37776 PyObject
* str
= PyObject_Str(item
);
37778 if (PyErr_Occurred()) SWIG_fail
;
37779 arg2
->Add(Py2wxString(str
));
37785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37786 (arg1
)->Append((wxArrayString
const &)*arg2
);
37788 wxPyEndAllowThreads(__tstate
);
37789 if (PyErr_Occurred()) SWIG_fail
;
37791 Py_INCREF(Py_None
); resultobj
= Py_None
;
37793 if (temp2
) delete arg2
;
37798 if (temp2
) delete arg2
;
37804 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
;
37806 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37807 wxString
*arg2
= 0 ;
37809 PyObject
*arg4
= (PyObject
*) NULL
;
37811 bool temp2
= false ;
37812 PyObject
* obj0
= 0 ;
37813 PyObject
* obj1
= 0 ;
37814 PyObject
* obj2
= 0 ;
37815 PyObject
* obj3
= 0 ;
37816 char *kwnames
[] = {
37817 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37822 if (SWIG_arg_fail(1)) SWIG_fail
;
37824 arg2
= wxString_in_helper(obj1
);
37825 if (arg2
== NULL
) SWIG_fail
;
37829 arg3
= (int)(SWIG_As_int(obj2
));
37830 if (SWIG_arg_fail(3)) SWIG_fail
;
37836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37837 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37839 wxPyEndAllowThreads(__tstate
);
37840 if (PyErr_Occurred()) SWIG_fail
;
37843 resultobj
= SWIG_From_int((int)(result
));
37859 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37860 PyObject
*resultobj
;
37861 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37862 PyObject
* obj0
= 0 ;
37863 char *kwnames
[] = {
37864 (char *) "self", NULL
37867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37869 if (SWIG_arg_fail(1)) SWIG_fail
;
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 wxPyEndAllowThreads(__tstate
);
37875 if (PyErr_Occurred()) SWIG_fail
;
37877 Py_INCREF(Py_None
); resultobj
= Py_None
;
37884 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37885 PyObject
*resultobj
;
37886 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37888 PyObject
* obj0
= 0 ;
37889 PyObject
* obj1
= 0 ;
37890 char *kwnames
[] = {
37891 (char *) "self",(char *) "n", NULL
37894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37896 if (SWIG_arg_fail(1)) SWIG_fail
;
37898 arg2
= (int)(SWIG_As_int(obj1
));
37899 if (SWIG_arg_fail(2)) SWIG_fail
;
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 (arg1
)->Delete(arg2
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 Py_INCREF(Py_None
); resultobj
= Py_None
;
37915 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37916 PyObject
*resultobj
;
37917 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37920 PyObject
* obj0
= 0 ;
37921 PyObject
* obj1
= 0 ;
37922 char *kwnames
[] = {
37923 (char *) "self",(char *) "n", NULL
37926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37928 if (SWIG_arg_fail(1)) SWIG_fail
;
37930 arg2
= (int)(SWIG_As_int(obj1
));
37931 if (SWIG_arg_fail(2)) SWIG_fail
;
37934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37935 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37940 resultobj
= result
;
37947 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37948 PyObject
*resultobj
;
37949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37951 PyObject
*arg3
= (PyObject
*) 0 ;
37952 PyObject
* obj0
= 0 ;
37953 PyObject
* obj1
= 0 ;
37954 PyObject
* obj2
= 0 ;
37955 char *kwnames
[] = {
37956 (char *) "self",(char *) "n",(char *) "clientData", NULL
37959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37961 if (SWIG_arg_fail(1)) SWIG_fail
;
37963 arg2
= (int)(SWIG_As_int(obj1
));
37964 if (SWIG_arg_fail(2)) SWIG_fail
;
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 Py_INCREF(Py_None
); resultobj
= Py_None
;
37981 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37982 PyObject
*resultobj
;
37983 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37985 PyObject
* obj0
= 0 ;
37986 char *kwnames
[] = {
37987 (char *) "self", NULL
37990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37992 if (SWIG_arg_fail(1)) SWIG_fail
;
37994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37995 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37997 wxPyEndAllowThreads(__tstate
);
37998 if (PyErr_Occurred()) SWIG_fail
;
38001 resultobj
= SWIG_From_int((int)(result
));
38009 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
;
38011 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38013 PyObject
* obj0
= 0 ;
38014 char *kwnames
[] = {
38015 (char *) "self", NULL
38018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38020 if (SWIG_arg_fail(1)) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38037 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
;
38039 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38042 PyObject
* obj0
= 0 ;
38043 PyObject
* obj1
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self",(char *) "n", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38050 if (SWIG_arg_fail(1)) SWIG_fail
;
38052 arg2
= (int)(SWIG_As_int(obj1
));
38053 if (SWIG_arg_fail(2)) SWIG_fail
;
38056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38059 wxPyEndAllowThreads(__tstate
);
38060 if (PyErr_Occurred()) SWIG_fail
;
38064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38075 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38076 PyObject
*resultobj
;
38077 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38078 wxArrayString result
;
38079 PyObject
* obj0
= 0 ;
38080 char *kwnames
[] = {
38081 (char *) "self", NULL
38084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38086 if (SWIG_arg_fail(1)) SWIG_fail
;
38088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38089 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38091 wxPyEndAllowThreads(__tstate
);
38092 if (PyErr_Occurred()) SWIG_fail
;
38095 resultobj
= wxArrayString2PyList_helper(result
);
38103 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38104 PyObject
*resultobj
;
38105 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38107 wxString
*arg3
= 0 ;
38108 bool temp3
= false ;
38109 PyObject
* obj0
= 0 ;
38110 PyObject
* obj1
= 0 ;
38111 PyObject
* obj2
= 0 ;
38112 char *kwnames
[] = {
38113 (char *) "self",(char *) "n",(char *) "s", NULL
38116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38118 if (SWIG_arg_fail(1)) SWIG_fail
;
38120 arg2
= (int)(SWIG_As_int(obj1
));
38121 if (SWIG_arg_fail(2)) SWIG_fail
;
38124 arg3
= wxString_in_helper(obj2
);
38125 if (arg3
== NULL
) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 Py_INCREF(Py_None
); resultobj
= Py_None
;
38150 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38151 PyObject
*resultobj
;
38152 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38153 wxString
*arg2
= 0 ;
38155 bool temp2
= false ;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 char *kwnames
[] = {
38159 (char *) "self",(char *) "s", NULL
38162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38164 if (SWIG_arg_fail(1)) SWIG_fail
;
38166 arg2
= wxString_in_helper(obj1
);
38167 if (arg2
== NULL
) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38178 resultobj
= SWIG_From_int((int)(result
));
38194 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38195 PyObject
*resultobj
;
38196 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38200 char *kwnames
[] = {
38201 (char *) "self",(char *) "n", NULL
38204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38206 if (SWIG_arg_fail(1)) SWIG_fail
;
38208 arg2
= (int)(SWIG_As_int(obj1
));
38209 if (SWIG_arg_fail(2)) SWIG_fail
;
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 (arg1
)->SetSelection(arg2
);
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38218 Py_INCREF(Py_None
); resultobj
= Py_None
;
38225 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38226 PyObject
*resultobj
;
38227 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38229 PyObject
* obj0
= 0 ;
38230 char *kwnames
[] = {
38231 (char *) "self", NULL
38234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38236 if (SWIG_arg_fail(1)) SWIG_fail
;
38238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38239 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38241 wxPyEndAllowThreads(__tstate
);
38242 if (PyErr_Occurred()) SWIG_fail
;
38245 resultobj
= SWIG_From_int((int)(result
));
38253 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38254 PyObject
*resultobj
;
38255 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38256 wxString
*arg2
= 0 ;
38258 bool temp2
= false ;
38259 PyObject
* obj0
= 0 ;
38260 PyObject
* obj1
= 0 ;
38261 char *kwnames
[] = {
38262 (char *) "self",(char *) "s", NULL
38265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38267 if (SWIG_arg_fail(1)) SWIG_fail
;
38269 arg2
= wxString_in_helper(obj1
);
38270 if (arg2
== NULL
) SWIG_fail
;
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38297 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
;
38299 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38301 PyObject
* obj0
= 0 ;
38302 char *kwnames
[] = {
38303 (char *) "self", NULL
38306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38308 if (SWIG_arg_fail(1)) SWIG_fail
;
38310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38313 wxPyEndAllowThreads(__tstate
);
38314 if (PyErr_Occurred()) SWIG_fail
;
38318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38329 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
;
38331 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38333 PyObject
* obj0
= 0 ;
38334 PyObject
* obj1
= 0 ;
38335 char *kwnames
[] = {
38336 (char *) "self",(char *) "n", NULL
38339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38341 if (SWIG_arg_fail(1)) SWIG_fail
;
38343 arg2
= (int)(SWIG_As_int(obj1
));
38344 if (SWIG_arg_fail(2)) SWIG_fail
;
38347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38348 (arg1
)->Select(arg2
);
38350 wxPyEndAllowThreads(__tstate
);
38351 if (PyErr_Occurred()) SWIG_fail
;
38353 Py_INCREF(Py_None
); resultobj
= Py_None
;
38360 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38363 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38365 return Py_BuildValue((char *)"");
38367 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38370 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38372 return Py_BuildValue((char *)"");
38374 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38375 PyObject
*resultobj
;
38376 wxSizerItem
*result
;
38377 char *kwnames
[] = {
38381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 result
= (wxSizerItem
*)new wxSizerItem();
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38396 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38397 PyObject
*resultobj
;
38398 wxWindow
*arg1
= (wxWindow
*) 0 ;
38402 PyObject
*arg5
= (PyObject
*) NULL
;
38403 wxSizerItem
*result
;
38404 PyObject
* obj0
= 0 ;
38405 PyObject
* obj1
= 0 ;
38406 PyObject
* obj2
= 0 ;
38407 PyObject
* obj3
= 0 ;
38408 PyObject
* obj4
= 0 ;
38409 char *kwnames
[] = {
38410 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38415 if (SWIG_arg_fail(1)) SWIG_fail
;
38417 arg2
= (int)(SWIG_As_int(obj1
));
38418 if (SWIG_arg_fail(2)) SWIG_fail
;
38421 arg3
= (int)(SWIG_As_int(obj2
));
38422 if (SWIG_arg_fail(3)) SWIG_fail
;
38425 arg4
= (int)(SWIG_As_int(obj3
));
38426 if (SWIG_arg_fail(4)) SWIG_fail
;
38432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38433 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38445 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
;
38452 PyObject
*arg6
= (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 PyObject
* obj5
= 0 ;
38460 char *kwnames
[] = {
38461 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38466 arg1
= (int)(SWIG_As_int(obj0
));
38467 if (SWIG_arg_fail(1)) SWIG_fail
;
38470 arg2
= (int)(SWIG_As_int(obj1
));
38471 if (SWIG_arg_fail(2)) SWIG_fail
;
38474 arg3
= (int)(SWIG_As_int(obj2
));
38475 if (SWIG_arg_fail(3)) SWIG_fail
;
38478 arg4
= (int)(SWIG_As_int(obj3
));
38479 if (SWIG_arg_fail(4)) SWIG_fail
;
38482 arg5
= (int)(SWIG_As_int(obj4
));
38483 if (SWIG_arg_fail(5)) SWIG_fail
;
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38492 wxPyEndAllowThreads(__tstate
);
38493 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38502 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38503 PyObject
*resultobj
;
38504 wxSizer
*arg1
= (wxSizer
*) 0 ;
38508 PyObject
*arg5
= (PyObject
*) NULL
;
38509 wxSizerItem
*result
;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 PyObject
* obj2
= 0 ;
38513 PyObject
* obj3
= 0 ;
38514 PyObject
* obj4
= 0 ;
38515 char *kwnames
[] = {
38516 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38521 if (SWIG_arg_fail(1)) SWIG_fail
;
38523 arg2
= (int)(SWIG_As_int(obj1
));
38524 if (SWIG_arg_fail(2)) SWIG_fail
;
38527 arg3
= (int)(SWIG_As_int(obj2
));
38528 if (SWIG_arg_fail(3)) SWIG_fail
;
38531 arg4
= (int)(SWIG_As_int(obj3
));
38532 if (SWIG_arg_fail(4)) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38551 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38552 PyObject
*resultobj
;
38553 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38554 PyObject
* obj0
= 0 ;
38555 char *kwnames
[] = {
38556 (char *) "self", NULL
38559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38561 if (SWIG_arg_fail(1)) SWIG_fail
;
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 (arg1
)->DeleteWindows();
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 Py_INCREF(Py_None
); resultobj
= Py_None
;
38576 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
;
38578 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38579 PyObject
* obj0
= 0 ;
38580 char *kwnames
[] = {
38581 (char *) "self", NULL
38584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38586 if (SWIG_arg_fail(1)) SWIG_fail
;
38588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38589 (arg1
)->DetachSizer();
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38594 Py_INCREF(Py_None
); resultobj
= Py_None
;
38601 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
;
38603 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38605 PyObject
* obj0
= 0 ;
38606 char *kwnames
[] = {
38607 (char *) "self", NULL
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38612 if (SWIG_arg_fail(1)) SWIG_fail
;
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 result
= (arg1
)->GetSize();
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38621 wxSize
* resultptr
;
38622 resultptr
= new wxSize((wxSize
&)(result
));
38623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38631 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38632 PyObject
*resultobj
;
38633 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38635 PyObject
* obj0
= 0 ;
38636 char *kwnames
[] = {
38637 (char *) "self", NULL
38640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38642 if (SWIG_arg_fail(1)) SWIG_fail
;
38644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38645 result
= (arg1
)->CalcMin();
38647 wxPyEndAllowThreads(__tstate
);
38648 if (PyErr_Occurred()) SWIG_fail
;
38651 wxSize
* resultptr
;
38652 resultptr
= new wxSize((wxSize
&)(result
));
38653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38661 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38662 PyObject
*resultobj
;
38663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38666 PyObject
* obj0
= 0 ;
38667 PyObject
* obj1
= 0 ;
38668 PyObject
* obj2
= 0 ;
38669 char *kwnames
[] = {
38670 (char *) "self",(char *) "pos",(char *) "size", NULL
38673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38675 if (SWIG_arg_fail(1)) SWIG_fail
;
38678 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38679 if (SWIG_arg_fail(2)) SWIG_fail
;
38680 if (argp
== NULL
) {
38681 SWIG_null_ref("wxPoint");
38683 if (SWIG_arg_fail(2)) SWIG_fail
;
38688 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38689 if (SWIG_arg_fail(3)) SWIG_fail
;
38690 if (argp
== NULL
) {
38691 SWIG_null_ref("wxSize");
38693 if (SWIG_arg_fail(3)) SWIG_fail
;
38697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38698 (arg1
)->SetDimension(arg2
,arg3
);
38700 wxPyEndAllowThreads(__tstate
);
38701 if (PyErr_Occurred()) SWIG_fail
;
38703 Py_INCREF(Py_None
); resultobj
= Py_None
;
38710 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38711 PyObject
*resultobj
;
38712 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38714 PyObject
* obj0
= 0 ;
38715 char *kwnames
[] = {
38716 (char *) "self", NULL
38719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38721 if (SWIG_arg_fail(1)) SWIG_fail
;
38723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38724 result
= (arg1
)->GetMinSize();
38726 wxPyEndAllowThreads(__tstate
);
38727 if (PyErr_Occurred()) SWIG_fail
;
38730 wxSize
* resultptr
;
38731 resultptr
= new wxSize((wxSize
&)(result
));
38732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38740 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38741 PyObject
*resultobj
;
38742 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38744 PyObject
* obj0
= 0 ;
38745 char *kwnames
[] = {
38746 (char *) "self", NULL
38749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38751 if (SWIG_arg_fail(1)) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38756 wxPyEndAllowThreads(__tstate
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38760 wxSize
* resultptr
;
38761 resultptr
= new wxSize((wxSize
&)(result
));
38762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38770 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38771 PyObject
*resultobj
;
38772 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38775 PyObject
* obj0
= 0 ;
38776 PyObject
* obj1
= 0 ;
38777 PyObject
* obj2
= 0 ;
38778 char *kwnames
[] = {
38779 (char *) "self",(char *) "x",(char *) "y", NULL
38782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38784 if (SWIG_arg_fail(1)) SWIG_fail
;
38786 arg2
= (int)(SWIG_As_int(obj1
));
38787 if (SWIG_arg_fail(2)) SWIG_fail
;
38790 arg3
= (int)(SWIG_As_int(obj2
));
38791 if (SWIG_arg_fail(3)) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->SetInitSize(arg2
,arg3
);
38797 wxPyEndAllowThreads(__tstate
);
38798 if (PyErr_Occurred()) SWIG_fail
;
38800 Py_INCREF(Py_None
); resultobj
= Py_None
;
38807 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38808 PyObject
*resultobj
;
38809 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38812 PyObject
* obj0
= 0 ;
38813 PyObject
* obj1
= 0 ;
38814 PyObject
* obj2
= 0 ;
38815 char *kwnames
[] = {
38816 (char *) "self",(char *) "width",(char *) "height", NULL
38819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38821 if (SWIG_arg_fail(1)) SWIG_fail
;
38823 arg2
= (int)(SWIG_As_int(obj1
));
38824 if (SWIG_arg_fail(2)) SWIG_fail
;
38827 arg3
= (int)(SWIG_As_int(obj2
));
38828 if (SWIG_arg_fail(3)) SWIG_fail
;
38831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38832 (arg1
)->SetRatio(arg2
,arg3
);
38834 wxPyEndAllowThreads(__tstate
);
38835 if (PyErr_Occurred()) SWIG_fail
;
38837 Py_INCREF(Py_None
); resultobj
= Py_None
;
38844 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
;
38846 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38849 PyObject
* obj0
= 0 ;
38850 PyObject
* obj1
= 0 ;
38851 char *kwnames
[] = {
38852 (char *) "self",(char *) "size", NULL
38855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38857 if (SWIG_arg_fail(1)) SWIG_fail
;
38860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38866 wxPyEndAllowThreads(__tstate
);
38867 if (PyErr_Occurred()) SWIG_fail
;
38869 Py_INCREF(Py_None
); resultobj
= Py_None
;
38876 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38877 PyObject
*resultobj
;
38878 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38880 PyObject
* obj0
= 0 ;
38881 PyObject
* obj1
= 0 ;
38882 char *kwnames
[] = {
38883 (char *) "self",(char *) "ratio", NULL
38886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38888 if (SWIG_arg_fail(1)) SWIG_fail
;
38890 arg2
= (float)(SWIG_As_float(obj1
));
38891 if (SWIG_arg_fail(2)) SWIG_fail
;
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 (arg1
)->SetRatio(arg2
);
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38900 Py_INCREF(Py_None
); resultobj
= Py_None
;
38907 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38908 PyObject
*resultobj
;
38909 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38911 PyObject
* obj0
= 0 ;
38912 char *kwnames
[] = {
38913 (char *) "self", NULL
38916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38918 if (SWIG_arg_fail(1)) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 result
= (float)(arg1
)->GetRatio();
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38927 resultobj
= SWIG_From_float((float)(result
));
38935 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38936 PyObject
*resultobj
;
38937 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38939 PyObject
* obj0
= 0 ;
38940 char *kwnames
[] = {
38941 (char *) "self", NULL
38944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38946 if (SWIG_arg_fail(1)) SWIG_fail
;
38948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38949 result
= (arg1
)->GetRect();
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38955 wxRect
* resultptr
;
38956 resultptr
= new wxRect((wxRect
&)(result
));
38957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38965 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38966 PyObject
*resultobj
;
38967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38969 PyObject
* obj0
= 0 ;
38970 char *kwnames
[] = {
38971 (char *) "self", NULL
38974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38976 if (SWIG_arg_fail(1)) SWIG_fail
;
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 result
= (bool)(arg1
)->IsWindow();
38981 wxPyEndAllowThreads(__tstate
);
38982 if (PyErr_Occurred()) SWIG_fail
;
38985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38993 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38994 PyObject
*resultobj
;
38995 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38997 PyObject
* obj0
= 0 ;
38998 char *kwnames
[] = {
38999 (char *) "self", NULL
39002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39004 if (SWIG_arg_fail(1)) SWIG_fail
;
39006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39007 result
= (bool)(arg1
)->IsSizer();
39009 wxPyEndAllowThreads(__tstate
);
39010 if (PyErr_Occurred()) SWIG_fail
;
39013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39021 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39022 PyObject
*resultobj
;
39023 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39025 PyObject
* obj0
= 0 ;
39026 char *kwnames
[] = {
39027 (char *) "self", NULL
39030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39032 if (SWIG_arg_fail(1)) SWIG_fail
;
39034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39035 result
= (bool)(arg1
)->IsSpacer();
39037 wxPyEndAllowThreads(__tstate
);
39038 if (PyErr_Occurred()) SWIG_fail
;
39041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39049 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39050 PyObject
*resultobj
;
39051 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39053 PyObject
* obj0
= 0 ;
39054 PyObject
* obj1
= 0 ;
39055 char *kwnames
[] = {
39056 (char *) "self",(char *) "proportion", NULL
39059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39061 if (SWIG_arg_fail(1)) SWIG_fail
;
39063 arg2
= (int)(SWIG_As_int(obj1
));
39064 if (SWIG_arg_fail(2)) SWIG_fail
;
39067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 (arg1
)->SetProportion(arg2
);
39070 wxPyEndAllowThreads(__tstate
);
39071 if (PyErr_Occurred()) SWIG_fail
;
39073 Py_INCREF(Py_None
); resultobj
= Py_None
;
39080 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39081 PyObject
*resultobj
;
39082 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39084 PyObject
* obj0
= 0 ;
39085 char *kwnames
[] = {
39086 (char *) "self", NULL
39089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39091 if (SWIG_arg_fail(1)) SWIG_fail
;
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= (int)(arg1
)->GetProportion();
39096 wxPyEndAllowThreads(__tstate
);
39097 if (PyErr_Occurred()) SWIG_fail
;
39100 resultobj
= SWIG_From_int((int)(result
));
39108 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39109 PyObject
*resultobj
;
39110 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39112 PyObject
* obj0
= 0 ;
39113 PyObject
* obj1
= 0 ;
39114 char *kwnames
[] = {
39115 (char *) "self",(char *) "flag", NULL
39118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39120 if (SWIG_arg_fail(1)) SWIG_fail
;
39122 arg2
= (int)(SWIG_As_int(obj1
));
39123 if (SWIG_arg_fail(2)) SWIG_fail
;
39126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39127 (arg1
)->SetFlag(arg2
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 Py_INCREF(Py_None
); resultobj
= Py_None
;
39139 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
;
39141 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39143 PyObject
* obj0
= 0 ;
39144 char *kwnames
[] = {
39145 (char *) "self", NULL
39148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39150 if (SWIG_arg_fail(1)) SWIG_fail
;
39152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39153 result
= (int)(arg1
)->GetFlag();
39155 wxPyEndAllowThreads(__tstate
);
39156 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_From_int((int)(result
));
39167 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39168 PyObject
*resultobj
;
39169 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39171 PyObject
* obj0
= 0 ;
39172 PyObject
* obj1
= 0 ;
39173 char *kwnames
[] = {
39174 (char *) "self",(char *) "border", NULL
39177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39179 if (SWIG_arg_fail(1)) SWIG_fail
;
39181 arg2
= (int)(SWIG_As_int(obj1
));
39182 if (SWIG_arg_fail(2)) SWIG_fail
;
39185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39186 (arg1
)->SetBorder(arg2
);
39188 wxPyEndAllowThreads(__tstate
);
39189 if (PyErr_Occurred()) SWIG_fail
;
39191 Py_INCREF(Py_None
); resultobj
= Py_None
;
39198 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39199 PyObject
*resultobj
;
39200 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39202 PyObject
* obj0
= 0 ;
39203 char *kwnames
[] = {
39204 (char *) "self", NULL
39207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39209 if (SWIG_arg_fail(1)) SWIG_fail
;
39211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39212 result
= (int)(arg1
)->GetBorder();
39214 wxPyEndAllowThreads(__tstate
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39218 resultobj
= SWIG_From_int((int)(result
));
39226 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39227 PyObject
*resultobj
;
39228 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39230 PyObject
* obj0
= 0 ;
39231 char *kwnames
[] = {
39232 (char *) "self", NULL
39235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39237 if (SWIG_arg_fail(1)) SWIG_fail
;
39239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39240 result
= (wxWindow
*)(arg1
)->GetWindow();
39242 wxPyEndAllowThreads(__tstate
);
39243 if (PyErr_Occurred()) SWIG_fail
;
39246 resultobj
= wxPyMake_wxObject(result
, 0);
39254 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39255 PyObject
*resultobj
;
39256 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39257 wxWindow
*arg2
= (wxWindow
*) 0 ;
39258 PyObject
* obj0
= 0 ;
39259 PyObject
* obj1
= 0 ;
39260 char *kwnames
[] = {
39261 (char *) "self",(char *) "window", NULL
39264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39266 if (SWIG_arg_fail(1)) SWIG_fail
;
39267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39268 if (SWIG_arg_fail(2)) SWIG_fail
;
39270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39271 (arg1
)->SetWindow(arg2
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39276 Py_INCREF(Py_None
); resultobj
= Py_None
;
39283 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39284 PyObject
*resultobj
;
39285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39287 PyObject
* obj0
= 0 ;
39288 char *kwnames
[] = {
39289 (char *) "self", NULL
39292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39294 if (SWIG_arg_fail(1)) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 result
= (wxSizer
*)(arg1
)->GetSizer();
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39303 resultobj
= wxPyMake_wxSizer(result
, 0);
39311 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39312 PyObject
*resultobj
;
39313 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39314 wxSizer
*arg2
= (wxSizer
*) 0 ;
39315 PyObject
* obj0
= 0 ;
39316 PyObject
* obj1
= 0 ;
39317 char *kwnames
[] = {
39318 (char *) "self",(char *) "sizer", NULL
39321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39323 if (SWIG_arg_fail(1)) SWIG_fail
;
39324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39325 if (SWIG_arg_fail(2)) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 (arg1
)->SetSizer(arg2
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 Py_INCREF(Py_None
); resultobj
= Py_None
;
39340 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39344 PyObject
* obj0
= 0 ;
39345 char *kwnames
[] = {
39346 (char *) "self", NULL
39349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39351 if (SWIG_arg_fail(1)) SWIG_fail
;
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39355 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39356 result
= (wxSize
*) &_result_ref
;
39359 wxPyEndAllowThreads(__tstate
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39369 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39370 PyObject
*resultobj
;
39371 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39374 PyObject
* obj0
= 0 ;
39375 PyObject
* obj1
= 0 ;
39376 char *kwnames
[] = {
39377 (char *) "self",(char *) "size", NULL
39380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39382 if (SWIG_arg_fail(1)) SWIG_fail
;
39385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39389 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 Py_INCREF(Py_None
); resultobj
= Py_None
;
39401 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
;
39403 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39405 PyObject
* obj0
= 0 ;
39406 PyObject
* obj1
= 0 ;
39407 char *kwnames
[] = {
39408 (char *) "self",(char *) "show", NULL
39411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39413 if (SWIG_arg_fail(1)) SWIG_fail
;
39415 arg2
= (bool)(SWIG_As_bool(obj1
));
39416 if (SWIG_arg_fail(2)) SWIG_fail
;
39419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39420 (arg1
)->Show(arg2
);
39422 wxPyEndAllowThreads(__tstate
);
39423 if (PyErr_Occurred()) SWIG_fail
;
39425 Py_INCREF(Py_None
); resultobj
= Py_None
;
39432 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39433 PyObject
*resultobj
;
39434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39436 PyObject
* obj0
= 0 ;
39437 char *kwnames
[] = {
39438 (char *) "self", NULL
39441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39443 if (SWIG_arg_fail(1)) SWIG_fail
;
39445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39446 result
= (bool)(arg1
)->IsShown();
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39460 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39461 PyObject
*resultobj
;
39462 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39464 PyObject
* obj0
= 0 ;
39465 char *kwnames
[] = {
39466 (char *) "self", NULL
39469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39471 if (SWIG_arg_fail(1)) SWIG_fail
;
39473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39474 result
= (arg1
)->GetPosition();
39476 wxPyEndAllowThreads(__tstate
);
39477 if (PyErr_Occurred()) SWIG_fail
;
39480 wxPoint
* resultptr
;
39481 resultptr
= new wxPoint((wxPoint
&)(result
));
39482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39490 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
;
39492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39494 PyObject
* obj0
= 0 ;
39495 char *kwnames
[] = {
39496 (char *) "self", NULL
39499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39501 if (SWIG_arg_fail(1)) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= result
;
39516 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39519 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39521 return Py_BuildValue((char *)"");
39523 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39524 PyObject
*resultobj
;
39525 wxSizer
*arg1
= (wxSizer
*) 0 ;
39526 PyObject
*arg2
= (PyObject
*) 0 ;
39527 PyObject
* obj0
= 0 ;
39528 PyObject
* obj1
= 0 ;
39529 char *kwnames
[] = {
39530 (char *) "self",(char *) "_self", NULL
39533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39535 if (SWIG_arg_fail(1)) SWIG_fail
;
39538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39539 wxSizer__setOORInfo(arg1
,arg2
);
39541 wxPyEndAllowThreads(__tstate
);
39542 if (PyErr_Occurred()) SWIG_fail
;
39544 Py_INCREF(Py_None
); resultobj
= Py_None
;
39551 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39552 PyObject
*resultobj
;
39553 wxSizer
*arg1
= (wxSizer
*) 0 ;
39554 PyObject
*arg2
= (PyObject
*) 0 ;
39555 int arg3
= (int) 0 ;
39556 int arg4
= (int) 0 ;
39557 int arg5
= (int) 0 ;
39558 PyObject
*arg6
= (PyObject
*) NULL
;
39559 wxSizerItem
*result
;
39560 PyObject
* obj0
= 0 ;
39561 PyObject
* obj1
= 0 ;
39562 PyObject
* obj2
= 0 ;
39563 PyObject
* obj3
= 0 ;
39564 PyObject
* obj4
= 0 ;
39565 PyObject
* obj5
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39572 if (SWIG_arg_fail(1)) SWIG_fail
;
39576 arg3
= (int)(SWIG_As_int(obj2
));
39577 if (SWIG_arg_fail(3)) SWIG_fail
;
39582 arg4
= (int)(SWIG_As_int(obj3
));
39583 if (SWIG_arg_fail(4)) SWIG_fail
;
39588 arg5
= (int)(SWIG_As_int(obj4
));
39589 if (SWIG_arg_fail(5)) SWIG_fail
;
39596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39597 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39599 wxPyEndAllowThreads(__tstate
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39609 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39610 PyObject
*resultobj
;
39611 wxSizer
*arg1
= (wxSizer
*) 0 ;
39613 PyObject
*arg3
= (PyObject
*) 0 ;
39614 int arg4
= (int) 0 ;
39615 int arg5
= (int) 0 ;
39616 int arg6
= (int) 0 ;
39617 PyObject
*arg7
= (PyObject
*) NULL
;
39618 wxSizerItem
*result
;
39619 PyObject
* obj0
= 0 ;
39620 PyObject
* obj1
= 0 ;
39621 PyObject
* obj2
= 0 ;
39622 PyObject
* obj3
= 0 ;
39623 PyObject
* obj4
= 0 ;
39624 PyObject
* obj5
= 0 ;
39625 PyObject
* obj6
= 0 ;
39626 char *kwnames
[] = {
39627 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39632 if (SWIG_arg_fail(1)) SWIG_fail
;
39634 arg2
= (int)(SWIG_As_int(obj1
));
39635 if (SWIG_arg_fail(2)) SWIG_fail
;
39640 arg4
= (int)(SWIG_As_int(obj3
));
39641 if (SWIG_arg_fail(4)) SWIG_fail
;
39646 arg5
= (int)(SWIG_As_int(obj4
));
39647 if (SWIG_arg_fail(5)) SWIG_fail
;
39652 arg6
= (int)(SWIG_As_int(obj5
));
39653 if (SWIG_arg_fail(6)) SWIG_fail
;
39660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39661 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39663 wxPyEndAllowThreads(__tstate
);
39664 if (PyErr_Occurred()) SWIG_fail
;
39666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39673 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39674 PyObject
*resultobj
;
39675 wxSizer
*arg1
= (wxSizer
*) 0 ;
39676 PyObject
*arg2
= (PyObject
*) 0 ;
39677 int arg3
= (int) 0 ;
39678 int arg4
= (int) 0 ;
39679 int arg5
= (int) 0 ;
39680 PyObject
*arg6
= (PyObject
*) NULL
;
39681 wxSizerItem
*result
;
39682 PyObject
* obj0
= 0 ;
39683 PyObject
* obj1
= 0 ;
39684 PyObject
* obj2
= 0 ;
39685 PyObject
* obj3
= 0 ;
39686 PyObject
* obj4
= 0 ;
39687 PyObject
* obj5
= 0 ;
39688 char *kwnames
[] = {
39689 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39694 if (SWIG_arg_fail(1)) SWIG_fail
;
39698 arg3
= (int)(SWIG_As_int(obj2
));
39699 if (SWIG_arg_fail(3)) SWIG_fail
;
39704 arg4
= (int)(SWIG_As_int(obj3
));
39705 if (SWIG_arg_fail(4)) SWIG_fail
;
39710 arg5
= (int)(SWIG_As_int(obj4
));
39711 if (SWIG_arg_fail(5)) SWIG_fail
;
39718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39719 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39721 wxPyEndAllowThreads(__tstate
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39731 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39732 PyObject
*resultobj
;
39733 wxSizer
*arg1
= (wxSizer
*) 0 ;
39734 PyObject
*arg2
= (PyObject
*) 0 ;
39736 PyObject
* obj0
= 0 ;
39737 PyObject
* obj1
= 0 ;
39738 char *kwnames
[] = {
39739 (char *) "self",(char *) "item", NULL
39742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39744 if (SWIG_arg_fail(1)) SWIG_fail
;
39747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39748 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39762 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39763 PyObject
*resultobj
;
39764 wxSizer
*arg1
= (wxSizer
*) 0 ;
39765 PyObject
*arg2
= (PyObject
*) 0 ;
39767 PyObject
* obj0
= 0 ;
39768 PyObject
* obj1
= 0 ;
39769 char *kwnames
[] = {
39770 (char *) "self",(char *) "item", NULL
39773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39775 if (SWIG_arg_fail(1)) SWIG_fail
;
39778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39779 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39793 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39794 PyObject
*resultobj
;
39795 wxSizer
*arg1
= (wxSizer
*) 0 ;
39796 PyObject
*arg2
= (PyObject
*) 0 ;
39797 wxSizerItem
*result
;
39798 PyObject
* obj0
= 0 ;
39799 PyObject
* obj1
= 0 ;
39800 char *kwnames
[] = {
39801 (char *) "self",(char *) "item", NULL
39804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39806 if (SWIG_arg_fail(1)) SWIG_fail
;
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39822 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39823 PyObject
*resultobj
;
39824 wxSizer
*arg1
= (wxSizer
*) 0 ;
39825 PyObject
*arg2
= (PyObject
*) 0 ;
39828 PyObject
* obj0
= 0 ;
39829 PyObject
* obj1
= 0 ;
39830 PyObject
* obj2
= 0 ;
39831 char *kwnames
[] = {
39832 (char *) "self",(char *) "item",(char *) "size", NULL
39835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39837 if (SWIG_arg_fail(1)) SWIG_fail
;
39841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 Py_INCREF(Py_None
); resultobj
= Py_None
;
39857 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
;
39859 wxSizer
*arg1
= (wxSizer
*) 0 ;
39860 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39861 wxSizerItem
*result
;
39862 PyObject
* obj0
= 0 ;
39863 PyObject
* obj1
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self",(char *) "item", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39870 if (SWIG_arg_fail(1)) SWIG_fail
;
39871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39872 if (SWIG_arg_fail(2)) SWIG_fail
;
39874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39875 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39877 wxPyEndAllowThreads(__tstate
);
39878 if (PyErr_Occurred()) SWIG_fail
;
39880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39887 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39888 PyObject
*resultobj
;
39889 wxSizer
*arg1
= (wxSizer
*) 0 ;
39891 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39892 wxSizerItem
*result
;
39893 PyObject
* obj0
= 0 ;
39894 PyObject
* obj1
= 0 ;
39895 PyObject
* obj2
= 0 ;
39896 char *kwnames
[] = {
39897 (char *) "self",(char *) "index",(char *) "item", NULL
39900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39902 if (SWIG_arg_fail(1)) SWIG_fail
;
39904 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39905 if (SWIG_arg_fail(2)) SWIG_fail
;
39907 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39908 if (SWIG_arg_fail(3)) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39913 wxPyEndAllowThreads(__tstate
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39923 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
;
39925 wxSizer
*arg1
= (wxSizer
*) 0 ;
39926 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39927 wxSizerItem
*result
;
39928 PyObject
* obj0
= 0 ;
39929 PyObject
* obj1
= 0 ;
39930 char *kwnames
[] = {
39931 (char *) "self",(char *) "item", NULL
39934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39936 if (SWIG_arg_fail(1)) SWIG_fail
;
39937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39938 if (SWIG_arg_fail(2)) SWIG_fail
;
39940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39941 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39943 wxPyEndAllowThreads(__tstate
);
39944 if (PyErr_Occurred()) SWIG_fail
;
39946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39953 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39954 PyObject
*resultobj
;
39955 wxSizer
*arg1
= (wxSizer
*) 0 ;
39960 PyObject
* obj0
= 0 ;
39961 PyObject
* obj1
= 0 ;
39962 PyObject
* obj2
= 0 ;
39963 PyObject
* obj3
= 0 ;
39964 PyObject
* obj4
= 0 ;
39965 char *kwnames
[] = {
39966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39971 if (SWIG_arg_fail(1)) SWIG_fail
;
39973 arg2
= (int)(SWIG_As_int(obj1
));
39974 if (SWIG_arg_fail(2)) SWIG_fail
;
39977 arg3
= (int)(SWIG_As_int(obj2
));
39978 if (SWIG_arg_fail(3)) SWIG_fail
;
39981 arg4
= (int)(SWIG_As_int(obj3
));
39982 if (SWIG_arg_fail(4)) SWIG_fail
;
39985 arg5
= (int)(SWIG_As_int(obj4
));
39986 if (SWIG_arg_fail(5)) SWIG_fail
;
39989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39990 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39992 wxPyEndAllowThreads(__tstate
);
39993 if (PyErr_Occurred()) SWIG_fail
;
39995 Py_INCREF(Py_None
); resultobj
= Py_None
;
40002 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
;
40004 wxSizer
*arg1
= (wxSizer
*) 0 ;
40007 PyObject
* obj0
= 0 ;
40008 PyObject
* obj1
= 0 ;
40009 char *kwnames
[] = {
40010 (char *) "self",(char *) "size", NULL
40013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40015 if (SWIG_arg_fail(1)) SWIG_fail
;
40018 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40022 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40024 wxPyEndAllowThreads(__tstate
);
40025 if (PyErr_Occurred()) SWIG_fail
;
40027 Py_INCREF(Py_None
); resultobj
= Py_None
;
40034 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40035 PyObject
*resultobj
;
40036 wxSizer
*arg1
= (wxSizer
*) 0 ;
40038 PyObject
* obj0
= 0 ;
40039 char *kwnames
[] = {
40040 (char *) "self", NULL
40043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40045 if (SWIG_arg_fail(1)) SWIG_fail
;
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 result
= (arg1
)->GetSize();
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40054 wxSize
* resultptr
;
40055 resultptr
= new wxSize((wxSize
&)(result
));
40056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40064 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40065 PyObject
*resultobj
;
40066 wxSizer
*arg1
= (wxSizer
*) 0 ;
40068 PyObject
* obj0
= 0 ;
40069 char *kwnames
[] = {
40070 (char *) "self", NULL
40073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40075 if (SWIG_arg_fail(1)) SWIG_fail
;
40077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40078 result
= (arg1
)->GetPosition();
40080 wxPyEndAllowThreads(__tstate
);
40081 if (PyErr_Occurred()) SWIG_fail
;
40084 wxPoint
* resultptr
;
40085 resultptr
= new wxPoint((wxPoint
&)(result
));
40086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40094 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40095 PyObject
*resultobj
;
40096 wxSizer
*arg1
= (wxSizer
*) 0 ;
40098 PyObject
* obj0
= 0 ;
40099 char *kwnames
[] = {
40100 (char *) "self", NULL
40103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40105 if (SWIG_arg_fail(1)) SWIG_fail
;
40107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40108 result
= (arg1
)->GetMinSize();
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40114 wxSize
* resultptr
;
40115 resultptr
= new wxSize((wxSize
&)(result
));
40116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40124 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40125 PyObject
*resultobj
;
40126 wxSizer
*arg1
= (wxSizer
*) 0 ;
40127 PyObject
* obj0
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "self", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40134 if (SWIG_arg_fail(1)) SWIG_fail
;
40136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40137 (arg1
)->RecalcSizes();
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40142 Py_INCREF(Py_None
); resultobj
= Py_None
;
40149 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40150 PyObject
*resultobj
;
40151 wxSizer
*arg1
= (wxSizer
*) 0 ;
40153 PyObject
* obj0
= 0 ;
40154 char *kwnames
[] = {
40155 (char *) "self", NULL
40158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40160 if (SWIG_arg_fail(1)) SWIG_fail
;
40162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40163 result
= (arg1
)->CalcMin();
40165 wxPyEndAllowThreads(__tstate
);
40166 if (PyErr_Occurred()) SWIG_fail
;
40169 wxSize
* resultptr
;
40170 resultptr
= new wxSize((wxSize
&)(result
));
40171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40179 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
;
40181 wxSizer
*arg1
= (wxSizer
*) 0 ;
40182 PyObject
* obj0
= 0 ;
40183 char *kwnames
[] = {
40184 (char *) "self", NULL
40187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40189 if (SWIG_arg_fail(1)) SWIG_fail
;
40191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40194 wxPyEndAllowThreads(__tstate
);
40195 if (PyErr_Occurred()) SWIG_fail
;
40197 Py_INCREF(Py_None
); resultobj
= Py_None
;
40204 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40205 PyObject
*resultobj
;
40206 wxSizer
*arg1
= (wxSizer
*) 0 ;
40207 wxWindow
*arg2
= (wxWindow
*) 0 ;
40209 PyObject
* obj0
= 0 ;
40210 PyObject
* obj1
= 0 ;
40211 char *kwnames
[] = {
40212 (char *) "self",(char *) "window", NULL
40215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40217 if (SWIG_arg_fail(1)) SWIG_fail
;
40218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40219 if (SWIG_arg_fail(2)) SWIG_fail
;
40221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40222 result
= (arg1
)->Fit(arg2
);
40224 wxPyEndAllowThreads(__tstate
);
40225 if (PyErr_Occurred()) SWIG_fail
;
40228 wxSize
* resultptr
;
40229 resultptr
= new wxSize((wxSize
&)(result
));
40230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40238 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
;
40240 wxSizer
*arg1
= (wxSizer
*) 0 ;
40241 wxWindow
*arg2
= (wxWindow
*) 0 ;
40242 PyObject
* obj0
= 0 ;
40243 PyObject
* obj1
= 0 ;
40244 char *kwnames
[] = {
40245 (char *) "self",(char *) "window", NULL
40248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40250 if (SWIG_arg_fail(1)) SWIG_fail
;
40251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40252 if (SWIG_arg_fail(2)) SWIG_fail
;
40254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40255 (arg1
)->FitInside(arg2
);
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 Py_INCREF(Py_None
); resultobj
= Py_None
;
40267 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxSizer
*arg1
= (wxSizer
*) 0 ;
40270 wxWindow
*arg2
= (wxWindow
*) 0 ;
40271 PyObject
* obj0
= 0 ;
40272 PyObject
* obj1
= 0 ;
40273 char *kwnames
[] = {
40274 (char *) "self",(char *) "window", NULL
40277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40279 if (SWIG_arg_fail(1)) SWIG_fail
;
40280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40281 if (SWIG_arg_fail(2)) SWIG_fail
;
40283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40284 (arg1
)->SetSizeHints(arg2
);
40286 wxPyEndAllowThreads(__tstate
);
40287 if (PyErr_Occurred()) SWIG_fail
;
40289 Py_INCREF(Py_None
); resultobj
= Py_None
;
40296 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
;
40298 wxSizer
*arg1
= (wxSizer
*) 0 ;
40299 wxWindow
*arg2
= (wxWindow
*) 0 ;
40300 PyObject
* obj0
= 0 ;
40301 PyObject
* obj1
= 0 ;
40302 char *kwnames
[] = {
40303 (char *) "self",(char *) "window", NULL
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40308 if (SWIG_arg_fail(1)) SWIG_fail
;
40309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40310 if (SWIG_arg_fail(2)) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 (arg1
)->SetVirtualSizeHints(arg2
);
40315 wxPyEndAllowThreads(__tstate
);
40316 if (PyErr_Occurred()) SWIG_fail
;
40318 Py_INCREF(Py_None
); resultobj
= Py_None
;
40325 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxSizer
*arg1
= (wxSizer
*) 0 ;
40328 bool arg2
= (bool) false ;
40329 PyObject
* obj0
= 0 ;
40330 PyObject
* obj1
= 0 ;
40331 char *kwnames
[] = {
40332 (char *) "self",(char *) "deleteWindows", NULL
40335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40337 if (SWIG_arg_fail(1)) SWIG_fail
;
40340 arg2
= (bool)(SWIG_As_bool(obj1
));
40341 if (SWIG_arg_fail(2)) SWIG_fail
;
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 (arg1
)->Clear(arg2
);
40348 wxPyEndAllowThreads(__tstate
);
40349 if (PyErr_Occurred()) SWIG_fail
;
40351 Py_INCREF(Py_None
); resultobj
= Py_None
;
40358 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40359 PyObject
*resultobj
;
40360 wxSizer
*arg1
= (wxSizer
*) 0 ;
40361 PyObject
* obj0
= 0 ;
40362 char *kwnames
[] = {
40363 (char *) "self", NULL
40366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40368 if (SWIG_arg_fail(1)) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 (arg1
)->DeleteWindows();
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40376 Py_INCREF(Py_None
); resultobj
= Py_None
;
40383 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
;
40385 wxSizer
*arg1
= (wxSizer
*) 0 ;
40387 PyObject
* obj0
= 0 ;
40388 char *kwnames
[] = {
40389 (char *) "self", NULL
40392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40394 if (SWIG_arg_fail(1)) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40402 resultobj
= result
;
40409 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxSizer
*arg1
= (wxSizer
*) 0 ;
40412 PyObject
*arg2
= (PyObject
*) 0 ;
40413 bool arg3
= (bool) true ;
40414 bool arg4
= (bool) false ;
40416 PyObject
* obj0
= 0 ;
40417 PyObject
* obj1
= 0 ;
40418 PyObject
* obj2
= 0 ;
40419 PyObject
* obj3
= 0 ;
40420 char *kwnames
[] = {
40421 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40426 if (SWIG_arg_fail(1)) SWIG_fail
;
40430 arg3
= (bool)(SWIG_As_bool(obj2
));
40431 if (SWIG_arg_fail(3)) SWIG_fail
;
40436 arg4
= (bool)(SWIG_As_bool(obj3
));
40437 if (SWIG_arg_fail(4)) SWIG_fail
;
40441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40442 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40456 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40457 PyObject
*resultobj
;
40458 wxSizer
*arg1
= (wxSizer
*) 0 ;
40459 PyObject
*arg2
= (PyObject
*) 0 ;
40461 PyObject
* obj0
= 0 ;
40462 PyObject
* obj1
= 0 ;
40463 char *kwnames
[] = {
40464 (char *) "self",(char *) "item", NULL
40467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40469 if (SWIG_arg_fail(1)) SWIG_fail
;
40472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40473 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40475 wxPyEndAllowThreads(__tstate
);
40476 if (PyErr_Occurred()) SWIG_fail
;
40479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40487 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40488 PyObject
*resultobj
;
40489 wxSizer
*arg1
= (wxSizer
*) 0 ;
40491 PyObject
* obj0
= 0 ;
40492 PyObject
* obj1
= 0 ;
40493 char *kwnames
[] = {
40494 (char *) "self",(char *) "show", NULL
40497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40499 if (SWIG_arg_fail(1)) SWIG_fail
;
40501 arg2
= (bool)(SWIG_As_bool(obj1
));
40502 if (SWIG_arg_fail(2)) SWIG_fail
;
40505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40506 (arg1
)->ShowItems(arg2
);
40508 wxPyEndAllowThreads(__tstate
);
40509 if (PyErr_Occurred()) SWIG_fail
;
40511 Py_INCREF(Py_None
); resultobj
= Py_None
;
40518 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40521 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40523 return Py_BuildValue((char *)"");
40525 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40526 PyObject
*resultobj
;
40528 char *kwnames
[] = {
40532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40535 result
= (wxPySizer
*)new wxPySizer();
40537 wxPyEndAllowThreads(__tstate
);
40538 if (PyErr_Occurred()) SWIG_fail
;
40540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40547 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40548 PyObject
*resultobj
;
40549 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40550 PyObject
*arg2
= (PyObject
*) 0 ;
40551 PyObject
*arg3
= (PyObject
*) 0 ;
40552 PyObject
* obj0
= 0 ;
40553 PyObject
* obj1
= 0 ;
40554 PyObject
* obj2
= 0 ;
40555 char *kwnames
[] = {
40556 (char *) "self",(char *) "self",(char *) "_class", NULL
40559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40561 if (SWIG_arg_fail(1)) SWIG_fail
;
40565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40566 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40568 wxPyEndAllowThreads(__tstate
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40571 Py_INCREF(Py_None
); resultobj
= Py_None
;
40578 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40581 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40583 return Py_BuildValue((char *)"");
40585 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40586 PyObject
*resultobj
;
40587 int arg1
= (int) wxHORIZONTAL
;
40588 wxBoxSizer
*result
;
40589 PyObject
* obj0
= 0 ;
40590 char *kwnames
[] = {
40591 (char *) "orient", NULL
40594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40597 arg1
= (int)(SWIG_As_int(obj0
));
40598 if (SWIG_arg_fail(1)) SWIG_fail
;
40602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40603 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40605 wxPyEndAllowThreads(__tstate
);
40606 if (PyErr_Occurred()) SWIG_fail
;
40608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40615 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40616 PyObject
*resultobj
;
40617 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40619 PyObject
* obj0
= 0 ;
40620 char *kwnames
[] = {
40621 (char *) "self", NULL
40624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40626 if (SWIG_arg_fail(1)) SWIG_fail
;
40628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40629 result
= (int)(arg1
)->GetOrientation();
40631 wxPyEndAllowThreads(__tstate
);
40632 if (PyErr_Occurred()) SWIG_fail
;
40635 resultobj
= SWIG_From_int((int)(result
));
40643 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40644 PyObject
*resultobj
;
40645 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40647 PyObject
* obj0
= 0 ;
40648 PyObject
* obj1
= 0 ;
40649 char *kwnames
[] = {
40650 (char *) "self",(char *) "orient", NULL
40653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40655 if (SWIG_arg_fail(1)) SWIG_fail
;
40657 arg2
= (int)(SWIG_As_int(obj1
));
40658 if (SWIG_arg_fail(2)) SWIG_fail
;
40661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40662 (arg1
)->SetOrientation(arg2
);
40664 wxPyEndAllowThreads(__tstate
);
40665 if (PyErr_Occurred()) SWIG_fail
;
40667 Py_INCREF(Py_None
); resultobj
= Py_None
;
40674 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40677 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40679 return Py_BuildValue((char *)"");
40681 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40682 PyObject
*resultobj
;
40683 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40684 int arg2
= (int) wxHORIZONTAL
;
40685 wxStaticBoxSizer
*result
;
40686 PyObject
* obj0
= 0 ;
40687 PyObject
* obj1
= 0 ;
40688 char *kwnames
[] = {
40689 (char *) "box",(char *) "orient", NULL
40692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40694 if (SWIG_arg_fail(1)) SWIG_fail
;
40697 arg2
= (int)(SWIG_As_int(obj1
));
40698 if (SWIG_arg_fail(2)) SWIG_fail
;
40702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40703 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40705 wxPyEndAllowThreads(__tstate
);
40706 if (PyErr_Occurred()) SWIG_fail
;
40708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40715 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40716 PyObject
*resultobj
;
40717 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40718 wxStaticBox
*result
;
40719 PyObject
* obj0
= 0 ;
40720 char *kwnames
[] = {
40721 (char *) "self", NULL
40724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40726 if (SWIG_arg_fail(1)) SWIG_fail
;
40728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40729 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40731 wxPyEndAllowThreads(__tstate
);
40732 if (PyErr_Occurred()) SWIG_fail
;
40735 resultobj
= wxPyMake_wxObject(result
, 0);
40743 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40746 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40748 return Py_BuildValue((char *)"");
40750 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40751 PyObject
*resultobj
;
40752 int arg1
= (int) 1 ;
40753 int arg2
= (int) 0 ;
40754 int arg3
= (int) 0 ;
40755 int arg4
= (int) 0 ;
40756 wxGridSizer
*result
;
40757 PyObject
* obj0
= 0 ;
40758 PyObject
* obj1
= 0 ;
40759 PyObject
* obj2
= 0 ;
40760 PyObject
* obj3
= 0 ;
40761 char *kwnames
[] = {
40762 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40768 arg1
= (int)(SWIG_As_int(obj0
));
40769 if (SWIG_arg_fail(1)) SWIG_fail
;
40774 arg2
= (int)(SWIG_As_int(obj1
));
40775 if (SWIG_arg_fail(2)) SWIG_fail
;
40780 arg3
= (int)(SWIG_As_int(obj2
));
40781 if (SWIG_arg_fail(3)) SWIG_fail
;
40786 arg4
= (int)(SWIG_As_int(obj3
));
40787 if (SWIG_arg_fail(4)) SWIG_fail
;
40791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40792 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40804 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
;
40806 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40808 PyObject
* obj0
= 0 ;
40809 PyObject
* obj1
= 0 ;
40810 char *kwnames
[] = {
40811 (char *) "self",(char *) "cols", NULL
40814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40816 if (SWIG_arg_fail(1)) SWIG_fail
;
40818 arg2
= (int)(SWIG_As_int(obj1
));
40819 if (SWIG_arg_fail(2)) SWIG_fail
;
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 (arg1
)->SetCols(arg2
);
40825 wxPyEndAllowThreads(__tstate
);
40826 if (PyErr_Occurred()) SWIG_fail
;
40828 Py_INCREF(Py_None
); resultobj
= Py_None
;
40835 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40836 PyObject
*resultobj
;
40837 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40839 PyObject
* obj0
= 0 ;
40840 PyObject
* obj1
= 0 ;
40841 char *kwnames
[] = {
40842 (char *) "self",(char *) "rows", NULL
40845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40847 if (SWIG_arg_fail(1)) SWIG_fail
;
40849 arg2
= (int)(SWIG_As_int(obj1
));
40850 if (SWIG_arg_fail(2)) SWIG_fail
;
40853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40854 (arg1
)->SetRows(arg2
);
40856 wxPyEndAllowThreads(__tstate
);
40857 if (PyErr_Occurred()) SWIG_fail
;
40859 Py_INCREF(Py_None
); resultobj
= Py_None
;
40866 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40867 PyObject
*resultobj
;
40868 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40870 PyObject
* obj0
= 0 ;
40871 PyObject
* obj1
= 0 ;
40872 char *kwnames
[] = {
40873 (char *) "self",(char *) "gap", NULL
40876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40878 if (SWIG_arg_fail(1)) SWIG_fail
;
40880 arg2
= (int)(SWIG_As_int(obj1
));
40881 if (SWIG_arg_fail(2)) SWIG_fail
;
40884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40885 (arg1
)->SetVGap(arg2
);
40887 wxPyEndAllowThreads(__tstate
);
40888 if (PyErr_Occurred()) SWIG_fail
;
40890 Py_INCREF(Py_None
); resultobj
= Py_None
;
40897 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40898 PyObject
*resultobj
;
40899 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40901 PyObject
* obj0
= 0 ;
40902 PyObject
* obj1
= 0 ;
40903 char *kwnames
[] = {
40904 (char *) "self",(char *) "gap", NULL
40907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40909 if (SWIG_arg_fail(1)) SWIG_fail
;
40911 arg2
= (int)(SWIG_As_int(obj1
));
40912 if (SWIG_arg_fail(2)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 (arg1
)->SetHGap(arg2
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40921 Py_INCREF(Py_None
); resultobj
= Py_None
;
40928 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40932 PyObject
* obj0
= 0 ;
40933 char *kwnames
[] = {
40934 (char *) "self", NULL
40937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40939 if (SWIG_arg_fail(1)) SWIG_fail
;
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 result
= (int)(arg1
)->GetCols();
40944 wxPyEndAllowThreads(__tstate
);
40945 if (PyErr_Occurred()) SWIG_fail
;
40948 resultobj
= SWIG_From_int((int)(result
));
40956 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40957 PyObject
*resultobj
;
40958 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40960 PyObject
* obj0
= 0 ;
40961 char *kwnames
[] = {
40962 (char *) "self", NULL
40965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40967 if (SWIG_arg_fail(1)) SWIG_fail
;
40969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40970 result
= (int)(arg1
)->GetRows();
40972 wxPyEndAllowThreads(__tstate
);
40973 if (PyErr_Occurred()) SWIG_fail
;
40976 resultobj
= SWIG_From_int((int)(result
));
40984 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40985 PyObject
*resultobj
;
40986 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40988 PyObject
* obj0
= 0 ;
40989 char *kwnames
[] = {
40990 (char *) "self", NULL
40993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40995 if (SWIG_arg_fail(1)) SWIG_fail
;
40997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40998 result
= (int)(arg1
)->GetVGap();
41000 wxPyEndAllowThreads(__tstate
);
41001 if (PyErr_Occurred()) SWIG_fail
;
41004 resultobj
= SWIG_From_int((int)(result
));
41012 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41013 PyObject
*resultobj
;
41014 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41016 PyObject
* obj0
= 0 ;
41017 char *kwnames
[] = {
41018 (char *) "self", NULL
41021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41023 if (SWIG_arg_fail(1)) SWIG_fail
;
41025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41026 result
= (int)(arg1
)->GetHGap();
41028 wxPyEndAllowThreads(__tstate
);
41029 if (PyErr_Occurred()) SWIG_fail
;
41032 resultobj
= SWIG_From_int((int)(result
));
41040 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41043 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41045 return Py_BuildValue((char *)"");
41047 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41048 PyObject
*resultobj
;
41049 int arg1
= (int) 1 ;
41050 int arg2
= (int) 0 ;
41051 int arg3
= (int) 0 ;
41052 int arg4
= (int) 0 ;
41053 wxFlexGridSizer
*result
;
41054 PyObject
* obj0
= 0 ;
41055 PyObject
* obj1
= 0 ;
41056 PyObject
* obj2
= 0 ;
41057 PyObject
* obj3
= 0 ;
41058 char *kwnames
[] = {
41059 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41065 arg1
= (int)(SWIG_As_int(obj0
));
41066 if (SWIG_arg_fail(1)) SWIG_fail
;
41071 arg2
= (int)(SWIG_As_int(obj1
));
41072 if (SWIG_arg_fail(2)) SWIG_fail
;
41077 arg3
= (int)(SWIG_As_int(obj2
));
41078 if (SWIG_arg_fail(3)) SWIG_fail
;
41083 arg4
= (int)(SWIG_As_int(obj3
));
41084 if (SWIG_arg_fail(4)) SWIG_fail
;
41088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41089 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41091 wxPyEndAllowThreads(__tstate
);
41092 if (PyErr_Occurred()) SWIG_fail
;
41094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41101 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41102 PyObject
*resultobj
;
41103 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41105 int arg3
= (int) 0 ;
41106 PyObject
* obj0
= 0 ;
41107 PyObject
* obj1
= 0 ;
41108 PyObject
* obj2
= 0 ;
41109 char *kwnames
[] = {
41110 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41115 if (SWIG_arg_fail(1)) SWIG_fail
;
41117 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41118 if (SWIG_arg_fail(2)) SWIG_fail
;
41122 arg3
= (int)(SWIG_As_int(obj2
));
41123 if (SWIG_arg_fail(3)) SWIG_fail
;
41127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41128 (arg1
)->AddGrowableRow(arg2
,arg3
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41133 Py_INCREF(Py_None
); resultobj
= Py_None
;
41140 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41141 PyObject
*resultobj
;
41142 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41144 PyObject
* obj0
= 0 ;
41145 PyObject
* obj1
= 0 ;
41146 char *kwnames
[] = {
41147 (char *) "self",(char *) "idx", NULL
41150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41152 if (SWIG_arg_fail(1)) SWIG_fail
;
41154 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41155 if (SWIG_arg_fail(2)) SWIG_fail
;
41158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41159 (arg1
)->RemoveGrowableRow(arg2
);
41161 wxPyEndAllowThreads(__tstate
);
41162 if (PyErr_Occurred()) SWIG_fail
;
41164 Py_INCREF(Py_None
); resultobj
= Py_None
;
41171 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41172 PyObject
*resultobj
;
41173 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41175 int arg3
= (int) 0 ;
41176 PyObject
* obj0
= 0 ;
41177 PyObject
* obj1
= 0 ;
41178 PyObject
* obj2
= 0 ;
41179 char *kwnames
[] = {
41180 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41185 if (SWIG_arg_fail(1)) SWIG_fail
;
41187 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41188 if (SWIG_arg_fail(2)) SWIG_fail
;
41192 arg3
= (int)(SWIG_As_int(obj2
));
41193 if (SWIG_arg_fail(3)) SWIG_fail
;
41197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41198 (arg1
)->AddGrowableCol(arg2
,arg3
);
41200 wxPyEndAllowThreads(__tstate
);
41201 if (PyErr_Occurred()) SWIG_fail
;
41203 Py_INCREF(Py_None
); resultobj
= Py_None
;
41210 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41211 PyObject
*resultobj
;
41212 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41214 PyObject
* obj0
= 0 ;
41215 PyObject
* obj1
= 0 ;
41216 char *kwnames
[] = {
41217 (char *) "self",(char *) "idx", NULL
41220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41222 if (SWIG_arg_fail(1)) SWIG_fail
;
41224 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41225 if (SWIG_arg_fail(2)) SWIG_fail
;
41228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41229 (arg1
)->RemoveGrowableCol(arg2
);
41231 wxPyEndAllowThreads(__tstate
);
41232 if (PyErr_Occurred()) SWIG_fail
;
41234 Py_INCREF(Py_None
); resultobj
= Py_None
;
41241 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41242 PyObject
*resultobj
;
41243 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41245 PyObject
* obj0
= 0 ;
41246 PyObject
* obj1
= 0 ;
41247 char *kwnames
[] = {
41248 (char *) "self",(char *) "direction", NULL
41251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41253 if (SWIG_arg_fail(1)) SWIG_fail
;
41255 arg2
= (int)(SWIG_As_int(obj1
));
41256 if (SWIG_arg_fail(2)) SWIG_fail
;
41259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41260 (arg1
)->SetFlexibleDirection(arg2
);
41262 wxPyEndAllowThreads(__tstate
);
41263 if (PyErr_Occurred()) SWIG_fail
;
41265 Py_INCREF(Py_None
); resultobj
= Py_None
;
41272 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41273 PyObject
*resultobj
;
41274 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41276 PyObject
* obj0
= 0 ;
41277 char *kwnames
[] = {
41278 (char *) "self", NULL
41281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41283 if (SWIG_arg_fail(1)) SWIG_fail
;
41285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41286 result
= (int)(arg1
)->GetFlexibleDirection();
41288 wxPyEndAllowThreads(__tstate
);
41289 if (PyErr_Occurred()) SWIG_fail
;
41292 resultobj
= SWIG_From_int((int)(result
));
41300 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41301 PyObject
*resultobj
;
41302 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41303 wxFlexSizerGrowMode arg2
;
41304 PyObject
* obj0
= 0 ;
41305 PyObject
* obj1
= 0 ;
41306 char *kwnames
[] = {
41307 (char *) "self",(char *) "mode", NULL
41310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41312 if (SWIG_arg_fail(1)) SWIG_fail
;
41314 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41315 if (SWIG_arg_fail(2)) SWIG_fail
;
41318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41319 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41321 wxPyEndAllowThreads(__tstate
);
41322 if (PyErr_Occurred()) SWIG_fail
;
41324 Py_INCREF(Py_None
); resultobj
= Py_None
;
41331 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41332 PyObject
*resultobj
;
41333 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41334 wxFlexSizerGrowMode result
;
41335 PyObject
* obj0
= 0 ;
41336 char *kwnames
[] = {
41337 (char *) "self", NULL
41340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41342 if (SWIG_arg_fail(1)) SWIG_fail
;
41344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41345 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41347 wxPyEndAllowThreads(__tstate
);
41348 if (PyErr_Occurred()) SWIG_fail
;
41350 resultobj
= SWIG_From_int((result
));
41357 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41358 PyObject
*resultobj
;
41359 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41360 wxArrayInt
*result
;
41361 PyObject
* obj0
= 0 ;
41362 char *kwnames
[] = {
41363 (char *) "self", NULL
41366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41368 if (SWIG_arg_fail(1)) SWIG_fail
;
41370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41372 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41373 result
= (wxArrayInt
*) &_result_ref
;
41376 wxPyEndAllowThreads(__tstate
);
41377 if (PyErr_Occurred()) SWIG_fail
;
41380 resultobj
= PyList_New(0);
41382 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41383 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41384 PyList_Append(resultobj
, val
);
41394 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41395 PyObject
*resultobj
;
41396 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41397 wxArrayInt
*result
;
41398 PyObject
* obj0
= 0 ;
41399 char *kwnames
[] = {
41400 (char *) "self", NULL
41403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41405 if (SWIG_arg_fail(1)) SWIG_fail
;
41407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41409 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41410 result
= (wxArrayInt
*) &_result_ref
;
41413 wxPyEndAllowThreads(__tstate
);
41414 if (PyErr_Occurred()) SWIG_fail
;
41417 resultobj
= PyList_New(0);
41419 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41420 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41421 PyList_Append(resultobj
, val
);
41431 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41434 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41436 return Py_BuildValue((char *)"");
41438 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41439 PyObject
*resultobj
;
41440 wxStdDialogButtonSizer
*result
;
41441 char *kwnames
[] = {
41445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41448 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41450 wxPyEndAllowThreads(__tstate
);
41451 if (PyErr_Occurred()) SWIG_fail
;
41453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41460 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41461 PyObject
*resultobj
;
41462 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41463 wxButton
*arg2
= (wxButton
*) 0 ;
41464 PyObject
* obj0
= 0 ;
41465 PyObject
* obj1
= 0 ;
41466 char *kwnames
[] = {
41467 (char *) "self",(char *) "button", NULL
41470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41472 if (SWIG_arg_fail(1)) SWIG_fail
;
41473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41474 if (SWIG_arg_fail(2)) SWIG_fail
;
41476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41477 (arg1
)->AddButton(arg2
);
41479 wxPyEndAllowThreads(__tstate
);
41480 if (PyErr_Occurred()) SWIG_fail
;
41482 Py_INCREF(Py_None
); resultobj
= Py_None
;
41489 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41490 PyObject
*resultobj
;
41491 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41492 PyObject
* obj0
= 0 ;
41493 char *kwnames
[] = {
41494 (char *) "self", NULL
41497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41499 if (SWIG_arg_fail(1)) SWIG_fail
;
41501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41504 wxPyEndAllowThreads(__tstate
);
41505 if (PyErr_Occurred()) SWIG_fail
;
41507 Py_INCREF(Py_None
); resultobj
= Py_None
;
41514 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41515 PyObject
*resultobj
;
41516 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41517 wxButton
*arg2
= (wxButton
*) 0 ;
41518 PyObject
* obj0
= 0 ;
41519 PyObject
* obj1
= 0 ;
41520 char *kwnames
[] = {
41521 (char *) "self",(char *) "button", NULL
41524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41526 if (SWIG_arg_fail(1)) SWIG_fail
;
41527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41528 if (SWIG_arg_fail(2)) SWIG_fail
;
41530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41531 (arg1
)->SetAffirmativeButton(arg2
);
41533 wxPyEndAllowThreads(__tstate
);
41534 if (PyErr_Occurred()) SWIG_fail
;
41536 Py_INCREF(Py_None
); resultobj
= Py_None
;
41543 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41544 PyObject
*resultobj
;
41545 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41546 wxButton
*arg2
= (wxButton
*) 0 ;
41547 PyObject
* obj0
= 0 ;
41548 PyObject
* obj1
= 0 ;
41549 char *kwnames
[] = {
41550 (char *) "self",(char *) "button", NULL
41553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41555 if (SWIG_arg_fail(1)) SWIG_fail
;
41556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41557 if (SWIG_arg_fail(2)) SWIG_fail
;
41559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41560 (arg1
)->SetNegativeButton(arg2
);
41562 wxPyEndAllowThreads(__tstate
);
41563 if (PyErr_Occurred()) SWIG_fail
;
41565 Py_INCREF(Py_None
); resultobj
= Py_None
;
41572 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41573 PyObject
*resultobj
;
41574 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41575 wxButton
*arg2
= (wxButton
*) 0 ;
41576 PyObject
* obj0
= 0 ;
41577 PyObject
* obj1
= 0 ;
41578 char *kwnames
[] = {
41579 (char *) "self",(char *) "button", NULL
41582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41584 if (SWIG_arg_fail(1)) SWIG_fail
;
41585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41586 if (SWIG_arg_fail(2)) SWIG_fail
;
41588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41589 (arg1
)->SetCancelButton(arg2
);
41591 wxPyEndAllowThreads(__tstate
);
41592 if (PyErr_Occurred()) SWIG_fail
;
41594 Py_INCREF(Py_None
); resultobj
= Py_None
;
41601 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41602 PyObject
*resultobj
;
41603 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41605 PyObject
* obj0
= 0 ;
41606 char *kwnames
[] = {
41607 (char *) "self", NULL
41610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41612 if (SWIG_arg_fail(1)) SWIG_fail
;
41614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41615 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41617 wxPyEndAllowThreads(__tstate
);
41618 if (PyErr_Occurred()) SWIG_fail
;
41621 resultobj
= wxPyMake_wxObject(result
, 0);
41629 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41630 PyObject
*resultobj
;
41631 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41633 PyObject
* obj0
= 0 ;
41634 char *kwnames
[] = {
41635 (char *) "self", NULL
41638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41640 if (SWIG_arg_fail(1)) SWIG_fail
;
41642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41643 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41645 wxPyEndAllowThreads(__tstate
);
41646 if (PyErr_Occurred()) SWIG_fail
;
41649 resultobj
= wxPyMake_wxObject(result
, 0);
41657 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41658 PyObject
*resultobj
;
41659 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41661 PyObject
* obj0
= 0 ;
41662 char *kwnames
[] = {
41663 (char *) "self", NULL
41666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41668 if (SWIG_arg_fail(1)) SWIG_fail
;
41670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41671 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41673 wxPyEndAllowThreads(__tstate
);
41674 if (PyErr_Occurred()) SWIG_fail
;
41677 resultobj
= wxPyMake_wxObject(result
, 0);
41685 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41686 PyObject
*resultobj
;
41687 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41689 PyObject
* obj0
= 0 ;
41690 char *kwnames
[] = {
41691 (char *) "self", NULL
41694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41696 if (SWIG_arg_fail(1)) SWIG_fail
;
41698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41699 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41701 wxPyEndAllowThreads(__tstate
);
41702 if (PyErr_Occurred()) SWIG_fail
;
41705 resultobj
= wxPyMake_wxObject(result
, 0);
41713 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41714 PyObject
*resultobj
;
41715 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41717 PyObject
* obj0
= 0 ;
41718 char *kwnames
[] = {
41719 (char *) "self", NULL
41722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41724 if (SWIG_arg_fail(1)) SWIG_fail
;
41726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41727 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41729 wxPyEndAllowThreads(__tstate
);
41730 if (PyErr_Occurred()) SWIG_fail
;
41733 resultobj
= wxPyMake_wxObject(result
, 0);
41741 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41744 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41746 return Py_BuildValue((char *)"");
41748 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41749 PyObject
*resultobj
;
41750 int arg1
= (int) 0 ;
41751 int arg2
= (int) 0 ;
41752 wxGBPosition
*result
;
41753 PyObject
* obj0
= 0 ;
41754 PyObject
* obj1
= 0 ;
41755 char *kwnames
[] = {
41756 (char *) "row",(char *) "col", NULL
41759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41762 arg1
= (int)(SWIG_As_int(obj0
));
41763 if (SWIG_arg_fail(1)) SWIG_fail
;
41768 arg2
= (int)(SWIG_As_int(obj1
));
41769 if (SWIG_arg_fail(2)) SWIG_fail
;
41773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41774 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41776 wxPyEndAllowThreads(__tstate
);
41777 if (PyErr_Occurred()) SWIG_fail
;
41779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41786 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41787 PyObject
*resultobj
;
41788 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41790 PyObject
* obj0
= 0 ;
41791 char *kwnames
[] = {
41792 (char *) "self", NULL
41795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41797 if (SWIG_arg_fail(1)) SWIG_fail
;
41799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41800 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41802 wxPyEndAllowThreads(__tstate
);
41803 if (PyErr_Occurred()) SWIG_fail
;
41806 resultobj
= SWIG_From_int((int)(result
));
41814 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41815 PyObject
*resultobj
;
41816 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41818 PyObject
* obj0
= 0 ;
41819 char *kwnames
[] = {
41820 (char *) "self", NULL
41823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41825 if (SWIG_arg_fail(1)) SWIG_fail
;
41827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41828 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41830 wxPyEndAllowThreads(__tstate
);
41831 if (PyErr_Occurred()) SWIG_fail
;
41834 resultobj
= SWIG_From_int((int)(result
));
41842 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41843 PyObject
*resultobj
;
41844 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41846 PyObject
* obj0
= 0 ;
41847 PyObject
* obj1
= 0 ;
41848 char *kwnames
[] = {
41849 (char *) "self",(char *) "row", NULL
41852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41854 if (SWIG_arg_fail(1)) SWIG_fail
;
41856 arg2
= (int)(SWIG_As_int(obj1
));
41857 if (SWIG_arg_fail(2)) SWIG_fail
;
41860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41861 (arg1
)->SetRow(arg2
);
41863 wxPyEndAllowThreads(__tstate
);
41864 if (PyErr_Occurred()) SWIG_fail
;
41866 Py_INCREF(Py_None
); resultobj
= Py_None
;
41873 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41874 PyObject
*resultobj
;
41875 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41877 PyObject
* obj0
= 0 ;
41878 PyObject
* obj1
= 0 ;
41879 char *kwnames
[] = {
41880 (char *) "self",(char *) "col", NULL
41883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41885 if (SWIG_arg_fail(1)) SWIG_fail
;
41887 arg2
= (int)(SWIG_As_int(obj1
));
41888 if (SWIG_arg_fail(2)) SWIG_fail
;
41891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41892 (arg1
)->SetCol(arg2
);
41894 wxPyEndAllowThreads(__tstate
);
41895 if (PyErr_Occurred()) SWIG_fail
;
41897 Py_INCREF(Py_None
); resultobj
= Py_None
;
41904 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41905 PyObject
*resultobj
;
41906 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41907 wxGBPosition
*arg2
= 0 ;
41909 wxGBPosition temp2
;
41910 PyObject
* obj0
= 0 ;
41911 PyObject
* obj1
= 0 ;
41912 char *kwnames
[] = {
41913 (char *) "self",(char *) "other", NULL
41916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41918 if (SWIG_arg_fail(1)) SWIG_fail
;
41921 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41925 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41927 wxPyEndAllowThreads(__tstate
);
41928 if (PyErr_Occurred()) SWIG_fail
;
41931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41939 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41940 PyObject
*resultobj
;
41941 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41942 wxGBPosition
*arg2
= 0 ;
41944 wxGBPosition temp2
;
41945 PyObject
* obj0
= 0 ;
41946 PyObject
* obj1
= 0 ;
41947 char *kwnames
[] = {
41948 (char *) "self",(char *) "other", NULL
41951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41953 if (SWIG_arg_fail(1)) SWIG_fail
;
41956 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41960 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41962 wxPyEndAllowThreads(__tstate
);
41963 if (PyErr_Occurred()) SWIG_fail
;
41966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41974 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41975 PyObject
*resultobj
;
41976 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41977 int arg2
= (int) 0 ;
41978 int arg3
= (int) 0 ;
41979 PyObject
* obj0
= 0 ;
41980 PyObject
* obj1
= 0 ;
41981 PyObject
* obj2
= 0 ;
41982 char *kwnames
[] = {
41983 (char *) "self",(char *) "row",(char *) "col", NULL
41986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41988 if (SWIG_arg_fail(1)) SWIG_fail
;
41991 arg2
= (int)(SWIG_As_int(obj1
));
41992 if (SWIG_arg_fail(2)) SWIG_fail
;
41997 arg3
= (int)(SWIG_As_int(obj2
));
41998 if (SWIG_arg_fail(3)) SWIG_fail
;
42002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42003 wxGBPosition_Set(arg1
,arg2
,arg3
);
42005 wxPyEndAllowThreads(__tstate
);
42006 if (PyErr_Occurred()) SWIG_fail
;
42008 Py_INCREF(Py_None
); resultobj
= Py_None
;
42015 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42016 PyObject
*resultobj
;
42017 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42019 PyObject
* obj0
= 0 ;
42020 char *kwnames
[] = {
42021 (char *) "self", NULL
42024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42026 if (SWIG_arg_fail(1)) SWIG_fail
;
42028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42029 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42031 wxPyEndAllowThreads(__tstate
);
42032 if (PyErr_Occurred()) SWIG_fail
;
42034 resultobj
= result
;
42041 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42044 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42046 return Py_BuildValue((char *)"");
42048 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42049 PyObject
*resultobj
;
42050 int arg1
= (int) 1 ;
42051 int arg2
= (int) 1 ;
42053 PyObject
* obj0
= 0 ;
42054 PyObject
* obj1
= 0 ;
42055 char *kwnames
[] = {
42056 (char *) "rowspan",(char *) "colspan", NULL
42059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42062 arg1
= (int)(SWIG_As_int(obj0
));
42063 if (SWIG_arg_fail(1)) SWIG_fail
;
42068 arg2
= (int)(SWIG_As_int(obj1
));
42069 if (SWIG_arg_fail(2)) SWIG_fail
;
42073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42074 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42076 wxPyEndAllowThreads(__tstate
);
42077 if (PyErr_Occurred()) SWIG_fail
;
42079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42086 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42087 PyObject
*resultobj
;
42088 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42090 PyObject
* obj0
= 0 ;
42091 char *kwnames
[] = {
42092 (char *) "self", NULL
42095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42097 if (SWIG_arg_fail(1)) SWIG_fail
;
42099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42100 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42102 wxPyEndAllowThreads(__tstate
);
42103 if (PyErr_Occurred()) SWIG_fail
;
42106 resultobj
= SWIG_From_int((int)(result
));
42114 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42115 PyObject
*resultobj
;
42116 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42118 PyObject
* obj0
= 0 ;
42119 char *kwnames
[] = {
42120 (char *) "self", NULL
42123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42125 if (SWIG_arg_fail(1)) SWIG_fail
;
42127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42128 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42130 wxPyEndAllowThreads(__tstate
);
42131 if (PyErr_Occurred()) SWIG_fail
;
42134 resultobj
= SWIG_From_int((int)(result
));
42142 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42143 PyObject
*resultobj
;
42144 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42146 PyObject
* obj0
= 0 ;
42147 PyObject
* obj1
= 0 ;
42148 char *kwnames
[] = {
42149 (char *) "self",(char *) "rowspan", NULL
42152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42154 if (SWIG_arg_fail(1)) SWIG_fail
;
42156 arg2
= (int)(SWIG_As_int(obj1
));
42157 if (SWIG_arg_fail(2)) SWIG_fail
;
42160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42161 (arg1
)->SetRowspan(arg2
);
42163 wxPyEndAllowThreads(__tstate
);
42164 if (PyErr_Occurred()) SWIG_fail
;
42166 Py_INCREF(Py_None
); resultobj
= Py_None
;
42173 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42174 PyObject
*resultobj
;
42175 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42177 PyObject
* obj0
= 0 ;
42178 PyObject
* obj1
= 0 ;
42179 char *kwnames
[] = {
42180 (char *) "self",(char *) "colspan", NULL
42183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42185 if (SWIG_arg_fail(1)) SWIG_fail
;
42187 arg2
= (int)(SWIG_As_int(obj1
));
42188 if (SWIG_arg_fail(2)) SWIG_fail
;
42191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42192 (arg1
)->SetColspan(arg2
);
42194 wxPyEndAllowThreads(__tstate
);
42195 if (PyErr_Occurred()) SWIG_fail
;
42197 Py_INCREF(Py_None
); resultobj
= Py_None
;
42204 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42205 PyObject
*resultobj
;
42206 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42207 wxGBSpan
*arg2
= 0 ;
42210 PyObject
* obj0
= 0 ;
42211 PyObject
* obj1
= 0 ;
42212 char *kwnames
[] = {
42213 (char *) "self",(char *) "other", NULL
42216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42218 if (SWIG_arg_fail(1)) SWIG_fail
;
42221 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42225 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42227 wxPyEndAllowThreads(__tstate
);
42228 if (PyErr_Occurred()) SWIG_fail
;
42231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42239 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42240 PyObject
*resultobj
;
42241 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42242 wxGBSpan
*arg2
= 0 ;
42245 PyObject
* obj0
= 0 ;
42246 PyObject
* obj1
= 0 ;
42247 char *kwnames
[] = {
42248 (char *) "self",(char *) "other", NULL
42251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42253 if (SWIG_arg_fail(1)) SWIG_fail
;
42256 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42262 wxPyEndAllowThreads(__tstate
);
42263 if (PyErr_Occurred()) SWIG_fail
;
42266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42274 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42275 PyObject
*resultobj
;
42276 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42277 int arg2
= (int) 1 ;
42278 int arg3
= (int) 1 ;
42279 PyObject
* obj0
= 0 ;
42280 PyObject
* obj1
= 0 ;
42281 PyObject
* obj2
= 0 ;
42282 char *kwnames
[] = {
42283 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42288 if (SWIG_arg_fail(1)) SWIG_fail
;
42291 arg2
= (int)(SWIG_As_int(obj1
));
42292 if (SWIG_arg_fail(2)) SWIG_fail
;
42297 arg3
= (int)(SWIG_As_int(obj2
));
42298 if (SWIG_arg_fail(3)) SWIG_fail
;
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 wxGBSpan_Set(arg1
,arg2
,arg3
);
42305 wxPyEndAllowThreads(__tstate
);
42306 if (PyErr_Occurred()) SWIG_fail
;
42308 Py_INCREF(Py_None
); resultobj
= Py_None
;
42315 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42316 PyObject
*resultobj
;
42317 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42319 PyObject
* obj0
= 0 ;
42320 char *kwnames
[] = {
42321 (char *) "self", NULL
42324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42326 if (SWIG_arg_fail(1)) SWIG_fail
;
42328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42329 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42331 wxPyEndAllowThreads(__tstate
);
42332 if (PyErr_Occurred()) SWIG_fail
;
42334 resultobj
= result
;
42341 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42344 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42346 return Py_BuildValue((char *)"");
42348 static int _wrap_DefaultSpan_set(PyObject
*) {
42349 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42354 static PyObject
*_wrap_DefaultSpan_get(void) {
42357 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42362 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42363 PyObject
*resultobj
;
42364 wxGBSizerItem
*result
;
42365 char *kwnames
[] = {
42369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42372 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42374 wxPyEndAllowThreads(__tstate
);
42375 if (PyErr_Occurred()) SWIG_fail
;
42377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42384 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42385 PyObject
*resultobj
;
42386 wxWindow
*arg1
= (wxWindow
*) 0 ;
42387 wxGBPosition
*arg2
= 0 ;
42388 wxGBSpan
*arg3
= 0 ;
42391 PyObject
*arg6
= (PyObject
*) NULL
;
42392 wxGBSizerItem
*result
;
42393 wxGBPosition temp2
;
42395 PyObject
* obj0
= 0 ;
42396 PyObject
* obj1
= 0 ;
42397 PyObject
* obj2
= 0 ;
42398 PyObject
* obj3
= 0 ;
42399 PyObject
* obj4
= 0 ;
42400 PyObject
* obj5
= 0 ;
42401 char *kwnames
[] = {
42402 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42407 if (SWIG_arg_fail(1)) SWIG_fail
;
42410 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42414 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42417 arg4
= (int)(SWIG_As_int(obj3
));
42418 if (SWIG_arg_fail(4)) SWIG_fail
;
42421 arg5
= (int)(SWIG_As_int(obj4
));
42422 if (SWIG_arg_fail(5)) SWIG_fail
;
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42431 wxPyEndAllowThreads(__tstate
);
42432 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42441 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42442 PyObject
*resultobj
;
42443 wxSizer
*arg1
= (wxSizer
*) 0 ;
42444 wxGBPosition
*arg2
= 0 ;
42445 wxGBSpan
*arg3
= 0 ;
42448 PyObject
*arg6
= (PyObject
*) NULL
;
42449 wxGBSizerItem
*result
;
42450 wxGBPosition temp2
;
42452 PyObject
* obj0
= 0 ;
42453 PyObject
* obj1
= 0 ;
42454 PyObject
* obj2
= 0 ;
42455 PyObject
* obj3
= 0 ;
42456 PyObject
* obj4
= 0 ;
42457 PyObject
* obj5
= 0 ;
42458 char *kwnames
[] = {
42459 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42464 if (SWIG_arg_fail(1)) SWIG_fail
;
42467 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42471 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42474 arg4
= (int)(SWIG_As_int(obj3
));
42475 if (SWIG_arg_fail(4)) SWIG_fail
;
42478 arg5
= (int)(SWIG_As_int(obj4
));
42479 if (SWIG_arg_fail(5)) SWIG_fail
;
42485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42486 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42488 wxPyEndAllowThreads(__tstate
);
42489 if (PyErr_Occurred()) SWIG_fail
;
42491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42498 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42499 PyObject
*resultobj
;
42502 wxGBPosition
*arg3
= 0 ;
42503 wxGBSpan
*arg4
= 0 ;
42506 PyObject
*arg7
= (PyObject
*) NULL
;
42507 wxGBSizerItem
*result
;
42508 wxGBPosition temp3
;
42510 PyObject
* obj0
= 0 ;
42511 PyObject
* obj1
= 0 ;
42512 PyObject
* obj2
= 0 ;
42513 PyObject
* obj3
= 0 ;
42514 PyObject
* obj4
= 0 ;
42515 PyObject
* obj5
= 0 ;
42516 PyObject
* obj6
= 0 ;
42517 char *kwnames
[] = {
42518 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42523 arg1
= (int)(SWIG_As_int(obj0
));
42524 if (SWIG_arg_fail(1)) SWIG_fail
;
42527 arg2
= (int)(SWIG_As_int(obj1
));
42528 if (SWIG_arg_fail(2)) SWIG_fail
;
42532 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42536 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42539 arg5
= (int)(SWIG_As_int(obj4
));
42540 if (SWIG_arg_fail(5)) SWIG_fail
;
42543 arg6
= (int)(SWIG_As_int(obj5
));
42544 if (SWIG_arg_fail(6)) SWIG_fail
;
42550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42551 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42553 wxPyEndAllowThreads(__tstate
);
42554 if (PyErr_Occurred()) SWIG_fail
;
42556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42563 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42564 PyObject
*resultobj
;
42565 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42566 wxGBPosition result
;
42567 PyObject
* obj0
= 0 ;
42568 char *kwnames
[] = {
42569 (char *) "self", NULL
42572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42574 if (SWIG_arg_fail(1)) SWIG_fail
;
42576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42577 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42579 wxPyEndAllowThreads(__tstate
);
42580 if (PyErr_Occurred()) SWIG_fail
;
42583 wxGBPosition
* resultptr
;
42584 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42593 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42594 PyObject
*resultobj
;
42595 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42597 PyObject
* obj0
= 0 ;
42598 char *kwnames
[] = {
42599 (char *) "self", NULL
42602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42604 if (SWIG_arg_fail(1)) SWIG_fail
;
42606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42607 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42609 wxPyEndAllowThreads(__tstate
);
42610 if (PyErr_Occurred()) SWIG_fail
;
42613 wxGBSpan
* resultptr
;
42614 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42623 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42624 PyObject
*resultobj
;
42625 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42626 wxGBPosition
*arg2
= 0 ;
42628 wxGBPosition temp2
;
42629 PyObject
* obj0
= 0 ;
42630 PyObject
* obj1
= 0 ;
42631 char *kwnames
[] = {
42632 (char *) "self",(char *) "pos", NULL
42635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42637 if (SWIG_arg_fail(1)) SWIG_fail
;
42640 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42646 wxPyEndAllowThreads(__tstate
);
42647 if (PyErr_Occurred()) SWIG_fail
;
42650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42658 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42659 PyObject
*resultobj
;
42660 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42661 wxGBSpan
*arg2
= 0 ;
42664 PyObject
* obj0
= 0 ;
42665 PyObject
* obj1
= 0 ;
42666 char *kwnames
[] = {
42667 (char *) "self",(char *) "span", NULL
42670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42672 if (SWIG_arg_fail(1)) SWIG_fail
;
42675 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42679 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42681 wxPyEndAllowThreads(__tstate
);
42682 if (PyErr_Occurred()) SWIG_fail
;
42685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42693 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42694 PyObject
*resultobj
;
42695 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42696 wxGBSizerItem
*arg2
= 0 ;
42698 PyObject
* obj0
= 0 ;
42699 PyObject
* obj1
= 0 ;
42700 char *kwnames
[] = {
42701 (char *) "self",(char *) "other", NULL
42704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42706 if (SWIG_arg_fail(1)) SWIG_fail
;
42708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42709 if (SWIG_arg_fail(2)) SWIG_fail
;
42710 if (arg2
== NULL
) {
42711 SWIG_null_ref("wxGBSizerItem");
42713 if (SWIG_arg_fail(2)) SWIG_fail
;
42716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42717 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42719 wxPyEndAllowThreads(__tstate
);
42720 if (PyErr_Occurred()) SWIG_fail
;
42723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42731 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42732 PyObject
*resultobj
;
42733 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42734 wxGBPosition
*arg2
= 0 ;
42735 wxGBSpan
*arg3
= 0 ;
42737 wxGBPosition temp2
;
42739 PyObject
* obj0
= 0 ;
42740 PyObject
* obj1
= 0 ;
42741 PyObject
* obj2
= 0 ;
42742 char *kwnames
[] = {
42743 (char *) "self",(char *) "pos",(char *) "span", NULL
42746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42748 if (SWIG_arg_fail(1)) SWIG_fail
;
42751 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42755 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42759 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42761 wxPyEndAllowThreads(__tstate
);
42762 if (PyErr_Occurred()) SWIG_fail
;
42765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42773 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42774 PyObject
*resultobj
;
42775 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42776 wxGBPosition result
;
42777 PyObject
* obj0
= 0 ;
42778 char *kwnames
[] = {
42779 (char *) "self", NULL
42782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42784 if (SWIG_arg_fail(1)) SWIG_fail
;
42786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42787 result
= wxGBSizerItem_GetEndPos(arg1
);
42789 wxPyEndAllowThreads(__tstate
);
42790 if (PyErr_Occurred()) SWIG_fail
;
42793 wxGBPosition
* resultptr
;
42794 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42803 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42804 PyObject
*resultobj
;
42805 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42806 wxGridBagSizer
*result
;
42807 PyObject
* obj0
= 0 ;
42808 char *kwnames
[] = {
42809 (char *) "self", NULL
42812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42814 if (SWIG_arg_fail(1)) SWIG_fail
;
42816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42817 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42819 wxPyEndAllowThreads(__tstate
);
42820 if (PyErr_Occurred()) SWIG_fail
;
42822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42829 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42830 PyObject
*resultobj
;
42831 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42832 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42833 PyObject
* obj0
= 0 ;
42834 PyObject
* obj1
= 0 ;
42835 char *kwnames
[] = {
42836 (char *) "self",(char *) "sizer", NULL
42839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42841 if (SWIG_arg_fail(1)) SWIG_fail
;
42842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42843 if (SWIG_arg_fail(2)) SWIG_fail
;
42845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42846 (arg1
)->SetGBSizer(arg2
);
42848 wxPyEndAllowThreads(__tstate
);
42849 if (PyErr_Occurred()) SWIG_fail
;
42851 Py_INCREF(Py_None
); resultobj
= Py_None
;
42858 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42861 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42863 return Py_BuildValue((char *)"");
42865 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42866 PyObject
*resultobj
;
42867 int arg1
= (int) 0 ;
42868 int arg2
= (int) 0 ;
42869 wxGridBagSizer
*result
;
42870 PyObject
* obj0
= 0 ;
42871 PyObject
* obj1
= 0 ;
42872 char *kwnames
[] = {
42873 (char *) "vgap",(char *) "hgap", NULL
42876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42879 arg1
= (int)(SWIG_As_int(obj0
));
42880 if (SWIG_arg_fail(1)) SWIG_fail
;
42885 arg2
= (int)(SWIG_As_int(obj1
));
42886 if (SWIG_arg_fail(2)) SWIG_fail
;
42890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42891 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42893 wxPyEndAllowThreads(__tstate
);
42894 if (PyErr_Occurred()) SWIG_fail
;
42896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42903 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42904 PyObject
*resultobj
;
42905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42906 PyObject
*arg2
= (PyObject
*) 0 ;
42907 wxGBPosition
*arg3
= 0 ;
42908 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42909 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42910 int arg5
= (int) 0 ;
42911 int arg6
= (int) 0 ;
42912 PyObject
*arg7
= (PyObject
*) NULL
;
42913 wxGBSizerItem
*result
;
42914 wxGBPosition temp3
;
42916 PyObject
* obj0
= 0 ;
42917 PyObject
* obj1
= 0 ;
42918 PyObject
* obj2
= 0 ;
42919 PyObject
* obj3
= 0 ;
42920 PyObject
* obj4
= 0 ;
42921 PyObject
* obj5
= 0 ;
42922 PyObject
* obj6
= 0 ;
42923 char *kwnames
[] = {
42924 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42929 if (SWIG_arg_fail(1)) SWIG_fail
;
42933 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42938 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42943 arg5
= (int)(SWIG_As_int(obj4
));
42944 if (SWIG_arg_fail(5)) SWIG_fail
;
42949 arg6
= (int)(SWIG_As_int(obj5
));
42950 if (SWIG_arg_fail(6)) SWIG_fail
;
42957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42958 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42960 wxPyEndAllowThreads(__tstate
);
42961 if (PyErr_Occurred()) SWIG_fail
;
42963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42970 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42971 PyObject
*resultobj
;
42972 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42973 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42974 wxGBSizerItem
*result
;
42975 PyObject
* obj0
= 0 ;
42976 PyObject
* obj1
= 0 ;
42977 char *kwnames
[] = {
42978 (char *) "self",(char *) "item", NULL
42981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42983 if (SWIG_arg_fail(1)) SWIG_fail
;
42984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42985 if (SWIG_arg_fail(2)) SWIG_fail
;
42987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42988 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43000 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43001 PyObject
*resultobj
;
43002 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43006 PyObject
* obj0
= 0 ;
43007 PyObject
* obj1
= 0 ;
43008 PyObject
* obj2
= 0 ;
43009 char *kwnames
[] = {
43010 (char *) "self",(char *) "row",(char *) "col", NULL
43013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43015 if (SWIG_arg_fail(1)) SWIG_fail
;
43017 arg2
= (int)(SWIG_As_int(obj1
));
43018 if (SWIG_arg_fail(2)) SWIG_fail
;
43021 arg3
= (int)(SWIG_As_int(obj2
));
43022 if (SWIG_arg_fail(3)) SWIG_fail
;
43025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43026 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43028 wxPyEndAllowThreads(__tstate
);
43029 if (PyErr_Occurred()) SWIG_fail
;
43032 wxSize
* resultptr
;
43033 resultptr
= new wxSize((wxSize
&)(result
));
43034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43042 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43043 PyObject
*resultobj
;
43044 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43046 PyObject
* obj0
= 0 ;
43047 char *kwnames
[] = {
43048 (char *) "self", NULL
43051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43053 if (SWIG_arg_fail(1)) SWIG_fail
;
43055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43056 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43058 wxPyEndAllowThreads(__tstate
);
43059 if (PyErr_Occurred()) SWIG_fail
;
43062 wxSize
* resultptr
;
43063 resultptr
= new wxSize((wxSize
&)(result
));
43064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43072 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43073 PyObject
*resultobj
;
43074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43077 PyObject
* obj0
= 0 ;
43078 PyObject
* obj1
= 0 ;
43079 char *kwnames
[] = {
43080 (char *) "self",(char *) "sz", NULL
43083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43085 if (SWIG_arg_fail(1)) SWIG_fail
;
43088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43092 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43094 wxPyEndAllowThreads(__tstate
);
43095 if (PyErr_Occurred()) SWIG_fail
;
43097 Py_INCREF(Py_None
); resultobj
= Py_None
;
43104 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43105 PyObject
*resultobj
;
43106 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43107 wxWindow
*arg2
= (wxWindow
*) 0 ;
43108 wxGBPosition result
;
43109 PyObject
* obj0
= 0 ;
43110 PyObject
* obj1
= 0 ;
43112 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43114 if (SWIG_arg_fail(1)) SWIG_fail
;
43115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43116 if (SWIG_arg_fail(2)) SWIG_fail
;
43118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43119 result
= (arg1
)->GetItemPosition(arg2
);
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43125 wxGBPosition
* resultptr
;
43126 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43135 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43136 PyObject
*resultobj
;
43137 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43138 wxSizer
*arg2
= (wxSizer
*) 0 ;
43139 wxGBPosition result
;
43140 PyObject
* obj0
= 0 ;
43141 PyObject
* obj1
= 0 ;
43143 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43145 if (SWIG_arg_fail(1)) SWIG_fail
;
43146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43147 if (SWIG_arg_fail(2)) SWIG_fail
;
43149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43150 result
= (arg1
)->GetItemPosition(arg2
);
43152 wxPyEndAllowThreads(__tstate
);
43153 if (PyErr_Occurred()) SWIG_fail
;
43156 wxGBPosition
* resultptr
;
43157 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43166 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43167 PyObject
*resultobj
;
43168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43170 wxGBPosition result
;
43171 PyObject
* obj0
= 0 ;
43172 PyObject
* obj1
= 0 ;
43174 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43176 if (SWIG_arg_fail(1)) SWIG_fail
;
43178 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43179 if (SWIG_arg_fail(2)) SWIG_fail
;
43182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43183 result
= (arg1
)->GetItemPosition(arg2
);
43185 wxPyEndAllowThreads(__tstate
);
43186 if (PyErr_Occurred()) SWIG_fail
;
43189 wxGBPosition
* resultptr
;
43190 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43199 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43204 argc
= PyObject_Length(args
);
43205 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43206 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43222 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43230 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43238 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43248 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43256 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43272 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43274 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43279 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43284 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43285 PyObject
*resultobj
;
43286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43287 wxWindow
*arg2
= (wxWindow
*) 0 ;
43288 wxGBPosition
*arg3
= 0 ;
43290 wxGBPosition temp3
;
43291 PyObject
* obj0
= 0 ;
43292 PyObject
* obj1
= 0 ;
43293 PyObject
* obj2
= 0 ;
43295 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43297 if (SWIG_arg_fail(1)) SWIG_fail
;
43298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43299 if (SWIG_arg_fail(2)) SWIG_fail
;
43302 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43306 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43308 wxPyEndAllowThreads(__tstate
);
43309 if (PyErr_Occurred()) SWIG_fail
;
43312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43320 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43321 PyObject
*resultobj
;
43322 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43323 wxSizer
*arg2
= (wxSizer
*) 0 ;
43324 wxGBPosition
*arg3
= 0 ;
43326 wxGBPosition temp3
;
43327 PyObject
* obj0
= 0 ;
43328 PyObject
* obj1
= 0 ;
43329 PyObject
* obj2
= 0 ;
43331 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43333 if (SWIG_arg_fail(1)) SWIG_fail
;
43334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43335 if (SWIG_arg_fail(2)) SWIG_fail
;
43338 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43342 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43344 wxPyEndAllowThreads(__tstate
);
43345 if (PyErr_Occurred()) SWIG_fail
;
43348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43356 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43357 PyObject
*resultobj
;
43358 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43360 wxGBPosition
*arg3
= 0 ;
43362 wxGBPosition temp3
;
43363 PyObject
* obj0
= 0 ;
43364 PyObject
* obj1
= 0 ;
43365 PyObject
* obj2
= 0 ;
43367 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43369 if (SWIG_arg_fail(1)) SWIG_fail
;
43371 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43372 if (SWIG_arg_fail(2)) SWIG_fail
;
43376 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43380 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43382 wxPyEndAllowThreads(__tstate
);
43383 if (PyErr_Occurred()) SWIG_fail
;
43386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43394 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43399 argc
= PyObject_Length(args
);
43400 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43401 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43407 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43417 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43426 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43429 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43438 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43448 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43457 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43460 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43469 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43477 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43480 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43483 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43489 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43494 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43495 PyObject
*resultobj
;
43496 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43497 wxWindow
*arg2
= (wxWindow
*) 0 ;
43499 PyObject
* obj0
= 0 ;
43500 PyObject
* obj1
= 0 ;
43502 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43504 if (SWIG_arg_fail(1)) SWIG_fail
;
43505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43506 if (SWIG_arg_fail(2)) SWIG_fail
;
43508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43509 result
= (arg1
)->GetItemSpan(arg2
);
43511 wxPyEndAllowThreads(__tstate
);
43512 if (PyErr_Occurred()) SWIG_fail
;
43515 wxGBSpan
* resultptr
;
43516 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43525 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43526 PyObject
*resultobj
;
43527 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43528 wxSizer
*arg2
= (wxSizer
*) 0 ;
43530 PyObject
* obj0
= 0 ;
43531 PyObject
* obj1
= 0 ;
43533 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43535 if (SWIG_arg_fail(1)) SWIG_fail
;
43536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43537 if (SWIG_arg_fail(2)) SWIG_fail
;
43539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43540 result
= (arg1
)->GetItemSpan(arg2
);
43542 wxPyEndAllowThreads(__tstate
);
43543 if (PyErr_Occurred()) SWIG_fail
;
43546 wxGBSpan
* resultptr
;
43547 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43556 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43557 PyObject
*resultobj
;
43558 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43561 PyObject
* obj0
= 0 ;
43562 PyObject
* obj1
= 0 ;
43564 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43566 if (SWIG_arg_fail(1)) SWIG_fail
;
43568 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43569 if (SWIG_arg_fail(2)) SWIG_fail
;
43572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43573 result
= (arg1
)->GetItemSpan(arg2
);
43575 wxPyEndAllowThreads(__tstate
);
43576 if (PyErr_Occurred()) SWIG_fail
;
43579 wxGBSpan
* resultptr
;
43580 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43589 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43594 argc
= PyObject_Length(args
);
43595 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43596 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43602 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43612 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43620 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43628 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43638 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43646 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43654 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43662 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43664 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43669 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43674 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43675 PyObject
*resultobj
;
43676 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43677 wxWindow
*arg2
= (wxWindow
*) 0 ;
43678 wxGBSpan
*arg3
= 0 ;
43681 PyObject
* obj0
= 0 ;
43682 PyObject
* obj1
= 0 ;
43683 PyObject
* obj2
= 0 ;
43685 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43687 if (SWIG_arg_fail(1)) SWIG_fail
;
43688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43689 if (SWIG_arg_fail(2)) SWIG_fail
;
43692 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43696 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43698 wxPyEndAllowThreads(__tstate
);
43699 if (PyErr_Occurred()) SWIG_fail
;
43702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43710 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43711 PyObject
*resultobj
;
43712 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43713 wxSizer
*arg2
= (wxSizer
*) 0 ;
43714 wxGBSpan
*arg3
= 0 ;
43717 PyObject
* obj0
= 0 ;
43718 PyObject
* obj1
= 0 ;
43719 PyObject
* obj2
= 0 ;
43721 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43723 if (SWIG_arg_fail(1)) SWIG_fail
;
43724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43725 if (SWIG_arg_fail(2)) SWIG_fail
;
43728 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43732 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43734 wxPyEndAllowThreads(__tstate
);
43735 if (PyErr_Occurred()) SWIG_fail
;
43738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43746 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43747 PyObject
*resultobj
;
43748 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43750 wxGBSpan
*arg3
= 0 ;
43753 PyObject
* obj0
= 0 ;
43754 PyObject
* obj1
= 0 ;
43755 PyObject
* obj2
= 0 ;
43757 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43759 if (SWIG_arg_fail(1)) SWIG_fail
;
43761 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43762 if (SWIG_arg_fail(2)) SWIG_fail
;
43766 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43770 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43772 wxPyEndAllowThreads(__tstate
);
43773 if (PyErr_Occurred()) SWIG_fail
;
43776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43784 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43789 argc
= PyObject_Length(args
);
43790 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43791 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43797 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43807 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43816 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43819 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43828 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43838 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43847 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43850 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43859 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43867 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43870 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43873 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43879 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43884 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43885 PyObject
*resultobj
;
43886 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43887 wxWindow
*arg2
= (wxWindow
*) 0 ;
43888 wxGBSizerItem
*result
;
43889 PyObject
* obj0
= 0 ;
43890 PyObject
* obj1
= 0 ;
43892 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43894 if (SWIG_arg_fail(1)) SWIG_fail
;
43895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43896 if (SWIG_arg_fail(2)) SWIG_fail
;
43898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43899 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43901 wxPyEndAllowThreads(__tstate
);
43902 if (PyErr_Occurred()) SWIG_fail
;
43904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43911 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43912 PyObject
*resultobj
;
43913 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43914 wxSizer
*arg2
= (wxSizer
*) 0 ;
43915 wxGBSizerItem
*result
;
43916 PyObject
* obj0
= 0 ;
43917 PyObject
* obj1
= 0 ;
43919 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43921 if (SWIG_arg_fail(1)) SWIG_fail
;
43922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43923 if (SWIG_arg_fail(2)) SWIG_fail
;
43925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43926 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43928 wxPyEndAllowThreads(__tstate
);
43929 if (PyErr_Occurred()) SWIG_fail
;
43931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43938 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43943 argc
= PyObject_Length(args
);
43944 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43945 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43961 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43969 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43977 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43987 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43995 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44000 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44005 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44006 PyObject
*resultobj
;
44007 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44008 wxGBPosition
*arg2
= 0 ;
44009 wxGBSizerItem
*result
;
44010 wxGBPosition temp2
;
44011 PyObject
* obj0
= 0 ;
44012 PyObject
* obj1
= 0 ;
44013 char *kwnames
[] = {
44014 (char *) "self",(char *) "pos", NULL
44017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44019 if (SWIG_arg_fail(1)) SWIG_fail
;
44022 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44026 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44028 wxPyEndAllowThreads(__tstate
);
44029 if (PyErr_Occurred()) SWIG_fail
;
44031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44038 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44039 PyObject
*resultobj
;
44040 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44041 wxPoint
*arg2
= 0 ;
44042 wxGBSizerItem
*result
;
44044 PyObject
* obj0
= 0 ;
44045 PyObject
* obj1
= 0 ;
44046 char *kwnames
[] = {
44047 (char *) "self",(char *) "pt", NULL
44050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44052 if (SWIG_arg_fail(1)) SWIG_fail
;
44055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44059 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44061 wxPyEndAllowThreads(__tstate
);
44062 if (PyErr_Occurred()) SWIG_fail
;
44064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44071 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44072 PyObject
*resultobj
;
44073 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44074 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44075 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44077 PyObject
* obj0
= 0 ;
44078 PyObject
* obj1
= 0 ;
44079 PyObject
* obj2
= 0 ;
44080 char *kwnames
[] = {
44081 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44086 if (SWIG_arg_fail(1)) SWIG_fail
;
44087 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44088 if (SWIG_arg_fail(2)) SWIG_fail
;
44090 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44091 if (SWIG_arg_fail(3)) SWIG_fail
;
44094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44095 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44097 wxPyEndAllowThreads(__tstate
);
44098 if (PyErr_Occurred()) SWIG_fail
;
44101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44109 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44110 PyObject
*resultobj
;
44111 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44112 wxGBPosition
*arg2
= 0 ;
44113 wxGBSpan
*arg3
= 0 ;
44114 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44116 wxGBPosition temp2
;
44118 PyObject
* obj0
= 0 ;
44119 PyObject
* obj1
= 0 ;
44120 PyObject
* obj2
= 0 ;
44121 PyObject
* obj3
= 0 ;
44122 char *kwnames
[] = {
44123 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44128 if (SWIG_arg_fail(1)) SWIG_fail
;
44131 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44135 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44138 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44139 if (SWIG_arg_fail(4)) SWIG_fail
;
44142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44143 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44145 wxPyEndAllowThreads(__tstate
);
44146 if (PyErr_Occurred()) SWIG_fail
;
44149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44157 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44160 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44162 return Py_BuildValue((char *)"");
44164 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44165 PyObject
*resultobj
;
44166 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44167 wxRelationship arg2
;
44168 wxWindow
*arg3
= (wxWindow
*) 0 ;
44170 int arg5
= (int) 0 ;
44171 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44172 PyObject
* obj0
= 0 ;
44173 PyObject
* obj1
= 0 ;
44174 PyObject
* obj2
= 0 ;
44175 PyObject
* obj3
= 0 ;
44176 PyObject
* obj4
= 0 ;
44177 PyObject
* obj5
= 0 ;
44178 char *kwnames
[] = {
44179 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44184 if (SWIG_arg_fail(1)) SWIG_fail
;
44186 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44187 if (SWIG_arg_fail(2)) SWIG_fail
;
44189 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44190 if (SWIG_arg_fail(3)) SWIG_fail
;
44192 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44193 if (SWIG_arg_fail(4)) SWIG_fail
;
44197 arg5
= (int)(SWIG_As_int(obj4
));
44198 if (SWIG_arg_fail(5)) SWIG_fail
;
44203 arg6
= (int)(SWIG_As_int(obj5
));
44204 if (SWIG_arg_fail(6)) SWIG_fail
;
44208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44209 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44211 wxPyEndAllowThreads(__tstate
);
44212 if (PyErr_Occurred()) SWIG_fail
;
44214 Py_INCREF(Py_None
); resultobj
= Py_None
;
44221 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44222 PyObject
*resultobj
;
44223 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44224 wxWindow
*arg2
= (wxWindow
*) 0 ;
44225 int arg3
= (int) 0 ;
44226 PyObject
* obj0
= 0 ;
44227 PyObject
* obj1
= 0 ;
44228 PyObject
* obj2
= 0 ;
44229 char *kwnames
[] = {
44230 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44235 if (SWIG_arg_fail(1)) SWIG_fail
;
44236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44237 if (SWIG_arg_fail(2)) SWIG_fail
;
44240 arg3
= (int)(SWIG_As_int(obj2
));
44241 if (SWIG_arg_fail(3)) SWIG_fail
;
44245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44246 (arg1
)->LeftOf(arg2
,arg3
);
44248 wxPyEndAllowThreads(__tstate
);
44249 if (PyErr_Occurred()) SWIG_fail
;
44251 Py_INCREF(Py_None
); resultobj
= Py_None
;
44258 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44259 PyObject
*resultobj
;
44260 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44261 wxWindow
*arg2
= (wxWindow
*) 0 ;
44262 int arg3
= (int) 0 ;
44263 PyObject
* obj0
= 0 ;
44264 PyObject
* obj1
= 0 ;
44265 PyObject
* obj2
= 0 ;
44266 char *kwnames
[] = {
44267 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44272 if (SWIG_arg_fail(1)) SWIG_fail
;
44273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44274 if (SWIG_arg_fail(2)) SWIG_fail
;
44277 arg3
= (int)(SWIG_As_int(obj2
));
44278 if (SWIG_arg_fail(3)) SWIG_fail
;
44282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44283 (arg1
)->RightOf(arg2
,arg3
);
44285 wxPyEndAllowThreads(__tstate
);
44286 if (PyErr_Occurred()) SWIG_fail
;
44288 Py_INCREF(Py_None
); resultobj
= Py_None
;
44295 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44296 PyObject
*resultobj
;
44297 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44298 wxWindow
*arg2
= (wxWindow
*) 0 ;
44299 int arg3
= (int) 0 ;
44300 PyObject
* obj0
= 0 ;
44301 PyObject
* obj1
= 0 ;
44302 PyObject
* obj2
= 0 ;
44303 char *kwnames
[] = {
44304 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44309 if (SWIG_arg_fail(1)) SWIG_fail
;
44310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44311 if (SWIG_arg_fail(2)) SWIG_fail
;
44314 arg3
= (int)(SWIG_As_int(obj2
));
44315 if (SWIG_arg_fail(3)) SWIG_fail
;
44319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44320 (arg1
)->Above(arg2
,arg3
);
44322 wxPyEndAllowThreads(__tstate
);
44323 if (PyErr_Occurred()) SWIG_fail
;
44325 Py_INCREF(Py_None
); resultobj
= Py_None
;
44332 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44333 PyObject
*resultobj
;
44334 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44335 wxWindow
*arg2
= (wxWindow
*) 0 ;
44336 int arg3
= (int) 0 ;
44337 PyObject
* obj0
= 0 ;
44338 PyObject
* obj1
= 0 ;
44339 PyObject
* obj2
= 0 ;
44340 char *kwnames
[] = {
44341 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44346 if (SWIG_arg_fail(1)) SWIG_fail
;
44347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44348 if (SWIG_arg_fail(2)) SWIG_fail
;
44351 arg3
= (int)(SWIG_As_int(obj2
));
44352 if (SWIG_arg_fail(3)) SWIG_fail
;
44356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44357 (arg1
)->Below(arg2
,arg3
);
44359 wxPyEndAllowThreads(__tstate
);
44360 if (PyErr_Occurred()) SWIG_fail
;
44362 Py_INCREF(Py_None
); resultobj
= Py_None
;
44369 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44370 PyObject
*resultobj
;
44371 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44372 wxWindow
*arg2
= (wxWindow
*) 0 ;
44374 int arg4
= (int) 0 ;
44375 PyObject
* obj0
= 0 ;
44376 PyObject
* obj1
= 0 ;
44377 PyObject
* obj2
= 0 ;
44378 PyObject
* obj3
= 0 ;
44379 char *kwnames
[] = {
44380 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44385 if (SWIG_arg_fail(1)) SWIG_fail
;
44386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44387 if (SWIG_arg_fail(2)) SWIG_fail
;
44389 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44390 if (SWIG_arg_fail(3)) SWIG_fail
;
44394 arg4
= (int)(SWIG_As_int(obj3
));
44395 if (SWIG_arg_fail(4)) SWIG_fail
;
44399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44400 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44402 wxPyEndAllowThreads(__tstate
);
44403 if (PyErr_Occurred()) SWIG_fail
;
44405 Py_INCREF(Py_None
); resultobj
= Py_None
;
44412 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44413 PyObject
*resultobj
;
44414 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44415 wxWindow
*arg2
= (wxWindow
*) 0 ;
44418 PyObject
* obj0
= 0 ;
44419 PyObject
* obj1
= 0 ;
44420 PyObject
* obj2
= 0 ;
44421 PyObject
* obj3
= 0 ;
44422 char *kwnames
[] = {
44423 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44428 if (SWIG_arg_fail(1)) SWIG_fail
;
44429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44430 if (SWIG_arg_fail(2)) SWIG_fail
;
44432 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44433 if (SWIG_arg_fail(3)) SWIG_fail
;
44436 arg4
= (int)(SWIG_As_int(obj3
));
44437 if (SWIG_arg_fail(4)) SWIG_fail
;
44440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44441 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44443 wxPyEndAllowThreads(__tstate
);
44444 if (PyErr_Occurred()) SWIG_fail
;
44446 Py_INCREF(Py_None
); resultobj
= Py_None
;
44453 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44454 PyObject
*resultobj
;
44455 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44457 PyObject
* obj0
= 0 ;
44458 PyObject
* obj1
= 0 ;
44459 char *kwnames
[] = {
44460 (char *) "self",(char *) "val", NULL
44463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44465 if (SWIG_arg_fail(1)) SWIG_fail
;
44467 arg2
= (int)(SWIG_As_int(obj1
));
44468 if (SWIG_arg_fail(2)) SWIG_fail
;
44471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44472 (arg1
)->Absolute(arg2
);
44474 wxPyEndAllowThreads(__tstate
);
44475 if (PyErr_Occurred()) SWIG_fail
;
44477 Py_INCREF(Py_None
); resultobj
= Py_None
;
44484 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44485 PyObject
*resultobj
;
44486 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44487 PyObject
* obj0
= 0 ;
44488 char *kwnames
[] = {
44489 (char *) "self", NULL
44492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44494 if (SWIG_arg_fail(1)) SWIG_fail
;
44496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44497 (arg1
)->Unconstrained();
44499 wxPyEndAllowThreads(__tstate
);
44500 if (PyErr_Occurred()) SWIG_fail
;
44502 Py_INCREF(Py_None
); resultobj
= Py_None
;
44509 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44510 PyObject
*resultobj
;
44511 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44512 PyObject
* obj0
= 0 ;
44513 char *kwnames
[] = {
44514 (char *) "self", NULL
44517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44519 if (SWIG_arg_fail(1)) SWIG_fail
;
44521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44524 wxPyEndAllowThreads(__tstate
);
44525 if (PyErr_Occurred()) SWIG_fail
;
44527 Py_INCREF(Py_None
); resultobj
= Py_None
;
44534 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44535 PyObject
*resultobj
;
44536 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44538 PyObject
* obj0
= 0 ;
44539 char *kwnames
[] = {
44540 (char *) "self", NULL
44543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44545 if (SWIG_arg_fail(1)) SWIG_fail
;
44547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44548 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44550 wxPyEndAllowThreads(__tstate
);
44551 if (PyErr_Occurred()) SWIG_fail
;
44554 resultobj
= wxPyMake_wxObject(result
, 0);
44562 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44563 PyObject
*resultobj
;
44564 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44566 PyObject
* obj0
= 0 ;
44567 char *kwnames
[] = {
44568 (char *) "self", NULL
44571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44573 if (SWIG_arg_fail(1)) SWIG_fail
;
44575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44576 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44578 wxPyEndAllowThreads(__tstate
);
44579 if (PyErr_Occurred()) SWIG_fail
;
44581 resultobj
= SWIG_From_int((result
));
44588 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44589 PyObject
*resultobj
;
44590 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44592 PyObject
* obj0
= 0 ;
44593 PyObject
* obj1
= 0 ;
44594 char *kwnames
[] = {
44595 (char *) "self",(char *) "which", NULL
44598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44600 if (SWIG_arg_fail(1)) SWIG_fail
;
44602 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44603 if (SWIG_arg_fail(2)) SWIG_fail
;
44606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44607 (arg1
)->SetEdge((wxEdge
)arg2
);
44609 wxPyEndAllowThreads(__tstate
);
44610 if (PyErr_Occurred()) SWIG_fail
;
44612 Py_INCREF(Py_None
); resultobj
= Py_None
;
44619 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44620 PyObject
*resultobj
;
44621 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44623 PyObject
* obj0
= 0 ;
44624 PyObject
* obj1
= 0 ;
44625 char *kwnames
[] = {
44626 (char *) "self",(char *) "v", NULL
44629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44631 if (SWIG_arg_fail(1)) SWIG_fail
;
44633 arg2
= (int)(SWIG_As_int(obj1
));
44634 if (SWIG_arg_fail(2)) SWIG_fail
;
44637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44638 (arg1
)->SetValue(arg2
);
44640 wxPyEndAllowThreads(__tstate
);
44641 if (PyErr_Occurred()) SWIG_fail
;
44643 Py_INCREF(Py_None
); resultobj
= Py_None
;
44650 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44651 PyObject
*resultobj
;
44652 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44654 PyObject
* obj0
= 0 ;
44655 char *kwnames
[] = {
44656 (char *) "self", NULL
44659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44661 if (SWIG_arg_fail(1)) SWIG_fail
;
44663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44664 result
= (int)(arg1
)->GetMargin();
44666 wxPyEndAllowThreads(__tstate
);
44667 if (PyErr_Occurred()) SWIG_fail
;
44670 resultobj
= SWIG_From_int((int)(result
));
44678 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44679 PyObject
*resultobj
;
44680 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44682 PyObject
* obj0
= 0 ;
44683 PyObject
* obj1
= 0 ;
44684 char *kwnames
[] = {
44685 (char *) "self",(char *) "m", NULL
44688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44690 if (SWIG_arg_fail(1)) SWIG_fail
;
44692 arg2
= (int)(SWIG_As_int(obj1
));
44693 if (SWIG_arg_fail(2)) SWIG_fail
;
44696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44697 (arg1
)->SetMargin(arg2
);
44699 wxPyEndAllowThreads(__tstate
);
44700 if (PyErr_Occurred()) SWIG_fail
;
44702 Py_INCREF(Py_None
); resultobj
= Py_None
;
44709 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44710 PyObject
*resultobj
;
44711 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44713 PyObject
* obj0
= 0 ;
44714 char *kwnames
[] = {
44715 (char *) "self", NULL
44718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44720 if (SWIG_arg_fail(1)) SWIG_fail
;
44722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44723 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44725 wxPyEndAllowThreads(__tstate
);
44726 if (PyErr_Occurred()) SWIG_fail
;
44729 resultobj
= SWIG_From_int((int)(result
));
44737 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44738 PyObject
*resultobj
;
44739 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44741 PyObject
* obj0
= 0 ;
44742 char *kwnames
[] = {
44743 (char *) "self", NULL
44746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44748 if (SWIG_arg_fail(1)) SWIG_fail
;
44750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44751 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44753 wxPyEndAllowThreads(__tstate
);
44754 if (PyErr_Occurred()) SWIG_fail
;
44757 resultobj
= SWIG_From_int((int)(result
));
44765 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44766 PyObject
*resultobj
;
44767 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44769 PyObject
* obj0
= 0 ;
44770 char *kwnames
[] = {
44771 (char *) "self", NULL
44774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44776 if (SWIG_arg_fail(1)) SWIG_fail
;
44778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44779 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44781 wxPyEndAllowThreads(__tstate
);
44782 if (PyErr_Occurred()) SWIG_fail
;
44785 resultobj
= SWIG_From_int((int)(result
));
44793 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44794 PyObject
*resultobj
;
44795 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44797 PyObject
* obj0
= 0 ;
44798 char *kwnames
[] = {
44799 (char *) "self", NULL
44802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44804 if (SWIG_arg_fail(1)) SWIG_fail
;
44806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44807 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44809 wxPyEndAllowThreads(__tstate
);
44810 if (PyErr_Occurred()) SWIG_fail
;
44813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44821 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44822 PyObject
*resultobj
;
44823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44825 PyObject
* obj0
= 0 ;
44826 PyObject
* obj1
= 0 ;
44827 char *kwnames
[] = {
44828 (char *) "self",(char *) "d", NULL
44831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44833 if (SWIG_arg_fail(1)) SWIG_fail
;
44835 arg2
= (bool)(SWIG_As_bool(obj1
));
44836 if (SWIG_arg_fail(2)) SWIG_fail
;
44839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44840 (arg1
)->SetDone(arg2
);
44842 wxPyEndAllowThreads(__tstate
);
44843 if (PyErr_Occurred()) SWIG_fail
;
44845 Py_INCREF(Py_None
); resultobj
= Py_None
;
44852 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44853 PyObject
*resultobj
;
44854 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44855 wxRelationship result
;
44856 PyObject
* obj0
= 0 ;
44857 char *kwnames
[] = {
44858 (char *) "self", NULL
44861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44863 if (SWIG_arg_fail(1)) SWIG_fail
;
44865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44866 result
= (wxRelationship
)(arg1
)->GetRelationship();
44868 wxPyEndAllowThreads(__tstate
);
44869 if (PyErr_Occurred()) SWIG_fail
;
44871 resultobj
= SWIG_From_int((result
));
44878 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44879 PyObject
*resultobj
;
44880 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44881 wxRelationship arg2
;
44882 PyObject
* obj0
= 0 ;
44883 PyObject
* obj1
= 0 ;
44884 char *kwnames
[] = {
44885 (char *) "self",(char *) "r", NULL
44888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44890 if (SWIG_arg_fail(1)) SWIG_fail
;
44892 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44893 if (SWIG_arg_fail(2)) SWIG_fail
;
44896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44897 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44899 wxPyEndAllowThreads(__tstate
);
44900 if (PyErr_Occurred()) SWIG_fail
;
44902 Py_INCREF(Py_None
); resultobj
= Py_None
;
44909 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44910 PyObject
*resultobj
;
44911 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44912 wxWindow
*arg2
= (wxWindow
*) 0 ;
44914 PyObject
* obj0
= 0 ;
44915 PyObject
* obj1
= 0 ;
44916 char *kwnames
[] = {
44917 (char *) "self",(char *) "otherW", NULL
44920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44922 if (SWIG_arg_fail(1)) SWIG_fail
;
44923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44924 if (SWIG_arg_fail(2)) SWIG_fail
;
44926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44927 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44929 wxPyEndAllowThreads(__tstate
);
44930 if (PyErr_Occurred()) SWIG_fail
;
44933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44941 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44942 PyObject
*resultobj
;
44943 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44944 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44945 wxWindow
*arg3
= (wxWindow
*) 0 ;
44947 PyObject
* obj0
= 0 ;
44948 PyObject
* obj1
= 0 ;
44949 PyObject
* obj2
= 0 ;
44950 char *kwnames
[] = {
44951 (char *) "self",(char *) "constraints",(char *) "win", NULL
44954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44956 if (SWIG_arg_fail(1)) SWIG_fail
;
44957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44958 if (SWIG_arg_fail(2)) SWIG_fail
;
44959 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44960 if (SWIG_arg_fail(3)) SWIG_fail
;
44962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44963 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44965 wxPyEndAllowThreads(__tstate
);
44966 if (PyErr_Occurred()) SWIG_fail
;
44969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44977 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44978 PyObject
*resultobj
;
44979 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44981 wxWindow
*arg3
= (wxWindow
*) 0 ;
44982 wxWindow
*arg4
= (wxWindow
*) 0 ;
44984 PyObject
* obj0
= 0 ;
44985 PyObject
* obj1
= 0 ;
44986 PyObject
* obj2
= 0 ;
44987 PyObject
* obj3
= 0 ;
44988 char *kwnames
[] = {
44989 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44994 if (SWIG_arg_fail(1)) SWIG_fail
;
44996 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44997 if (SWIG_arg_fail(2)) SWIG_fail
;
44999 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45000 if (SWIG_arg_fail(3)) SWIG_fail
;
45001 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45002 if (SWIG_arg_fail(4)) SWIG_fail
;
45004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45005 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45007 wxPyEndAllowThreads(__tstate
);
45008 if (PyErr_Occurred()) SWIG_fail
;
45011 resultobj
= SWIG_From_int((int)(result
));
45019 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45022 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45024 return Py_BuildValue((char *)"");
45026 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45027 PyObject
*resultobj
;
45028 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45029 wxIndividualLayoutConstraint
*result
;
45030 PyObject
* obj0
= 0 ;
45031 char *kwnames
[] = {
45032 (char *) "self", NULL
45035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45037 if (SWIG_arg_fail(1)) SWIG_fail
;
45038 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45047 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45048 PyObject
*resultobj
;
45049 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45050 wxIndividualLayoutConstraint
*result
;
45051 PyObject
* obj0
= 0 ;
45052 char *kwnames
[] = {
45053 (char *) "self", NULL
45056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45058 if (SWIG_arg_fail(1)) SWIG_fail
;
45059 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45068 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45069 PyObject
*resultobj
;
45070 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45071 wxIndividualLayoutConstraint
*result
;
45072 PyObject
* obj0
= 0 ;
45073 char *kwnames
[] = {
45074 (char *) "self", NULL
45077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45079 if (SWIG_arg_fail(1)) SWIG_fail
;
45080 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45089 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45090 PyObject
*resultobj
;
45091 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45092 wxIndividualLayoutConstraint
*result
;
45093 PyObject
* obj0
= 0 ;
45094 char *kwnames
[] = {
45095 (char *) "self", NULL
45098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45100 if (SWIG_arg_fail(1)) SWIG_fail
;
45101 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45110 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45111 PyObject
*resultobj
;
45112 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45113 wxIndividualLayoutConstraint
*result
;
45114 PyObject
* obj0
= 0 ;
45115 char *kwnames
[] = {
45116 (char *) "self", NULL
45119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45121 if (SWIG_arg_fail(1)) SWIG_fail
;
45122 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45131 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45132 PyObject
*resultobj
;
45133 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45134 wxIndividualLayoutConstraint
*result
;
45135 PyObject
* obj0
= 0 ;
45136 char *kwnames
[] = {
45137 (char *) "self", NULL
45140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45142 if (SWIG_arg_fail(1)) SWIG_fail
;
45143 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45152 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45153 PyObject
*resultobj
;
45154 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45155 wxIndividualLayoutConstraint
*result
;
45156 PyObject
* obj0
= 0 ;
45157 char *kwnames
[] = {
45158 (char *) "self", NULL
45161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45163 if (SWIG_arg_fail(1)) SWIG_fail
;
45164 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45173 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45174 PyObject
*resultobj
;
45175 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45176 wxIndividualLayoutConstraint
*result
;
45177 PyObject
* obj0
= 0 ;
45178 char *kwnames
[] = {
45179 (char *) "self", NULL
45182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45184 if (SWIG_arg_fail(1)) SWIG_fail
;
45185 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45194 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45195 PyObject
*resultobj
;
45196 wxLayoutConstraints
*result
;
45197 char *kwnames
[] = {
45201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45204 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45206 wxPyEndAllowThreads(__tstate
);
45207 if (PyErr_Occurred()) SWIG_fail
;
45209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45216 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45217 PyObject
*resultobj
;
45218 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45219 wxWindow
*arg2
= (wxWindow
*) 0 ;
45220 int *arg3
= (int *) 0 ;
45224 PyObject
* obj0
= 0 ;
45225 PyObject
* obj1
= 0 ;
45226 char *kwnames
[] = {
45227 (char *) "self",(char *) "win", NULL
45230 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45233 if (SWIG_arg_fail(1)) SWIG_fail
;
45234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45235 if (SWIG_arg_fail(2)) SWIG_fail
;
45237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45238 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45240 wxPyEndAllowThreads(__tstate
);
45241 if (PyErr_Occurred()) SWIG_fail
;
45244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45246 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45247 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45254 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45255 PyObject
*resultobj
;
45256 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45258 PyObject
* obj0
= 0 ;
45259 char *kwnames
[] = {
45260 (char *) "self", NULL
45263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45265 if (SWIG_arg_fail(1)) SWIG_fail
;
45267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45268 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45270 wxPyEndAllowThreads(__tstate
);
45271 if (PyErr_Occurred()) SWIG_fail
;
45274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45282 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45285 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45287 return Py_BuildValue((char *)"");
45289 static PyMethodDef SwigMethods
[] = {
45290 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45291 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45292 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45295 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45316 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45329 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45344 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45398 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45426 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45445 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45447 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45456 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45468 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45480 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45490 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45500 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45597 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45599 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45601 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45603 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45605 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45607 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45609 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45611 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45613 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45615 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45617 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45619 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45621 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45635 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45653 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45659 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45676 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45682 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45688 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45751 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45758 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45794 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45804 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45810 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45814 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45817 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45824 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45827 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45829 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45834 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45842 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45846 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45849 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45851 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45855 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45872 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45874 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45877 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45879 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45883 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45887 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45898 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45901 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45904 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45908 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45915 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45920 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45925 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45929 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45974 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45994 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46001 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46005 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46015 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46187 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46227 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46242 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46245 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46300 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46327 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46379 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46398 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46399 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46436 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46466 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46469 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46473 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46476 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46486 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46498 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46510 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46520 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46530 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46544 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46551 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46552 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46553 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46554 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46555 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46560 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46587 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46599 { NULL
, NULL
, 0, NULL
}
46603 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46605 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46606 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46608 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46609 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46611 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46612 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46614 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46615 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46617 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46618 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46620 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46621 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46623 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46624 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46626 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46627 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46629 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46630 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46632 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46633 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46635 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46638 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46639 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46641 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46642 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46644 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46645 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46647 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46648 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46650 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46651 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46653 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46654 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46656 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46657 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46659 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46660 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46662 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46665 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46666 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46668 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46671 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46672 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46674 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46675 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46677 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46678 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46680 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46681 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46683 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46684 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46686 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46687 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46689 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46692 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46693 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46695 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46696 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46698 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46701 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46702 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46704 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46705 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46707 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46708 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46710 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46711 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46713 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46714 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46716 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46717 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46719 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46722 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46723 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46725 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46726 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46728 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46731 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46734 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46735 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46737 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46738 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46740 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46741 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46743 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46744 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46746 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46747 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46749 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46750 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46752 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46753 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46755 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46756 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46758 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46759 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46761 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46762 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46764 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46767 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46768 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46770 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46771 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46773 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46774 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46776 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46779 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46780 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46782 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46783 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46785 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46786 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46788 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46789 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46791 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46792 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46794 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46795 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46797 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46798 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46800 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46801 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46803 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46804 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46806 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46807 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46809 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46810 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46812 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46813 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46815 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46816 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46818 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46819 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46821 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46822 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46824 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46825 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46827 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46828 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46830 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46831 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46833 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46834 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46836 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46837 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46839 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46840 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46842 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46843 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46845 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46846 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46848 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46849 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46851 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46852 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46854 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46857 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46858 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46860 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46861 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46863 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46864 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46866 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46867 return (void *)((wxObject
*) ((wxSizer
*) x
));
46869 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46870 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46872 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46875 static void *_p_wxEventTo_p_wxObject(void *x
) {
46876 return (void *)((wxObject
*) ((wxEvent
*) x
));
46878 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46879 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46881 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46882 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46884 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46885 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46887 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46888 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46890 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46891 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46893 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46894 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46896 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46899 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46902 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46905 static void *_p_wxControlTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46908 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46911 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46914 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46917 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46920 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46923 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46926 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46929 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46932 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46935 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46938 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46941 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46944 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46947 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46950 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46953 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46956 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46959 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46962 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46965 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46968 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46971 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46974 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46977 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46980 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46983 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46986 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46989 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46992 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46995 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46998 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47001 static void *_p_wxImageTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) ((wxImage
*) x
));
47004 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47007 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47010 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47013 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47016 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47019 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47022 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47025 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47028 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47031 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47034 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47037 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47040 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47043 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47046 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47049 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47052 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47055 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47058 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47061 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47064 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47067 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47070 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47071 return (void *)((wxWindow
*) ((wxControl
*) x
));
47073 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47074 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47076 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47077 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47079 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47080 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47082 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47083 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47085 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47086 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47088 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47089 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47091 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47092 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47094 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47095 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47097 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47098 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47100 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47101 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47103 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47104 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47106 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47107 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 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}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47238 static swig_type_info
*swig_types_initial
[] = {
47239 _swigt__p_wxLayoutConstraints
,
47240 _swigt__p_wxRealPoint
,
47241 _swigt__p_wxSizerItem
,
47242 _swigt__p_wxGBSizerItem
,
47243 _swigt__p_wxScrollEvent
,
47244 _swigt__p_wxEventLoop
,
47245 _swigt__p_wxIndividualLayoutConstraint
,
47247 _swigt__p_wxBoxSizer
,
47248 _swigt__p_wxStaticBoxSizer
,
47249 _swigt__p_wxGridBagSizer
,
47250 _swigt__p_wxAcceleratorEntry
,
47251 _swigt__p_wxUpdateUIEvent
,
47255 _swigt__p_wxGridSizer
,
47256 _swigt__p_wxFlexGridSizer
,
47257 _swigt__p_wxInitDialogEvent
,
47258 _swigt__p_wxItemContainer
,
47259 _swigt__p_wxNcPaintEvent
,
47260 _swigt__p_wxPaintEvent
,
47261 _swigt__p_wxSysColourChangedEvent
,
47262 _swigt__p_wxMouseCaptureChangedEvent
,
47263 _swigt__p_wxDisplayChangedEvent
,
47264 _swigt__p_wxPaletteChangedEvent
,
47265 _swigt__p_wxControl
,
47267 _swigt__p_wxMenuBarBase
,
47268 _swigt__p_wxSetCursorEvent
,
47269 _swigt__p_wxFSFile
,
47272 _swigt__std__ptrdiff_t
,
47273 _swigt__p_wxRegion
,
47274 _swigt__p_wxPoint2D
,
47278 _swigt__p_wxPySizer
,
47279 _swigt__p_wxVisualAttributes
,
47280 _swigt__p_wxNotifyEvent
,
47281 _swigt__p_wxPyEvent
,
47282 _swigt__p_wxPropagationDisabler
,
47283 _swigt__p_form_ops_t
,
47284 _swigt__p_wxAppTraits
,
47285 _swigt__p_wxArrayString
,
47286 _swigt__p_wxShowEvent
,
47287 _swigt__p_wxToolTip
,
47288 _swigt__p_wxMoveEvent
,
47289 _swigt__p_wxSizeEvent
,
47290 _swigt__p_wxActivateEvent
,
47291 _swigt__p_wxIconizeEvent
,
47292 _swigt__p_wxMaximizeEvent
,
47293 _swigt__p_wxQueryNewPaletteEvent
,
47294 _swigt__p_wxWindowCreateEvent
,
47295 _swigt__p_wxIdleEvent
,
47296 _swigt__p_wxDateEvent
,
47297 _swigt__p_wxMenuItem
,
47298 _swigt__p_wxStaticBox
,
47300 _swigt__p_wxDuplexMode
,
47301 _swigt__p_wxTIFFHandler
,
47302 _swigt__p_wxXPMHandler
,
47303 _swigt__p_wxPNMHandler
,
47304 _swigt__p_wxJPEGHandler
,
47305 _swigt__p_wxPCXHandler
,
47306 _swigt__p_wxGIFHandler
,
47307 _swigt__p_wxPNGHandler
,
47308 _swigt__p_wxANIHandler
,
47309 _swigt__p_wxMemoryFSHandler
,
47310 _swigt__p_wxZipFSHandler
,
47311 _swigt__p_wxInternetFSHandler
,
47312 _swigt__p_wxPyFileSystemHandler
,
47313 _swigt__p_wxEvtHandler
,
47314 _swigt__p_wxCURHandler
,
47315 _swigt__p_wxICOHandler
,
47316 _swigt__p_wxBMPHandler
,
47317 _swigt__p_wxImageHandler
,
47318 _swigt__p_wxFileSystemHandler
,
47320 _swigt__p_wxButton
,
47321 _swigt__p_wxGBSpan
,
47322 _swigt__p_wxPropagateOnce
,
47323 _swigt__p_wxAcceleratorTable
,
47324 _swigt__p_wxStdDialogButtonSizer
,
47326 _swigt__p_wxGBPosition
,
47329 _swigt__p_wxScrollWinEvent
,
47330 _swigt__p_wxPaperSize
,
47331 _swigt__p_wxImageHistogram
,
47333 _swigt__p_wxCursor
,
47334 _swigt__p_wxObject
,
47335 _swigt__p_wxInputStream
,
47336 _swigt__p_wxOutputStream
,
47337 _swigt__p_wxPyInputStream
,
47338 _swigt__p_wxDateTime
,
47339 _swigt__p_wxKeyEvent
,
47340 _swigt__p_wxNavigationKeyEvent
,
47341 _swigt__p_wxWindowDestroyEvent
,
47342 _swigt__p_unsigned_long
,
47343 _swigt__p_wxWindow
,
47344 _swigt__p_wxMenuBar
,
47345 _swigt__p_wxFileSystem
,
47346 _swigt__p_wxBitmap
,
47347 _swigt__unsigned_int
,
47348 _swigt__p_unsigned_int
,
47349 _swigt__p_wxMenuEvent
,
47350 _swigt__p_wxContextMenuEvent
,
47351 _swigt__p_unsigned_char
,
47352 _swigt__p_wxEraseEvent
,
47353 _swigt__p_wxMouseEvent
,
47354 _swigt__p_wxCloseEvent
,
47356 _swigt__p_wxCommandEvent
,
47357 _swigt__p_wxPyCommandEvent
,
47358 _swigt__p_wxPyDropTarget
,
47359 _swigt__p_wxQuantize
,
47360 _swigt__p_wxFocusEvent
,
47361 _swigt__p_wxChildFocusEvent
,
47362 _swigt__p_wxDropFilesEvent
,
47363 _swigt__p_wxControlWithItems
,
47364 _swigt__p_wxColour
,
47365 _swigt__p_wxValidator
,
47366 _swigt__p_wxPyValidator
,
47371 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47373 static swig_const_info swig_const_table
[] = {
47374 {0, 0, 0, 0.0, 0, 0}};
47385 /* Python-specific SWIG API */
47386 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47387 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47388 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47390 /* -----------------------------------------------------------------------------
47391 * global variable support code.
47392 * ----------------------------------------------------------------------------- */
47394 typedef struct swig_globalvar
{
47395 char *name
; /* Name of global variable */
47396 PyObject
*(*get_attr
)(); /* Return the current value */
47397 int (*set_attr
)(PyObject
*); /* Set the value */
47398 struct swig_globalvar
*next
;
47401 typedef struct swig_varlinkobject
{
47403 swig_globalvar
*vars
;
47404 } swig_varlinkobject
;
47407 swig_varlink_repr(swig_varlinkobject
*v
) {
47409 return PyString_FromString("<Swig global variables>");
47413 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47414 swig_globalvar
*var
;
47416 fprintf(fp
,"Swig global variables { ");
47417 for (var
= v
->vars
; var
; var
=var
->next
) {
47418 fprintf(fp
,"%s", var
->name
);
47419 if (var
->next
) fprintf(fp
,", ");
47421 fprintf(fp
," }\n");
47426 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47427 swig_globalvar
*var
= v
->vars
;
47429 if (strcmp(var
->name
,n
) == 0) {
47430 return (*var
->get_attr
)();
47434 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47439 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47440 swig_globalvar
*var
= v
->vars
;
47442 if (strcmp(var
->name
,n
) == 0) {
47443 return (*var
->set_attr
)(p
);
47447 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47451 static PyTypeObject varlinktype
= {
47452 PyObject_HEAD_INIT(0)
47453 0, /* Number of items in variable part (ob_size) */
47454 (char *)"swigvarlink", /* Type name (tp_name) */
47455 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47456 0, /* Itemsize (tp_itemsize) */
47457 0, /* Deallocator (tp_dealloc) */
47458 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47459 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47460 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47461 0, /* tp_compare */
47462 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47463 0, /* tp_as_number */
47464 0, /* tp_as_sequence */
47465 0, /* tp_as_mapping */
47469 0, /* tp_getattro */
47470 0, /* tp_setattro */
47471 0, /* tp_as_buffer */
47474 #if PY_VERSION_HEX >= 0x02000000
47475 0, /* tp_traverse */
47478 #if PY_VERSION_HEX >= 0x02010000
47479 0, /* tp_richcompare */
47480 0, /* tp_weaklistoffset */
47482 #if PY_VERSION_HEX >= 0x02020000
47483 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47485 #if PY_VERSION_HEX >= 0x02030000
47488 #ifdef COUNT_ALLOCS
47489 0,0,0,0 /* tp_alloc -> tp_next */
47493 /* Create a variable linking object for use later */
47495 SWIG_Python_newvarlink(void) {
47496 swig_varlinkobject
*result
= 0;
47497 result
= PyMem_NEW(swig_varlinkobject
,1);
47498 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47499 result
->ob_type
= &varlinktype
;
47501 result
->ob_refcnt
= 0;
47502 Py_XINCREF((PyObject
*) result
);
47503 return ((PyObject
*) result
);
47507 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47508 swig_varlinkobject
*v
;
47509 swig_globalvar
*gv
;
47510 v
= (swig_varlinkobject
*) p
;
47511 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47512 gv
->name
= (char *) malloc(strlen(name
)+1);
47513 strcpy(gv
->name
,name
);
47514 gv
->get_attr
= get_attr
;
47515 gv
->set_attr
= set_attr
;
47516 gv
->next
= v
->vars
;
47520 /* -----------------------------------------------------------------------------
47521 * constants/methods manipulation
47522 * ----------------------------------------------------------------------------- */
47524 /* Install Constants */
47526 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47529 for (i
= 0; constants
[i
].type
; i
++) {
47530 switch(constants
[i
].type
) {
47532 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47534 case SWIG_PY_FLOAT
:
47535 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47537 case SWIG_PY_STRING
:
47538 if (constants
[i
].pvalue
) {
47539 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47541 Py_INCREF(Py_None
);
47545 case SWIG_PY_POINTER
:
47546 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47548 case SWIG_PY_BINARY
:
47549 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47556 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47562 /* -----------------------------------------------------------------------------*/
47563 /* Fix SwigMethods to carry the callback ptrs when needed */
47564 /* -----------------------------------------------------------------------------*/
47567 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47568 swig_const_info
*const_table
,
47569 swig_type_info
**types
,
47570 swig_type_info
**types_initial
) {
47572 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47573 char *c
= methods
[i
].ml_doc
;
47574 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47576 swig_const_info
*ci
= 0;
47577 char *name
= c
+ 10;
47578 for (j
= 0; const_table
[j
].type
; j
++) {
47579 if (strncmp(const_table
[j
].name
, name
,
47580 strlen(const_table
[j
].name
)) == 0) {
47581 ci
= &(const_table
[j
]);
47586 size_t shift
= (ci
->ptype
) - types
;
47587 swig_type_info
*ty
= types_initial
[shift
];
47588 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47589 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47590 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47592 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47593 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47595 strncpy(buff
, "swig_ptr: ", 10);
47597 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47598 methods
[i
].ml_doc
= ndoc
;
47604 /* -----------------------------------------------------------------------------*
47605 * Initialize type list
47606 * -----------------------------------------------------------------------------*/
47608 #if PY_MAJOR_VERSION < 2
47609 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47610 is copied out of Python/modsupport.c in python version 2.3.4 */
47612 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47615 if (!PyModule_Check(m
)) {
47616 PyErr_SetString(PyExc_TypeError
,
47617 "PyModule_AddObject() needs module as first arg");
47621 PyErr_SetString(PyExc_TypeError
,
47622 "PyModule_AddObject() needs non-NULL value");
47626 dict
= PyModule_GetDict(m
);
47627 if (dict
== NULL
) {
47628 /* Internal error -- modules must have a dict! */
47629 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47630 PyModule_GetName(m
));
47633 if (PyDict_SetItemString(dict
, name
, o
))
47640 static swig_type_info
**
47641 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47642 static PyMethodDef swig_empty_runtime_method_table
[] = {
47644 NULL
, NULL
, 0, NULL
47648 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47649 swig_empty_runtime_method_table
);
47650 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47651 if (pointer
&& module) {
47652 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47654 return type_list_handle
;
47657 static swig_type_info
**
47658 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47659 swig_type_info
**type_pointer
;
47661 /* first check if module already created */
47662 type_pointer
= SWIG_Python_GetTypeListHandle();
47663 if (type_pointer
) {
47664 return type_pointer
;
47666 /* create a new module and variable */
47667 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47675 /* -----------------------------------------------------------------------------*
47676 * Partial Init method
47677 * -----------------------------------------------------------------------------*/
47679 #ifdef SWIG_LINK_RUNTIME
47683 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47689 SWIGEXPORT(void) SWIG_init(void) {
47690 static PyObject
*SWIG_globals
= 0;
47691 static int typeinit
= 0;
47694 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47696 /* Fix SwigMethods to carry the callback ptrs when needed */
47697 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47699 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47700 d
= PyModule_GetDict(m
);
47703 #ifdef SWIG_LINK_RUNTIME
47704 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47706 # ifndef SWIG_STATIC_RUNTIME
47707 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47710 for (i
= 0; swig_types_initial
[i
]; i
++) {
47711 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47715 SWIG_InstallConstants(d
,swig_const_table
);
47718 #ifndef wxPyUSE_EXPORT
47719 // Make our API structure a CObject so other modules can import it
47720 // from this module.
47721 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47722 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47727 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47730 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47733 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47736 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47739 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47742 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47745 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47748 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47751 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47754 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47757 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47760 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47763 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47766 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47769 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47772 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47775 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47778 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47781 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47784 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47787 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47790 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47793 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47796 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47799 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47802 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47805 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47808 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47811 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47814 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47817 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47820 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47823 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47826 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47829 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47832 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47835 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47838 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47841 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47844 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47847 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47850 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47853 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47856 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47859 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47862 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47865 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47868 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47871 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47874 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47877 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47880 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47883 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47886 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47889 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47892 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47895 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47898 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47901 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47904 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47907 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47910 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47913 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47916 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47919 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47922 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47925 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47928 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47931 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47934 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47937 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47940 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47943 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47946 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47949 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47952 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47955 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47958 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47961 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47964 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47967 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47970 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47973 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47976 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47979 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47982 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47985 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47988 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47991 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47994 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47997 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48000 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48003 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48006 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48009 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48012 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48015 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48018 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48021 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48024 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48027 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48030 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48033 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48036 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48039 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48042 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48045 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48048 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48051 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48054 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48057 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48060 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48063 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48066 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48069 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48072 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48075 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48078 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48081 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48084 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48087 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48090 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48093 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48096 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48099 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48102 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48105 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48108 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48111 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48114 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48117 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48120 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48123 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48126 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48129 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48132 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48135 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48138 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48141 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48144 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48147 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48150 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48153 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48156 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48159 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48162 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48165 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48168 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48171 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48174 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48177 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48180 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48183 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48186 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48189 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48192 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48195 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48198 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48201 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48204 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48207 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48210 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48213 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48216 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48219 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48222 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48225 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48228 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48231 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48234 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48237 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48240 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48243 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48246 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48249 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48252 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48255 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48258 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48261 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48264 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48267 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48270 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48273 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48276 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48279 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48282 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48285 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48288 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48291 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48294 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48297 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48300 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48303 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48306 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48309 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48312 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48315 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48318 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48321 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48324 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48327 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48330 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48333 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48336 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48339 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48342 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48345 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48348 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48351 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48354 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48357 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48360 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48363 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48366 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48369 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48372 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48375 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48378 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48381 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48384 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48387 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48390 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48393 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48396 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48399 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48402 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48405 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48408 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48411 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48414 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48417 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48420 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48423 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48426 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48429 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48432 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48435 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48438 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48441 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48444 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48447 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48450 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48453 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48456 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48459 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48462 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48465 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48468 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48471 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48474 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48477 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48480 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48483 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48486 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48489 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48492 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48495 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48498 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48501 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48504 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48507 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48510 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48513 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48516 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48519 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48522 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48525 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48528 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48531 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48534 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48537 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48540 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48543 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48546 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48549 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48552 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48555 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48558 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48561 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48564 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48567 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48570 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48573 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48576 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48579 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48582 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48585 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48588 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48591 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48594 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48597 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48600 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48603 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48606 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48609 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48612 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48615 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48618 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48621 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48624 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48627 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48630 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48633 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48636 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48639 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48642 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48645 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48648 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48651 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48654 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48657 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48660 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48663 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48666 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48669 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48672 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48675 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48678 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48681 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48684 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48687 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48690 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48693 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48696 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48699 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48702 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48705 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48708 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48711 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48714 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48717 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48720 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48723 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48726 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48729 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48732 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48735 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48738 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48741 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48744 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48747 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48750 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48753 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48756 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48759 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48762 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48765 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48768 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48771 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48774 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48777 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48780 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48783 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48786 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48789 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48792 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48795 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48798 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48801 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48804 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48807 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48810 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48813 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48816 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48819 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48822 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48825 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48828 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48831 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48834 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48837 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48840 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48843 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48846 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48849 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48852 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48855 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48858 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48861 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48864 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48867 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48870 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48873 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48876 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48879 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48882 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48885 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48888 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48891 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48894 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48897 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48900 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48903 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48906 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48909 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48912 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48915 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48918 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48921 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48924 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48927 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48930 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48933 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48936 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48939 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48942 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48945 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48948 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48951 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48954 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48957 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48960 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48963 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48966 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48969 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48972 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48975 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48978 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48981 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48984 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48987 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48990 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48993 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48996 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48999 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49002 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49005 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49008 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49011 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49014 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49017 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49020 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49023 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49026 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49029 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49032 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49035 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49038 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49041 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49044 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49047 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49050 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49053 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49056 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49059 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49062 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49065 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49068 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49071 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49074 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49077 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49080 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49083 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49086 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49089 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49092 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49095 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49098 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49101 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49104 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49107 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49110 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49113 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49116 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49119 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49122 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49125 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49128 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49131 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49134 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49137 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49140 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49143 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49146 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49149 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49152 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49155 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49158 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49161 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49164 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49167 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49170 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49173 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49176 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49179 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49182 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49185 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49188 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49191 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49194 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49197 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49200 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49203 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49206 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49209 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49212 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49215 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49218 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49221 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49224 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49227 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49230 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49233 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49236 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49239 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49242 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49245 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49248 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49251 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49254 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49257 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49260 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49263 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49266 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49269 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49272 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49275 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49278 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49281 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49284 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49287 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49290 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49293 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49296 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49299 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49302 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49305 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49308 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49311 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49314 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49317 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49320 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49323 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49326 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49329 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49332 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49335 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49338 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49341 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49344 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49347 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49350 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49353 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49356 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49359 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49362 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49365 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49368 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49371 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49374 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49377 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49380 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49383 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49385 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49386 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49388 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49391 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49394 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49397 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49400 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49403 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49406 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49409 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49412 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49415 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49418 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49421 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49424 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49427 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49430 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49433 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49436 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49439 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49442 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49445 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49448 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49451 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49454 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49457 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49460 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49463 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49466 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49469 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49472 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49475 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49478 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49481 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49484 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49487 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49490 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49493 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49496 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49499 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49502 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49505 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49508 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49511 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49514 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49517 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49520 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49523 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49526 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49529 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49532 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49535 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49538 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49540 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49541 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49543 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49546 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49549 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49552 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49555 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49558 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49561 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49564 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49566 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49567 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49568 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49569 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49570 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49571 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49572 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49573 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49574 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49575 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49577 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49580 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49582 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49583 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49584 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49585 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49586 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49587 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49589 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49592 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49595 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49598 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49601 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49604 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49607 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49610 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49613 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49616 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49619 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49622 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49625 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49628 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49631 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49634 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49636 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49637 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49638 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49639 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49640 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49641 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49643 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49644 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49645 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49646 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49647 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49648 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49649 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49650 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49651 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49652 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49654 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49655 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49656 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49657 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49658 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49659 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49660 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49661 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49662 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49663 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49664 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49665 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49666 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49667 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49668 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49669 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49670 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49671 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49672 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49673 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49674 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49675 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49676 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49677 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49678 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49679 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49680 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49681 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49682 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49683 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49684 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49685 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49686 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49687 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49688 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49689 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49690 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49691 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49692 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49693 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49694 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49695 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49696 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49697 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49698 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49699 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49700 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49701 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49702 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49703 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49704 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49705 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49706 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49707 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49708 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49709 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49710 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49711 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49712 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49713 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49714 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49715 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49716 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49717 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49718 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49719 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49720 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49721 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49722 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49723 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49724 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49725 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49726 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49727 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49728 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49729 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49730 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49731 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49732 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49733 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49734 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49735 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49736 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49737 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49738 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49739 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49740 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49741 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49742 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49743 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49745 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49747 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49750 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49752 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49755 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49758 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49761 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49764 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49767 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49770 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49773 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49776 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49779 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49782 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49785 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49788 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49790 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49792 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49795 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49798 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49801 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49804 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49807 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49809 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49810 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49812 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49815 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49818 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49821 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49824 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49826 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49827 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49829 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49832 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49835 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49837 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49839 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49842 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49845 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49848 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49851 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49854 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49857 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49860 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49863 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49866 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49869 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49872 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49875 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49878 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49881 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49884 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49887 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49890 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49893 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49896 // Initialize threading, some globals and such
49900 // Although these are defined in __version__ they need to be here too so
49901 // that an assert can be done to ensure that the wxPython and the wxWindows
49903 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49904 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49905 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));