1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2632 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2634 void wxApp_CleanUp() {
2639 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2643 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2645 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2650 SWIG_type_error("char *", obj
);
2656 SWIGINTERN PyObject
*
2657 SWIG_FromCharPtr(const char* cptr
)
2660 size_t size
= strlen(cptr
);
2661 if (size
> INT_MAX
) {
2662 return SWIG_NewPointerObj((char*)(cptr
),
2663 SWIG_TypeQuery("char *"), 0);
2666 return PyString_FromStringAndSize(cptr
, size
);
2668 return PyString_FromString(cptr
);
2679 // A dummy class that raises an exception if used...
2683 wxEventLoop() { wxPyRaiseNotImplemented(); }
2684 int Run() { return 0; }
2685 void Exit(int rc
= 0) {}
2686 bool Pending() const { return false; }
2687 bool Dispatch() { return false; }
2688 bool IsRunning() const { return false; }
2689 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2690 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2695 #include <wx/evtloop.h>
2701 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2702 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2703 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2704 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2705 wxWindowList
& list
= self
->GetChildren();
2706 return wxPy_ConvertList(&list
);
2708 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2710 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2715 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2722 static long wxWindow_GetHandle(wxWindow
*self
){
2723 return wxPyGetWinHandle(self
);
2725 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2726 self
->AssociateHandle((WXWidget
)handle
);
2729 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2730 return wxWindow::FindWindowById(id
, parent
);
2733 wxWindow
* wxFindWindowByName( const wxString
& name
,
2734 const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowByName(name
, parent
);
2738 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByLabel(label
, parent
);
2745 #include <wx/msw/private.h> // to get wxGetWindowId
2749 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2751 WXHWND hWnd
= (WXHWND
)_hWnd
;
2752 long id
= wxGetWindowId(hWnd
);
2753 wxWindow
* win
= new wxWindow
;
2754 parent
->AddChild(win
);
2755 win
->SetEventHandler(win
);
2758 win
->SubclassWin(hWnd
);
2759 win
->AdoptAttributesFromHWND();
2760 win
->SetupColours();
2763 wxPyRaiseNotImplemented();
2769 PyObject
* GetTopLevelWindows() {
2770 return wxPy_ConvertList(&wxTopLevelWindows
);
2774 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2775 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2776 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2778 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2780 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2781 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2782 wxMenuItemList
& list
= self
->GetMenuItems();
2783 return wxPy_ConvertList(&list
);
2785 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2786 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2787 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2788 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2789 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2790 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2791 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2792 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2793 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2794 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2795 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2796 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2797 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2798 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2799 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2800 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2801 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2803 wxPyClientData
* data
= new wxPyClientData(clientData
);
2804 return self
->Append(item
, data
);
2806 return self
->Append(item
);
2808 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2810 wxPyClientData
* data
= new wxPyClientData(clientData
);
2811 return self
->Insert(item
, pos
, data
);
2813 return self
->Insert(item
, pos
);
2815 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2816 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2818 Py_INCREF(data
->m_obj
);
2825 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2826 wxPyClientData
* data
= new wxPyClientData(clientData
);
2827 self
->SetClientObject(n
, data
);
2831 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2832 wxPyUserData
* data
= NULL
;
2834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2835 data
= new wxPyUserData(userData
);
2836 wxPyEndBlockThreads(blocked
);
2838 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2840 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2841 wxPyUserData
* data
= NULL
;
2843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2844 data
= new wxPyUserData(userData
);
2845 wxPyEndBlockThreads(blocked
);
2847 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2849 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2850 wxPyUserData
* data
= NULL
;
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 data
= new wxPyUserData(userData
);
2854 wxPyEndBlockThreads(blocked
);
2856 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2861 SWIG_CheckDoubleInRange(double value
, double min_value
,
2862 double max_value
, const char* errmsg
)
2864 if (value
< min_value
) {
2866 PyErr_Format(PyExc_OverflowError
,
2867 "value %g is less than %s minimum %g",
2868 value
, errmsg
, min_value
);
2871 } else if (value
> max_value
) {
2873 PyErr_Format(PyExc_OverflowError
,
2874 "value %g is greater than %s maximum %g",
2875 value
, errmsg
, max_value
);
2884 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2886 const char* errmsg
= val
? "float" : (char*)0;
2888 if (SWIG_AsVal_double(obj
, &v
)) {
2889 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2890 if (val
) *val
= (float)(v
);
2899 SWIG_type_error(errmsg
, obj
);
2905 SWIGINTERNSHORT
float
2906 SWIG_As_float(PyObject
* obj
)
2909 if (!SWIG_AsVal_float(obj
, &v
)) {
2911 this is needed to make valgrind/purify happier.
2913 memset((void*)&v
, 0, sizeof(float));
2920 SWIG_Check_float(PyObject
* obj
)
2922 return SWIG_AsVal_float(obj
, (float*)0);
2926 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2927 #define SWIG_From_float PyFloat_FromDouble
2930 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2931 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2933 Py_INCREF(data
->m_obj
);
2941 // Figure out the type of the sizer item
2943 struct wxPySizerItemInfo
{
2945 : window(NULL
), sizer(NULL
), gotSize(false),
2946 size(wxDefaultSize
), gotPos(false), pos(-1)
2957 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2959 wxPySizerItemInfo info
;
2961 wxSize
* sizePtr
= &size
;
2963 // Find out what the type of the item is
2965 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2970 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2974 // try wxSize or (w,h)
2975 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2976 info
.size
= *sizePtr
;
2977 info
.gotSize
= true;
2981 if (checkIdx
&& PyInt_Check(item
)) {
2982 info
.pos
= PyInt_AsLong(item
);
2988 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2989 // no expected type, figure out what kind of error message to generate
2990 if ( !checkSize
&& !checkIdx
)
2991 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2992 else if ( checkSize
&& !checkIdx
)
2993 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2994 else if ( !checkSize
&& checkIdx
)
2995 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2997 // can this one happen?
2998 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3004 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3005 if (!self
->GetClientObject())
3006 self
->SetClientObject(new wxPyOORClientData(_self
));
3008 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3010 wxPyUserData
* data
= NULL
;
3011 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3012 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3013 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3014 data
= new wxPyUserData(userData
);
3015 wxPyEndBlockThreads(blocked
);
3017 // Now call the real Add method if a valid item type was found
3019 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3020 else if ( info
.sizer
)
3021 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3022 else if (info
.gotSize
)
3023 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3024 proportion
, flag
, border
, data
);
3028 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3030 wxPyUserData
* data
= NULL
;
3031 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3032 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3033 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3034 data
= new wxPyUserData(userData
);
3035 wxPyEndBlockThreads(blocked
);
3037 // Now call the real Insert method if a valid item type was found
3039 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3040 else if ( info
.sizer
)
3041 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3042 else if (info
.gotSize
)
3043 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3044 proportion
, flag
, border
, data
);
3048 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3050 wxPyUserData
* data
= NULL
;
3051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3052 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3053 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3054 data
= new wxPyUserData(userData
);
3055 wxPyEndBlockThreads(blocked
);
3057 // Now call the real Prepend method if a valid item type was found
3059 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3060 else if ( info
.sizer
)
3061 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3062 else if (info
.gotSize
)
3063 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3064 proportion
, flag
, border
, data
);
3068 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3071 wxPyEndBlockThreads(blocked
);
3073 return self
->Remove(info
.window
);
3074 else if ( info
.sizer
)
3075 return self
->Remove(info
.sizer
);
3076 else if ( info
.gotPos
)
3077 return self
->Remove(info
.pos
);
3081 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3083 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3084 wxPyEndBlockThreads(blocked
);
3086 return self
->Detach(info
.window
);
3087 else if ( info
.sizer
)
3088 return self
->Detach(info
.sizer
);
3089 else if ( info
.gotPos
)
3090 return self
->Detach(info
.pos
);
3094 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3096 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3097 wxPyEndBlockThreads(blocked
);
3099 return self
->GetItem(info
.window
);
3100 else if ( info
.sizer
)
3101 return self
->GetItem(info
.sizer
);
3102 else if ( info
.gotPos
)
3103 return self
->GetItem(info
.pos
);
3107 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3108 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3109 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3110 wxPyEndBlockThreads(blocked
);
3112 self
->SetItemMinSize(info
.window
, size
);
3113 else if ( info
.sizer
)
3114 self
->SetItemMinSize(info
.sizer
, size
);
3115 else if ( info
.gotPos
)
3116 self
->SetItemMinSize(info
.pos
, size
);
3118 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3119 wxSizerItemList
& list
= self
->GetChildren();
3120 return wxPy_ConvertList(&list
);
3122 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3123 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3124 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3125 wxPyEndBlockThreads(blocked
);
3127 return self
->Show(info
.window
, show
, recursive
);
3128 else if ( info
.sizer
)
3129 return self
->Show(info
.sizer
, show
, recursive
);
3130 else if ( info
.gotPos
)
3131 return self
->Show(info
.pos
, show
);
3135 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3138 wxPyEndBlockThreads(blocked
);
3140 return self
->IsShown(info
.window
);
3141 else if ( info
.sizer
)
3142 return self
->IsShown(info
.sizer
);
3143 else if ( info
.gotPos
)
3144 return self
->IsShown(info
.pos
);
3150 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3151 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3152 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3157 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3159 if (source
== Py_None
) {
3160 **obj
= wxGBPosition(-1,-1);
3163 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3166 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3168 if (source
== Py_None
) {
3169 **obj
= wxGBSpan(-1,-1);
3172 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3176 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3180 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* tup
= PyTuple_New(2);
3183 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3184 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3185 wxPyEndBlockThreads(blocked
);
3188 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3189 self
->SetRowspan(rowspan
);
3190 self
->SetColspan(colspan
);
3192 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3193 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3194 PyObject
* tup
= PyTuple_New(2);
3195 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3196 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3197 wxPyEndBlockThreads(blocked
);
3200 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3201 wxPyUserData
* data
= NULL
;
3203 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3204 data
= new wxPyUserData(userData
);
3205 wxPyEndBlockThreads(blocked
);
3207 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3209 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3210 wxPyUserData
* data
= NULL
;
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 data
= new wxPyUserData(userData
);
3214 wxPyEndBlockThreads(blocked
);
3216 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3218 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3219 wxPyUserData
* data
= NULL
;
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 data
= new wxPyUserData(userData
);
3223 wxPyEndBlockThreads(blocked
);
3225 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3227 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3229 self
->GetEndPos(row
, col
);
3230 return wxGBPosition(row
, col
);
3232 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3234 wxPyUserData
* data
= NULL
;
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3237 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3238 data
= new wxPyUserData(userData
);
3239 wxPyEndBlockThreads(blocked
);
3241 // Now call the real Add method if a valid item type was found
3243 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3244 else if ( info
.sizer
)
3245 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3246 else if (info
.gotSize
)
3247 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3248 pos
, span
, flag
, border
, data
);
3256 static int _wrap_EmptyString_set(PyObject
*) {
3257 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3262 static PyObject
*_wrap_EmptyString_get(void) {
3267 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3269 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3276 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxObject
*arg1
= (wxObject
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3282 (char *) "self", NULL
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3287 if (SWIG_arg_fail(1)) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= wxObject_GetClassName(arg1
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3308 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxObject
*arg1
= (wxObject
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3313 (char *) "self", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3318 if (SWIG_arg_fail(1)) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxObject_Destroy(arg1
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3333 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3336 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3338 return Py_BuildValue((char *)"");
3340 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxSize
*arg1
= (wxSize
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "x", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 arg2
= (int)(SWIG_As_int(obj1
));
3355 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 if (arg1
) (arg1
)->x
= arg2
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxSize
*arg1
= (wxSize
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 result
= (int) ((arg1
)->x
);
3381 resultobj
= SWIG_From_int((int)(result
));
3389 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxSize
*arg1
= (wxSize
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3396 (char *) "self",(char *) "y", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3403 arg2
= (int)(SWIG_As_int(obj1
));
3404 if (SWIG_arg_fail(2)) SWIG_fail
;
3406 if (arg1
) (arg1
)->y
= arg2
;
3408 Py_INCREF(Py_None
); resultobj
= Py_None
;
3415 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxSize
*arg1
= (wxSize
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3426 if (SWIG_arg_fail(1)) SWIG_fail
;
3427 result
= (int) ((arg1
)->y
);
3430 resultobj
= SWIG_From_int((int)(result
));
3438 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 int arg1
= (int) 0 ;
3441 int arg2
= (int) 0 ;
3443 PyObject
* obj0
= 0 ;
3444 PyObject
* obj1
= 0 ;
3446 (char *) "w",(char *) "h", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3452 arg1
= (int)(SWIG_As_int(obj0
));
3453 if (SWIG_arg_fail(1)) SWIG_fail
;
3458 arg2
= (int)(SWIG_As_int(obj1
));
3459 if (SWIG_arg_fail(2)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3476 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxSize
*arg1
= (wxSize
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxSize
*arg1
= (wxSize
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "sz", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail
;
3518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3536 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxSize
*arg1
= (wxSize
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "sz", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3550 if (SWIG_arg_fail(1)) SWIG_fail
;
3553 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3571 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxSize
*arg1
= (wxSize
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "sz", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3585 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3599 resultptr
= new wxSize((wxSize
&)(result
));
3600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3608 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxSize
*arg1
= (wxSize
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 (char *) "self",(char *) "sz", NULL
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3622 if (SWIG_arg_fail(1)) SWIG_fail
;
3625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3636 resultptr
= new wxSize((wxSize
&)(result
));
3637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3645 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxSize
*arg1
= (wxSize
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3651 PyObject
* obj1
= 0 ;
3653 (char *) "self",(char *) "sz", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3658 if (SWIG_arg_fail(1)) SWIG_fail
;
3661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->IncTo((wxSize
const &)*arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxSize
*arg1
= (wxSize
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "self",(char *) "sz", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3690 if (SWIG_arg_fail(1)) SWIG_fail
;
3693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->DecTo((wxSize
const &)*arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxSize
*arg1
= (wxSize
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3718 (char *) "self",(char *) "w",(char *) "h", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3725 arg2
= (int)(SWIG_As_int(obj1
));
3726 if (SWIG_arg_fail(2)) SWIG_fail
;
3729 arg3
= (int)(SWIG_As_int(obj2
));
3730 if (SWIG_arg_fail(3)) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 (arg1
)->Set(arg2
,arg3
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxSize
*arg1
= (wxSize
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3753 (char *) "self",(char *) "w", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3758 if (SWIG_arg_fail(1)) SWIG_fail
;
3760 arg2
= (int)(SWIG_As_int(obj1
));
3761 if (SWIG_arg_fail(2)) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 (arg1
)->SetWidth(arg2
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3777 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxSize
*arg1
= (wxSize
*) 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "h", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3791 arg2
= (int)(SWIG_As_int(obj1
));
3792 if (SWIG_arg_fail(2)) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetHeight(arg2
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxSize
*arg1
= (wxSize
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "self", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_From_int((int)(result
));
3836 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxSize
*arg1
= (wxSize
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_From_int((int)(result
));
3864 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxSize
*arg1
= (wxSize
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "self", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3875 if (SWIG_arg_fail(1)) SWIG_fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3892 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxSize
*arg1
= (wxSize
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3898 PyObject
* obj1
= 0 ;
3900 (char *) "self",(char *) "size", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3905 if (SWIG_arg_fail(1)) SWIG_fail
;
3908 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxSize
*arg1
= (wxSize
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3935 if (SWIG_arg_fail(1)) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (PyObject
*)wxSize_Get(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3950 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3953 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3955 return Py_BuildValue((char *)"");
3957 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "x", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= (double)(SWIG_As_double(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3974 if (arg1
) (arg1
)->x
= arg2
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 result
= (double) ((arg1
)->x
);
3998 resultobj
= SWIG_From_double((double)(result
));
4006 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4013 (char *) "self",(char *) "y", NULL
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4018 if (SWIG_arg_fail(1)) SWIG_fail
;
4020 arg2
= (double)(SWIG_As_double(obj1
));
4021 if (SWIG_arg_fail(2)) SWIG_fail
;
4023 if (arg1
) (arg1
)->y
= arg2
;
4025 Py_INCREF(Py_None
); resultobj
= Py_None
;
4032 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4038 (char *) "self", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4043 if (SWIG_arg_fail(1)) SWIG_fail
;
4044 result
= (double) ((arg1
)->y
);
4047 resultobj
= SWIG_From_double((double)(result
));
4055 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 double arg1
= (double) 0.0 ;
4058 double arg2
= (double) 0.0 ;
4059 wxRealPoint
*result
;
4060 PyObject
* obj0
= 0 ;
4061 PyObject
* obj1
= 0 ;
4063 (char *) "x",(char *) "y", NULL
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 arg1
= (double)(SWIG_As_double(obj0
));
4070 if (SWIG_arg_fail(1)) SWIG_fail
;
4075 arg2
= (double)(SWIG_As_double(obj1
));
4076 if (SWIG_arg_fail(2)) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4093 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4121 wxRealPoint
*arg2
= 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4127 (char *) "self",(char *) "pt", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4135 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4153 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4156 wxRealPoint
*arg2
= 0 ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4162 (char *) "self",(char *) "pt", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4167 if (SWIG_arg_fail(1)) SWIG_fail
;
4170 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4191 wxRealPoint
*arg2
= 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "pt", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(1)) SWIG_fail
;
4205 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 wxRealPoint
* resultptr
;
4216 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4225 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4228 wxRealPoint
*arg2
= 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "pt", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4239 if (SWIG_arg_fail(1)) SWIG_fail
;
4242 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4252 wxRealPoint
* resultptr
;
4253 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4254 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4262 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4271 (char *) "self",(char *) "x",(char *) "y", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail
;
4278 arg2
= (double)(SWIG_As_double(obj1
));
4279 if (SWIG_arg_fail(2)) SWIG_fail
;
4282 arg3
= (double)(SWIG_As_double(obj2
));
4283 if (SWIG_arg_fail(3)) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxRealPoint_Set(arg1
,arg2
,arg3
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 Py_INCREF(Py_None
); resultobj
= Py_None
;
4299 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "self", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(1)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4325 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4328 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4330 return Py_BuildValue((char *)"");
4332 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxPoint
*arg1
= (wxPoint
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "x", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= (int)(SWIG_As_int(obj1
));
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4349 if (arg1
) (arg1
)->x
= arg2
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxPoint
*arg1
= (wxPoint
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 result
= (int) ((arg1
)->x
);
4373 resultobj
= SWIG_From_int((int)(result
));
4381 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxPoint
*arg1
= (wxPoint
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4388 (char *) "self",(char *) "y", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4393 if (SWIG_arg_fail(1)) SWIG_fail
;
4395 arg2
= (int)(SWIG_As_int(obj1
));
4396 if (SWIG_arg_fail(2)) SWIG_fail
;
4398 if (arg1
) (arg1
)->y
= arg2
;
4400 Py_INCREF(Py_None
); resultobj
= Py_None
;
4407 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxPoint
*arg1
= (wxPoint
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4419 result
= (int) ((arg1
)->y
);
4422 resultobj
= SWIG_From_int((int)(result
));
4430 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 int arg1
= (int) 0 ;
4433 int arg2
= (int) 0 ;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4438 (char *) "x",(char *) "y", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 arg1
= (int)(SWIG_As_int(obj0
));
4445 if (SWIG_arg_fail(1)) SWIG_fail
;
4450 arg2
= (int)(SWIG_As_int(obj1
));
4451 if (SWIG_arg_fail(2)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4468 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4470 wxPoint
*arg1
= (wxPoint
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4473 (char *) "self", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4478 if (SWIG_arg_fail(1)) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4493 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxPoint
*arg1
= (wxPoint
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "pt", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4528 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxPoint
*arg1
= (wxPoint
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4537 (char *) "self",(char *) "pt", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail
;
4545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4563 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxPoint
*arg1
= (wxPoint
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "self",(char *) "pt", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 wxPoint
* resultptr
;
4591 resultptr
= new wxPoint((wxPoint
&)(result
));
4592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4600 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPoint
*arg1
= (wxPoint
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "pt", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 wxPoint
* resultptr
;
4628 resultptr
= new wxPoint((wxPoint
&)(result
));
4629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4637 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxPoint
*arg1
= (wxPoint
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4646 (char *) "self",(char *) "pt", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4651 if (SWIG_arg_fail(1)) SWIG_fail
;
4654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4660 result
= (wxPoint
*) &_result_ref
;
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4673 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxPoint
*arg1
= (wxPoint
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "self",(char *) "pt", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4687 if (SWIG_arg_fail(1)) SWIG_fail
;
4690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4696 result
= (wxPoint
*) &_result_ref
;
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4709 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxPoint
*arg1
= (wxPoint
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4716 PyObject
* obj2
= 0 ;
4718 (char *) "self",(char *) "x",(char *) "y", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4723 if (SWIG_arg_fail(1)) SWIG_fail
;
4725 arg2
= (long)(SWIG_As_long(obj1
));
4726 if (SWIG_arg_fail(2)) SWIG_fail
;
4729 arg3
= (long)(SWIG_As_long(obj2
));
4730 if (SWIG_arg_fail(3)) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxPoint_Set(arg1
,arg2
,arg3
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxPoint
*arg1
= (wxPoint
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (PyObject
*)wxPoint_Get(arg1
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4772 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4775 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4777 return Py_BuildValue((char *)"");
4779 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 int arg1
= (int) 0 ;
4782 int arg2
= (int) 0 ;
4783 int arg3
= (int) 0 ;
4784 int arg4
= (int) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4791 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4797 arg1
= (int)(SWIG_As_int(obj0
));
4798 if (SWIG_arg_fail(1)) SWIG_fail
;
4803 arg2
= (int)(SWIG_As_int(obj1
));
4804 if (SWIG_arg_fail(2)) SWIG_fail
;
4809 arg3
= (int)(SWIG_As_int(obj2
));
4810 if (SWIG_arg_fail(3)) SWIG_fail
;
4815 arg4
= (int)(SWIG_As_int(obj3
));
4816 if (SWIG_arg_fail(4)) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4833 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "topLeft",(char *) "bottomRight", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4849 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4869 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4879 (char *) "pos",(char *) "size", NULL
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4885 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4905 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "size", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4918 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4934 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRect
*arg1
= (wxRect
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4939 (char *) "self", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4944 if (SWIG_arg_fail(1)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRect
*arg1
= (wxRect
*) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (int)((wxRect
const *)arg1
)->GetX();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_From_int((int)(result
));
4987 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxRect
*arg1
= (wxRect
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "self",(char *) "x", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4999 if (SWIG_arg_fail(1)) SWIG_fail
;
5001 arg2
= (int)(SWIG_As_int(obj1
));
5002 if (SWIG_arg_fail(2)) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxRect
*arg1
= (wxRect
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "self", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5029 if (SWIG_arg_fail(1)) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (int)(arg1
)->GetY();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_From_int((int)(result
));
5046 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxRect
*arg1
= (wxRect
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5053 (char *) "self",(char *) "y", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail
;
5060 arg2
= (int)(SWIG_As_int(obj1
));
5061 if (SWIG_arg_fail(2)) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxRect
*arg1
= (wxRect
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= SWIG_From_int((int)(result
));
5105 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxRect
*arg1
= (wxRect
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5112 (char *) "self",(char *) "w", NULL
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5117 if (SWIG_arg_fail(1)) SWIG_fail
;
5119 arg2
= (int)(SWIG_As_int(obj1
));
5120 if (SWIG_arg_fail(2)) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 (arg1
)->SetWidth(arg2
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxRect
*arg1
= (wxRect
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5147 if (SWIG_arg_fail(1)) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_From_int((int)(result
));
5164 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxRect
*arg1
= (wxRect
*) 0 ;
5168 PyObject
* obj0
= 0 ;
5169 PyObject
* obj1
= 0 ;
5171 (char *) "self",(char *) "h", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail
;
5178 arg2
= (int)(SWIG_As_int(obj1
));
5179 if (SWIG_arg_fail(2)) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 (arg1
)->SetHeight(arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxRect
*arg1
= (wxRect
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= ((wxRect
const *)arg1
)->GetPosition();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 wxPoint
* resultptr
;
5216 resultptr
= new wxPoint((wxPoint
&)(result
));
5217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5225 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxRect
*arg1
= (wxRect
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "p", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail
;
5241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxRect
*arg1
= (wxRect
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= ((wxRect
const *)arg1
)->GetSize();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 resultptr
= new wxSize((wxSize
&)(result
));
5279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5287 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxRect
*arg1
= (wxRect
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5295 (char *) "self",(char *) "s", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5300 if (SWIG_arg_fail(1)) SWIG_fail
;
5303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->SetSize((wxSize
const &)*arg2
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxRect
*arg1
= (wxRect
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5330 if (SWIG_arg_fail(1)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxRect
*arg1
= (wxRect
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 wxPoint
* resultptr
;
5368 resultptr
= new wxPoint((wxPoint
&)(result
));
5369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5377 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5379 wxRect
*arg1
= (wxRect
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "p", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5409 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxRect
*arg1
= (wxRect
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "self", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5420 if (SWIG_arg_fail(1)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 wxPoint
* resultptr
;
5430 resultptr
= new wxPoint((wxPoint
&)(result
));
5431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5439 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxRect
*arg1
= (wxRect
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5447 (char *) "self",(char *) "p", NULL
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5452 if (SWIG_arg_fail(1)) SWIG_fail
;
5455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 Py_INCREF(Py_None
); resultobj
= Py_None
;
5471 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
;
5473 wxRect
*arg1
= (wxRect
*) 0 ;
5475 PyObject
* obj0
= 0 ;
5477 (char *) "self", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5482 if (SWIG_arg_fail(1)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_From_int((int)(result
));
5499 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxRect
*arg1
= (wxRect
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5505 (char *) "self", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5510 if (SWIG_arg_fail(1)) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (int)((wxRect
const *)arg1
)->GetTop();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= SWIG_From_int((int)(result
));
5527 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxRect
*arg1
= (wxRect
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5533 (char *) "self", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5538 if (SWIG_arg_fail(1)) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_From_int((int)(result
));
5555 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxRect
*arg1
= (wxRect
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5566 if (SWIG_arg_fail(1)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (int)((wxRect
const *)arg1
)->GetRight();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_From_int((int)(result
));
5583 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5585 wxRect
*arg1
= (wxRect
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "left", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5595 if (SWIG_arg_fail(1)) SWIG_fail
;
5597 arg2
= (int)(SWIG_As_int(obj1
));
5598 if (SWIG_arg_fail(2)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 (arg1
)->SetLeft(arg2
);
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 Py_INCREF(Py_None
); resultobj
= Py_None
;
5614 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxRect
*arg1
= (wxRect
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5621 (char *) "self",(char *) "right", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5626 if (SWIG_arg_fail(1)) SWIG_fail
;
5628 arg2
= (int)(SWIG_As_int(obj1
));
5629 if (SWIG_arg_fail(2)) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 (arg1
)->SetRight(arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxRect
*arg1
= (wxRect
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5652 (char *) "self",(char *) "top", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5657 if (SWIG_arg_fail(1)) SWIG_fail
;
5659 arg2
= (int)(SWIG_As_int(obj1
));
5660 if (SWIG_arg_fail(2)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetTop(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxRect
*arg1
= (wxRect
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5683 (char *) "self",(char *) "bottom", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5688 if (SWIG_arg_fail(1)) SWIG_fail
;
5690 arg2
= (int)(SWIG_As_int(obj1
));
5691 if (SWIG_arg_fail(2)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 (arg1
)->SetBottom(arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 Py_INCREF(Py_None
); resultobj
= Py_None
;
5707 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxRect
*arg1
= (wxRect
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5715 PyObject
* obj2
= 0 ;
5717 (char *) "self",(char *) "dx",(char *) "dy", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail
;
5724 arg2
= (int)(SWIG_As_int(obj1
));
5725 if (SWIG_arg_fail(2)) SWIG_fail
;
5728 arg3
= (int)(SWIG_As_int(obj2
));
5729 if (SWIG_arg_fail(3)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5735 result
= (wxRect
*) &_result_ref
;
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5748 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxRect
*arg1
= (wxRect
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5756 PyObject
* obj2
= 0 ;
5758 (char *) "self",(char *) "dx",(char *) "dy", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5763 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 arg2
= (int)(SWIG_As_int(obj1
));
5766 if (SWIG_arg_fail(2)) SWIG_fail
;
5769 arg3
= (int)(SWIG_As_int(obj2
));
5770 if (SWIG_arg_fail(3)) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5776 result
= (wxRect
*) &_result_ref
;
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5789 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxRect
*arg1
= (wxRect
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5796 PyObject
* obj2
= 0 ;
5798 (char *) "self",(char *) "dx",(char *) "dy", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail
;
5805 arg2
= (int)(SWIG_As_int(obj1
));
5806 if (SWIG_arg_fail(2)) SWIG_fail
;
5809 arg3
= (int)(SWIG_As_int(obj2
));
5810 if (SWIG_arg_fail(3)) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 (arg1
)->Offset(arg2
,arg3
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 Py_INCREF(Py_None
); resultobj
= Py_None
;
5826 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxRect
*arg1
= (wxRect
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5834 (char *) "self",(char *) "pt", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5839 if (SWIG_arg_fail(1)) SWIG_fail
;
5842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->Offset((wxPoint
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxRect
*arg1
= (wxRect
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "rect", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5872 if (SWIG_arg_fail(1)) SWIG_fail
;
5875 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5886 resultptr
= new wxRect((wxRect
&)(result
));
5887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5895 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxRect
*arg1
= (wxRect
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5902 PyObject
* obj1
= 0 ;
5904 (char *) "self",(char *) "rect", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5909 if (SWIG_arg_fail(1)) SWIG_fail
;
5912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5923 resultptr
= new wxRect((wxRect
&)(result
));
5924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5932 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxRect
*arg1
= (wxRect
*) 0 ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5941 (char *) "self",(char *) "rect", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5946 if (SWIG_arg_fail(1)) SWIG_fail
;
5949 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5960 resultptr
= new wxRect((wxRect
&)(result
));
5961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5969 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxRect
*arg1
= (wxRect
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5978 (char *) "self",(char *) "rect", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5983 if (SWIG_arg_fail(1)) SWIG_fail
;
5986 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5992 result
= (wxRect
*) &_result_ref
;
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6005 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxRect
*arg1
= (wxRect
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6014 (char *) "self",(char *) "rect", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail
;
6022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6040 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxRect
*arg1
= (wxRect
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "rect", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6057 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6075 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxRect
*arg1
= (wxRect
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 PyObject
* obj2
= 0 ;
6085 (char *) "self",(char *) "x",(char *) "y", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6090 if (SWIG_arg_fail(1)) SWIG_fail
;
6092 arg2
= (int)(SWIG_As_int(obj1
));
6093 if (SWIG_arg_fail(2)) SWIG_fail
;
6096 arg3
= (int)(SWIG_As_int(obj2
));
6097 if (SWIG_arg_fail(3)) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxRect
*arg1
= (wxRect
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "pt", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6129 if (SWIG_arg_fail(1)) SWIG_fail
;
6132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxRect
*arg1
= (wxRect
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6159 (char *) "self",(char *) "rect", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6164 if (SWIG_arg_fail(1)) SWIG_fail
;
6167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6185 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxRect
*arg1
= (wxRect
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "x", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 arg2
= (int)(SWIG_As_int(obj1
));
6200 if (SWIG_arg_fail(2)) SWIG_fail
;
6202 if (arg1
) (arg1
)->x
= arg2
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxRect
*arg1
= (wxRect
*) 0 ;
6215 PyObject
* obj0
= 0 ;
6217 (char *) "self", NULL
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6222 if (SWIG_arg_fail(1)) SWIG_fail
;
6223 result
= (int) ((arg1
)->x
);
6226 resultobj
= SWIG_From_int((int)(result
));
6234 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxRect
*arg1
= (wxRect
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6241 (char *) "self",(char *) "y", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 arg2
= (int)(SWIG_As_int(obj1
));
6249 if (SWIG_arg_fail(2)) SWIG_fail
;
6251 if (arg1
) (arg1
)->y
= arg2
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxRect
*arg1
= (wxRect
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6271 if (SWIG_arg_fail(1)) SWIG_fail
;
6272 result
= (int) ((arg1
)->y
);
6275 resultobj
= SWIG_From_int((int)(result
));
6283 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxRect
*arg1
= (wxRect
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "width", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 arg2
= (int)(SWIG_As_int(obj1
));
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6300 if (arg1
) (arg1
)->width
= arg2
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxRect
*arg1
= (wxRect
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 result
= (int) ((arg1
)->width
);
6324 resultobj
= SWIG_From_int((int)(result
));
6332 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxRect
*arg1
= (wxRect
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 (char *) "self",(char *) "height", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6344 if (SWIG_arg_fail(1)) SWIG_fail
;
6346 arg2
= (int)(SWIG_As_int(obj1
));
6347 if (SWIG_arg_fail(2)) SWIG_fail
;
6349 if (arg1
) (arg1
)->height
= arg2
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxRect
*arg1
= (wxRect
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6369 if (SWIG_arg_fail(1)) SWIG_fail
;
6370 result
= (int) ((arg1
)->height
);
6373 resultobj
= SWIG_From_int((int)(result
));
6381 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
;
6383 wxRect
*arg1
= (wxRect
*) 0 ;
6384 int arg2
= (int) 0 ;
6385 int arg3
= (int) 0 ;
6386 int arg4
= (int) 0 ;
6387 int arg5
= (int) 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 PyObject
* obj4
= 0 ;
6394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail
;
6402 arg2
= (int)(SWIG_As_int(obj1
));
6403 if (SWIG_arg_fail(2)) SWIG_fail
;
6408 arg3
= (int)(SWIG_As_int(obj2
));
6409 if (SWIG_arg_fail(3)) SWIG_fail
;
6414 arg4
= (int)(SWIG_As_int(obj3
));
6415 if (SWIG_arg_fail(4)) SWIG_fail
;
6420 arg5
= (int)(SWIG_As_int(obj4
));
6421 if (SWIG_arg_fail(5)) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxRect
*arg1
= (wxRect
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (PyObject
*)wxRect_Get(arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6464 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6467 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6469 return Py_BuildValue((char *)"");
6471 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxRect
*arg1
= (wxRect
*) 0 ;
6474 wxRect
*arg2
= (wxRect
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 (char *) "r1",(char *) "r2", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6484 if (SWIG_arg_fail(1)) SWIG_fail
;
6485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6486 if (SWIG_arg_fail(2)) SWIG_fail
;
6488 if (!wxPyCheckForApp()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6502 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 double arg1
= (double) 0.0 ;
6505 double arg2
= (double) 0.0 ;
6507 PyObject
* obj0
= 0 ;
6508 PyObject
* obj1
= 0 ;
6510 (char *) "x",(char *) "y", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6516 arg1
= (double)(SWIG_As_double(obj0
));
6517 if (SWIG_arg_fail(1)) SWIG_fail
;
6522 arg2
= (double)(SWIG_As_double(obj1
));
6523 if (SWIG_arg_fail(2)) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6540 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxPoint2D
*arg1
= 0 ;
6545 PyObject
* obj0
= 0 ;
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6553 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6569 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6574 PyObject
* obj0
= 0 ;
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6582 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6598 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6601 int *arg2
= (int *) 0 ;
6602 int *arg3
= (int *) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6613 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6635 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6638 int *arg2
= (int *) 0 ;
6639 int *arg3
= (int *) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6650 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6653 if (SWIG_arg_fail(1)) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6662 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6663 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6664 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6665 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6672 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6678 (char *) "self", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_From_double((double)(result
));
6700 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6706 (char *) "self", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_From_double((double)(result
));
6728 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "length", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6740 if (SWIG_arg_fail(1)) SWIG_fail
;
6742 arg2
= (double)(SWIG_As_double(obj1
));
6743 if (SWIG_arg_fail(2)) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetVectorLength(arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "degrees", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6771 if (SWIG_arg_fail(1)) SWIG_fail
;
6773 arg2
= (double)(SWIG_As_double(obj1
));
6774 if (SWIG_arg_fail(2)) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 (arg1
)->SetVectorAngle(arg2
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6793 wxPoint2D
*arg2
= 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "pt", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6807 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_From_double((double)(result
));
6825 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6828 wxPoint2D
*arg2
= 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6834 (char *) "self",(char *) "pt", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6839 if (SWIG_arg_fail(1)) SWIG_fail
;
6842 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_From_double((double)(result
));
6860 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6863 wxPoint2D
*arg2
= 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "vec", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail
;
6877 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_From_double((double)(result
));
6895 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6898 wxPoint2D
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6904 (char *) "self",(char *) "vec", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6909 if (SWIG_arg_fail(1)) SWIG_fail
;
6912 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_From_double((double)(result
));
6930 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6934 PyObject
* obj0
= 0 ;
6936 (char *) "self", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6941 if (SWIG_arg_fail(1)) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (arg1
)->operator -();
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6950 wxPoint2D
* resultptr
;
6951 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6960 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6963 wxPoint2D
*arg2
= 0 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "pt", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6974 if (SWIG_arg_fail(1)) SWIG_fail
;
6977 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6983 result
= (wxPoint2D
*) &_result_ref
;
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6996 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6999 wxPoint2D
*arg2
= 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7005 (char *) "self",(char *) "pt", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7010 if (SWIG_arg_fail(1)) SWIG_fail
;
7013 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7019 result
= (wxPoint2D
*) &_result_ref
;
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7032 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7035 wxPoint2D
*arg2
= 0 ;
7038 PyObject
* obj0
= 0 ;
7039 PyObject
* obj1
= 0 ;
7041 (char *) "self",(char *) "pt", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7046 if (SWIG_arg_fail(1)) SWIG_fail
;
7049 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7055 result
= (wxPoint2D
*) &_result_ref
;
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7068 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7071 wxPoint2D
*arg2
= 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "self",(char *) "pt", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7085 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7091 result
= (wxPoint2D
*) &_result_ref
;
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7104 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7107 wxPoint2D
*arg2
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7113 (char *) "self",(char *) "pt", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7139 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7142 wxPoint2D
*arg2
= 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7148 (char *) "self",(char *) "pt", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7153 if (SWIG_arg_fail(1)) SWIG_fail
;
7156 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7174 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "m_x", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7188 arg2
= (double)(SWIG_As_double(obj1
));
7189 if (SWIG_arg_fail(2)) SWIG_fail
;
7191 if (arg1
) (arg1
)->m_x
= arg2
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "self", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 result
= (double) ((arg1
)->m_x
);
7215 resultobj
= SWIG_From_double((double)(result
));
7223 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7230 (char *) "self",(char *) "m_y", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 arg2
= (double)(SWIG_As_double(obj1
));
7238 if (SWIG_arg_fail(2)) SWIG_fail
;
7240 if (arg1
) (arg1
)->m_y
= arg2
;
7242 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail
;
7261 result
= (double) ((arg1
)->m_y
);
7264 resultobj
= SWIG_From_double((double)(result
));
7272 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
;
7274 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7275 double arg2
= (double) 0 ;
7276 double arg3
= (double) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7281 (char *) "self",(char *) "x",(char *) "y", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7286 if (SWIG_arg_fail(1)) SWIG_fail
;
7289 arg2
= (double)(SWIG_As_double(obj1
));
7290 if (SWIG_arg_fail(2)) SWIG_fail
;
7295 arg3
= (double)(SWIG_As_double(obj2
));
7296 if (SWIG_arg_fail(3)) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxPoint2D_Set(arg1
,arg2
,arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7319 (char *) "self", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7339 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7342 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7344 return Py_BuildValue((char *)"");
7346 static int _wrap_DefaultPosition_set(PyObject
*) {
7347 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7352 static PyObject
*_wrap_DefaultPosition_get(void) {
7355 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7360 static int _wrap_DefaultSize_set(PyObject
*) {
7361 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7366 static PyObject
*_wrap_DefaultSize_get(void) {
7369 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7374 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 PyObject
*arg1
= (PyObject
*) 0 ;
7377 wxPyInputStream
*result
;
7378 PyObject
* obj0
= 0 ;
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7399 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7427 PyObject
* obj0
= 0 ;
7429 (char *) "self", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7485 if (SWIG_arg_fail(1)) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->eof();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7505 int arg2
= (int) -1 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7510 (char *) "self",(char *) "size", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7515 if (SWIG_arg_fail(1)) SWIG_fail
;
7518 arg2
= (int)(SWIG_As_int(obj1
));
7519 if (SWIG_arg_fail(2)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (PyObject
*)(arg1
)->read(arg2
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7536 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7539 int arg2
= (int) -1 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "size", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 arg2
= (int)(SWIG_As_int(obj1
));
7553 if (SWIG_arg_fail(2)) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (PyObject
*)(arg1
)->readline(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7570 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7573 int arg2
= (int) -1 ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "sizehint", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7586 arg2
= (int)(SWIG_As_int(obj1
));
7587 if (SWIG_arg_fail(2)) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7604 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7608 int arg3
= (int) 0 ;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7611 PyObject
* obj2
= 0 ;
7613 (char *) "self",(char *) "offset",(char *) "whence", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail
;
7620 arg2
= (int)(SWIG_As_int(obj1
));
7621 if (SWIG_arg_fail(2)) SWIG_fail
;
7625 arg3
= (int)(SWIG_As_int(obj2
));
7626 if (SWIG_arg_fail(3)) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 (arg1
)->seek(arg2
,arg3
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7654 if (SWIG_arg_fail(1)) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (int)(arg1
)->tell();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_From_int((int)(result
));
7671 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7682 if (SWIG_arg_fail(1)) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (char)(arg1
)->Peek();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_From_char((char)(result
));
7699 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7710 if (SWIG_arg_fail(1)) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (char)(arg1
)->GetC();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_From_char((char)(result
));
7727 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7738 if (SWIG_arg_fail(1)) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (size_t)(arg1
)->LastRead();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7755 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (bool)(arg1
)->CanRead();
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7783 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (bool)(arg1
)->Eof();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7817 PyObject
* obj1
= 0 ;
7819 (char *) "self",(char *) "c", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail
;
7826 arg2
= (char)(SWIG_As_char(obj1
));
7827 if (SWIG_arg_fail(2)) SWIG_fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (bool)(arg1
)->Ungetch(arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7849 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 PyObject
* obj2
= 0 ;
7855 (char *) "self",(char *) "pos",(char *) "mode", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail
;
7862 arg2
= (long)(SWIG_As_long(obj1
));
7863 if (SWIG_arg_fail(2)) SWIG_fail
;
7867 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7868 if (SWIG_arg_fail(3)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_From_long((long)(result
));
7887 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (long)(arg1
)->TellI();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_From_long((long)(result
));
7915 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7918 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7920 return Py_BuildValue((char *)"");
7922 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7925 PyObject
*arg2
= (PyObject
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7929 (char *) "self",(char *) "obj", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxOutputStream_write(arg1
,arg2
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 Py_INCREF(Py_None
); resultobj
= Py_None
;
7950 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7953 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7955 return Py_BuildValue((char *)"");
7957 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7960 wxString
*arg2
= 0 ;
7961 wxString
*arg3
= 0 ;
7962 wxString
*arg4
= 0 ;
7965 wxPyInputStream
*temp1
;
7966 bool temp2
= false ;
7967 bool temp3
= false ;
7968 bool temp4
= false ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 PyObject
* obj2
= 0 ;
7972 PyObject
* obj3
= 0 ;
7973 PyObject
* obj4
= 0 ;
7975 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7980 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7981 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7983 PyErr_Clear(); // clear the failure of the wxPyConvert above
7984 arg1
= wxPyCBInputStream_create(obj0
, true);
7986 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7992 arg2
= wxString_in_helper(obj1
);
7993 if (arg2
== NULL
) SWIG_fail
;
7997 arg3
= wxString_in_helper(obj2
);
7998 if (arg3
== NULL
) SWIG_fail
;
8002 arg4
= wxString_in_helper(obj3
);
8003 if (arg4
== NULL
) SWIG_fail
;
8008 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8009 if (SWIG_arg_fail(5)) SWIG_fail
;
8011 SWIG_null_ref("wxDateTime");
8013 if (SWIG_arg_fail(5)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= wxPyMake_wxObject(result
, 1);
8056 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8084 wxInputStream
*result
;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "self", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxInputStream
*)(arg1
)->GetStream();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 wxPyInputStream
* _ptr
= NULL
;
8104 _ptr
= new wxPyInputStream(result
);
8106 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8114 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8130 result
= (wxString
*) &_result_ref
;
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8149 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8160 if (SWIG_arg_fail(1)) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 wxString
const &_result_ref
= (arg1
)->GetLocation();
8165 result
= (wxString
*) &_result_ref
;
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8184 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8195 if (SWIG_arg_fail(1)) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8200 result
= (wxString
*) &_result_ref
;
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8219 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8230 if (SWIG_arg_fail(1)) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (arg1
)->GetModificationTime();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 wxDateTime
* resultptr
;
8240 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8249 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8252 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8254 return Py_BuildValue((char *)"");
8256 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8261 return Py_BuildValue((char *)"");
8263 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxPyFileSystemHandler
*result
;
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8285 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8288 PyObject
*arg2
= (PyObject
*) 0 ;
8289 PyObject
*arg3
= (PyObject
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8294 (char *) "self",(char *) "self",(char *) "_class", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8299 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8319 wxString
*arg2
= 0 ;
8321 bool temp2
= false ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "location", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8332 arg2
= wxString_in_helper(obj1
);
8333 if (arg2
== NULL
) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8360 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8363 wxFileSystem
*arg2
= 0 ;
8364 wxString
*arg3
= 0 ;
8366 bool temp3
= false ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 PyObject
* obj2
= 0 ;
8371 (char *) "self",(char *) "fs",(char *) "location", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8376 if (SWIG_arg_fail(1)) SWIG_fail
;
8378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(2)) SWIG_fail
;
8381 SWIG_null_ref("wxFileSystem");
8383 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 arg3
= wxString_in_helper(obj2
);
8387 if (arg3
== NULL
) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= wxPyMake_wxObject(result
, 1);
8414 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8417 wxString
*arg2
= 0 ;
8418 int arg3
= (int) 0 ;
8420 bool temp2
= false ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 PyObject
* obj2
= 0 ;
8425 (char *) "self",(char *) "spec",(char *) "flags", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8430 if (SWIG_arg_fail(1)) SWIG_fail
;
8432 arg2
= wxString_in_helper(obj1
);
8433 if (arg2
== NULL
) SWIG_fail
;
8438 arg3
= (int)(SWIG_As_int(obj2
));
8439 if (SWIG_arg_fail(3)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (arg1
)->FindNext();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8502 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8505 wxString
*arg2
= 0 ;
8507 bool temp2
= false ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8511 (char *) "self",(char *) "location", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8516 if (SWIG_arg_fail(1)) SWIG_fail
;
8518 arg2
= wxString_in_helper(obj1
);
8519 if (arg2
== NULL
) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8550 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8553 wxString
*arg2
= 0 ;
8555 bool temp2
= false ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "location", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8564 if (SWIG_arg_fail(1)) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8598 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8601 wxString
*arg2
= 0 ;
8603 bool temp2
= false ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "location", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail
;
8614 arg2
= wxString_in_helper(obj1
);
8615 if (arg2
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8646 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8649 wxString
*arg2
= 0 ;
8651 bool temp2
= false ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "location", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 arg2
= wxString_in_helper(obj1
);
8663 if (arg2
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8694 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8697 wxString
*arg2
= 0 ;
8699 bool temp2
= false ;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8703 (char *) "self",(char *) "location", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8708 if (SWIG_arg_fail(1)) SWIG_fail
;
8710 arg2
= wxString_in_helper(obj1
);
8711 if (arg2
== NULL
) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8742 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8745 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8747 return Py_BuildValue((char *)"");
8749 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxFileSystem
*result
;
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxFileSystem
*)new wxFileSystem();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= wxPyMake_wxObject(result
, 1);
8773 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8778 (char *) "self", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8783 if (SWIG_arg_fail(1)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8801 wxString
*arg2
= 0 ;
8802 bool arg3
= (bool) false ;
8803 bool temp2
= false ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8813 if (SWIG_arg_fail(1)) SWIG_fail
;
8815 arg2
= wxString_in_helper(obj1
);
8816 if (arg2
== NULL
) SWIG_fail
;
8821 arg3
= (bool)(SWIG_As_bool(obj2
));
8822 if (SWIG_arg_fail(3)) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (arg1
)->GetPath();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8879 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8882 wxString
*arg2
= 0 ;
8884 bool temp2
= false ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "location", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(1)) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= wxPyMake_wxObject(result
, 1);
8923 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8926 wxString
*arg2
= 0 ;
8927 int arg3
= (int) 0 ;
8929 bool temp2
= false ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8934 (char *) "self",(char *) "spec",(char *) "flags", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8939 if (SWIG_arg_fail(1)) SWIG_fail
;
8941 arg2
= wxString_in_helper(obj1
);
8942 if (arg2
== NULL
) SWIG_fail
;
8947 arg3
= (int)(SWIG_As_int(obj2
));
8948 if (SWIG_arg_fail(3)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8979 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
*resultobj
;
8981 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "self", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (arg1
)->FindNext();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9011 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "handler", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxFileSystem::AddHandler(arg1
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 wxFileSystem::CleanUpHandlers();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 Py_INCREF(Py_None
); resultobj
= Py_None
;
9057 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxString
*arg1
= 0 ;
9061 bool temp1
= false ;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "filename", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9069 arg1
= wxString_in_helper(obj0
);
9070 if (arg1
== NULL
) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9101 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxString
*arg1
= 0 ;
9105 bool temp1
= false ;
9106 PyObject
* obj0
= 0 ;
9108 (char *) "url", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9113 arg1
= wxString_in_helper(obj0
);
9114 if (arg1
== NULL
) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9145 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9148 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9150 return Py_BuildValue((char *)"");
9152 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxInternetFSHandler
*result
;
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9174 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9177 wxString
*arg2
= 0 ;
9179 bool temp2
= false ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9183 (char *) "self",(char *) "location", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 arg2
= wxString_in_helper(obj1
);
9191 if (arg2
== NULL
) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9218 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9221 wxFileSystem
*arg2
= 0 ;
9222 wxString
*arg3
= 0 ;
9224 bool temp3
= false ;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9229 (char *) "self",(char *) "fs",(char *) "location", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail
;
9236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9237 if (SWIG_arg_fail(2)) SWIG_fail
;
9239 SWIG_null_ref("wxFileSystem");
9241 if (SWIG_arg_fail(2)) SWIG_fail
;
9244 arg3
= wxString_in_helper(obj2
);
9245 if (arg3
== NULL
) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= wxPyMake_wxObject(result
, 1);
9272 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9275 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9277 return Py_BuildValue((char *)"");
9279 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxZipFSHandler
*result
;
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9301 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9304 wxString
*arg2
= 0 ;
9306 bool temp2
= false ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9310 (char *) "self",(char *) "location", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9315 if (SWIG_arg_fail(1)) SWIG_fail
;
9317 arg2
= wxString_in_helper(obj1
);
9318 if (arg2
== NULL
) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9348 wxFileSystem
*arg2
= 0 ;
9349 wxString
*arg3
= 0 ;
9351 bool temp3
= false ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9356 (char *) "self",(char *) "fs",(char *) "location", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail
;
9363 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 SWIG_null_ref("wxFileSystem");
9368 if (SWIG_arg_fail(2)) SWIG_fail
;
9371 arg3
= wxString_in_helper(obj2
);
9372 if (arg3
== NULL
) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= wxPyMake_wxObject(result
, 1);
9399 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9402 wxString
*arg2
= 0 ;
9403 int arg3
= (int) 0 ;
9405 bool temp2
= false ;
9406 PyObject
* obj0
= 0 ;
9407 PyObject
* obj1
= 0 ;
9408 PyObject
* obj2
= 0 ;
9410 (char *) "self",(char *) "spec",(char *) "flags", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail
;
9417 arg2
= wxString_in_helper(obj1
);
9418 if (arg2
== NULL
) SWIG_fail
;
9423 arg3
= (int)(SWIG_As_int(obj2
));
9424 if (SWIG_arg_fail(3)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9455 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (arg1
)->FindNext();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9487 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9490 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9492 return Py_BuildValue((char *)"");
9494 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxString
*arg1
= 0 ;
9499 bool temp1
= false ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 PyObject
* obj2
= 0 ;
9504 (char *) "filename",(char *) "image",(char *) "type", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9509 arg1
= wxString_in_helper(obj0
);
9510 if (arg1
== NULL
) SWIG_fail
;
9514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9515 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 SWIG_null_ref("wxImage");
9519 if (SWIG_arg_fail(2)) SWIG_fail
;
9522 arg3
= (long)(SWIG_As_long(obj2
));
9523 if (SWIG_arg_fail(3)) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxString
*arg1
= 0 ;
9550 wxBitmap
*arg2
= 0 ;
9552 bool temp1
= false ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9557 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9562 arg1
= wxString_in_helper(obj0
);
9563 if (arg1
== NULL
) SWIG_fail
;
9567 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9568 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 SWIG_null_ref("wxBitmap");
9572 if (SWIG_arg_fail(2)) SWIG_fail
;
9575 arg3
= (long)(SWIG_As_long(obj2
));
9576 if (SWIG_arg_fail(3)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxString
*arg1
= 0 ;
9603 PyObject
*arg2
= (PyObject
*) 0 ;
9604 bool temp1
= false ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "filename",(char *) "data", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9613 arg1
= wxString_in_helper(obj0
);
9614 if (arg1
== NULL
) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxMemoryFSHandler
*result
;
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9662 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxString
*arg1
= 0 ;
9665 bool temp1
= false ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "filename", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9673 arg1
= wxString_in_helper(obj0
);
9674 if (arg1
== NULL
) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 Py_INCREF(Py_None
); resultobj
= Py_None
;
9699 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9702 wxString
*arg2
= 0 ;
9704 bool temp2
= false ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9708 (char *) "self",(char *) "location", NULL
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9713 if (SWIG_arg_fail(1)) SWIG_fail
;
9715 arg2
= wxString_in_helper(obj1
);
9716 if (arg2
== NULL
) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9743 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9746 wxFileSystem
*arg2
= 0 ;
9747 wxString
*arg3
= 0 ;
9749 bool temp3
= false ;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9754 (char *) "self",(char *) "fs",(char *) "location", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail
;
9761 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9762 if (SWIG_arg_fail(2)) SWIG_fail
;
9764 SWIG_null_ref("wxFileSystem");
9766 if (SWIG_arg_fail(2)) SWIG_fail
;
9769 arg3
= wxString_in_helper(obj2
);
9770 if (arg3
== NULL
) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= wxPyMake_wxObject(result
, 1);
9797 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9800 wxString
*arg2
= 0 ;
9801 int arg3
= (int) 0 ;
9803 bool temp2
= false ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9808 (char *) "self",(char *) "spec",(char *) "flags", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail
;
9815 arg2
= wxString_in_helper(obj1
);
9816 if (arg2
== NULL
) SWIG_fail
;
9821 arg3
= (int)(SWIG_As_int(obj2
));
9822 if (SWIG_arg_fail(3)) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9853 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (arg1
)->FindNext();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9888 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9890 return Py_BuildValue((char *)"");
9892 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (arg1
)->GetName();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9924 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9930 (char *) "self", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (arg1
)->GetExtension();
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9956 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (long)(arg1
)->GetType();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_From_long((long)(result
));
9984 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (arg1
)->GetMimeType();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10016 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10019 wxString
*arg2
= 0 ;
10021 bool temp2
= false ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self",(char *) "name", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10030 if (SWIG_arg_fail(1)) SWIG_fail
;
10032 arg2
= wxString_in_helper(obj1
);
10033 if (arg2
== NULL
) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10060 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10063 wxString
*arg2
= 0 ;
10064 bool temp2
= false ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self",(char *) "name", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 arg2
= wxString_in_helper(obj1
);
10076 if (arg2
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 (arg1
)->SetName((wxString
const &)*arg2
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10104 wxString
*arg2
= 0 ;
10105 bool temp2
= false ;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "extension", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 arg2
= wxString_in_helper(obj1
);
10117 if (arg2
== NULL
) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetExtension((wxString
const &)*arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "type", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10154 if (SWIG_arg_fail(1)) SWIG_fail
;
10156 arg2
= (long)(SWIG_As_long(obj1
));
10157 if (SWIG_arg_fail(2)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetType(arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10173 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10176 wxString
*arg2
= 0 ;
10177 bool temp2
= false ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "mimetype", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10186 if (SWIG_arg_fail(1)) SWIG_fail
;
10188 arg2
= wxString_in_helper(obj1
);
10189 if (arg2
== NULL
) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 Py_INCREF(Py_None
); resultobj
= Py_None
;
10214 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10217 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10219 return Py_BuildValue((char *)"");
10221 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxImageHistogram
*result
;
10224 char *kwnames
[] = {
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (wxImageHistogram
*)new wxImageHistogram();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10243 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 unsigned char arg1
;
10246 unsigned char arg2
;
10247 unsigned char arg3
;
10248 unsigned long result
;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 PyObject
* obj2
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "r",(char *) "g",(char *) "b", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10258 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10259 if (SWIG_arg_fail(1)) SWIG_fail
;
10262 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10263 if (SWIG_arg_fail(2)) SWIG_fail
;
10266 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10267 if (SWIG_arg_fail(3)) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10285 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10288 unsigned char *arg2
= (unsigned char *) 0 ;
10289 unsigned char *arg3
= (unsigned char *) 0 ;
10290 unsigned char *arg4
= (unsigned char *) 0 ;
10291 unsigned char arg5
= (unsigned char) 1 ;
10292 unsigned char arg6
= (unsigned char) 0 ;
10293 unsigned char arg7
= (unsigned char) 0 ;
10295 unsigned char temp2
;
10297 unsigned char temp3
;
10299 unsigned char temp4
;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 PyObject
* obj3
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10309 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10310 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10311 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail
;
10317 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10318 if (SWIG_arg_fail(5)) SWIG_fail
;
10323 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10324 if (SWIG_arg_fail(6)) SWIG_fail
;
10329 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10330 if (SWIG_arg_fail(7)) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10344 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10345 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10346 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10347 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10348 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10355 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10358 unsigned long arg2
;
10359 unsigned long result
;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "key", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10368 if (SWIG_arg_fail(1)) SWIG_fail
;
10370 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10371 if (SWIG_arg_fail(2)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10389 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10392 unsigned char arg2
;
10393 unsigned char arg3
;
10394 unsigned char arg4
;
10395 unsigned long result
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 PyObject
* obj3
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10406 if (SWIG_arg_fail(1)) SWIG_fail
;
10408 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10409 if (SWIG_arg_fail(2)) SWIG_fail
;
10412 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10413 if (SWIG_arg_fail(3)) SWIG_fail
;
10416 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10417 if (SWIG_arg_fail(4)) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10435 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10438 wxColour
*arg2
= 0 ;
10439 unsigned long result
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "colour", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10470 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10473 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10475 return Py_BuildValue((char *)"");
10477 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxString
*arg1
= 0 ;
10480 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10481 int arg3
= (int) -1 ;
10483 bool temp1
= false ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "name",(char *) "type",(char *) "index", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 arg1
= wxString_in_helper(obj0
);
10494 if (arg1
== NULL
) SWIG_fail
;
10499 arg2
= (long)(SWIG_As_long(obj1
));
10500 if (SWIG_arg_fail(2)) SWIG_fail
;
10505 arg3
= (int)(SWIG_As_int(obj2
));
10506 if (SWIG_arg_fail(3)) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10531 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxImage
*arg1
= (wxImage
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(1)) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 Py_INCREF(Py_None
); resultobj
= Py_None
;
10556 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxString
*arg1
= 0 ;
10559 wxString
*arg2
= 0 ;
10560 int arg3
= (int) -1 ;
10562 bool temp1
= false ;
10563 bool temp2
= false ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10573 arg1
= wxString_in_helper(obj0
);
10574 if (arg1
== NULL
) SWIG_fail
;
10578 arg2
= wxString_in_helper(obj1
);
10579 if (arg2
== NULL
) SWIG_fail
;
10584 arg3
= (int)(SWIG_As_int(obj2
));
10585 if (SWIG_arg_fail(3)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10618 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxInputStream
*arg1
= 0 ;
10621 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10622 int arg3
= (int) -1 ;
10624 wxPyInputStream
*temp1
;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 PyObject
* obj2
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "stream",(char *) "type",(char *) "index", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10635 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10636 arg1
= temp1
->m_wxis
;
10639 PyErr_Clear(); // clear the failure of the wxPyConvert above
10640 arg1
= wxPyCBInputStream_create(obj0
, false);
10641 if (arg1
== NULL
) {
10642 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10650 arg2
= (long)(SWIG_As_long(obj1
));
10651 if (SWIG_arg_fail(2)) SWIG_fail
;
10656 arg3
= (int)(SWIG_As_int(obj2
));
10657 if (SWIG_arg_fail(3)) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10669 if (created1
) delete arg1
;
10674 if (created1
) delete arg1
;
10680 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxInputStream
*arg1
= 0 ;
10683 wxString
*arg2
= 0 ;
10684 int arg3
= (int) -1 ;
10686 wxPyInputStream
*temp1
;
10688 bool temp2
= false ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10698 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10699 arg1
= temp1
->m_wxis
;
10702 PyErr_Clear(); // clear the failure of the wxPyConvert above
10703 arg1
= wxPyCBInputStream_create(obj0
, false);
10704 if (arg1
== NULL
) {
10705 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10712 arg2
= wxString_in_helper(obj1
);
10713 if (arg2
== NULL
) SWIG_fail
;
10718 arg3
= (int)(SWIG_As_int(obj2
));
10719 if (SWIG_arg_fail(3)) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10731 if (created1
) delete arg1
;
10740 if (created1
) delete arg1
;
10750 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 int arg1
= (int) 0 ;
10753 int arg2
= (int) 0 ;
10754 bool arg3
= (bool) true ;
10756 PyObject
* obj0
= 0 ;
10757 PyObject
* obj1
= 0 ;
10758 PyObject
* obj2
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "width",(char *) "height",(char *) "clear", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10766 arg1
= (int)(SWIG_As_int(obj0
));
10767 if (SWIG_arg_fail(1)) SWIG_fail
;
10772 arg2
= (int)(SWIG_As_int(obj1
));
10773 if (SWIG_arg_fail(2)) SWIG_fail
;
10778 arg3
= (bool)(SWIG_As_bool(obj2
));
10779 if (SWIG_arg_fail(3)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10796 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxBitmap
*arg1
= 0 ;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "bitmap", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10808 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 if (arg1
== NULL
) {
10810 SWIG_null_ref("wxBitmap");
10812 if (SWIG_arg_fail(1)) SWIG_fail
;
10815 if (!wxPyCheckForApp()) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10829 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "width",(char *) "height",(char *) "data", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10845 arg1
= (int)(SWIG_As_int(obj0
));
10846 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 arg2
= (int)(SWIG_As_int(obj1
));
10850 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10869 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 PyObject
* obj3
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10888 arg1
= (int)(SWIG_As_int(obj0
));
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 arg2
= (int)(SWIG_As_int(obj1
));
10893 if (SWIG_arg_fail(2)) SWIG_fail
;
10896 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10899 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10915 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxImage
*arg1
= (wxImage
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 PyObject
* obj2
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self",(char *) "width",(char *) "height", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10929 if (SWIG_arg_fail(1)) SWIG_fail
;
10931 arg2
= (int)(SWIG_As_int(obj1
));
10932 if (SWIG_arg_fail(2)) SWIG_fail
;
10935 arg3
= (int)(SWIG_As_int(obj2
));
10936 if (SWIG_arg_fail(3)) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->Create(arg2
,arg3
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 Py_INCREF(Py_None
); resultobj
= Py_None
;
10952 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxImage
*arg1
= (wxImage
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10962 if (SWIG_arg_fail(1)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxImage
*arg1
= (wxImage
*) 0 ;
10982 SwigValueWrapper
<wxImage
> result
;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 PyObject
* obj2
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "width",(char *) "height", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10992 if (SWIG_arg_fail(1)) SWIG_fail
;
10994 arg2
= (int)(SWIG_As_int(obj1
));
10995 if (SWIG_arg_fail(2)) SWIG_fail
;
10998 arg3
= (int)(SWIG_As_int(obj2
));
10999 if (SWIG_arg_fail(3)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (arg1
)->Scale(arg2
,arg3
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 wxImage
* resultptr
;
11010 resultptr
= new wxImage((wxImage
&)(result
));
11011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11019 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxImage
*arg1
= (wxImage
*) 0 ;
11024 SwigValueWrapper
<wxImage
> result
;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail
;
11036 arg2
= (int)(SWIG_As_int(obj1
));
11037 if (SWIG_arg_fail(2)) SWIG_fail
;
11040 arg3
= (int)(SWIG_As_int(obj2
));
11041 if (SWIG_arg_fail(3)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 wxImage
* resultptr
;
11052 resultptr
= new wxImage((wxImage
&)(result
));
11053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11061 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxImage
*arg1
= (wxImage
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self",(char *) "width",(char *) "height", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11076 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 arg2
= (int)(SWIG_As_int(obj1
));
11079 if (SWIG_arg_fail(2)) SWIG_fail
;
11082 arg3
= (int)(SWIG_As_int(obj2
));
11083 if (SWIG_arg_fail(3)) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11089 result
= (wxImage
*) &_result_ref
;
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11102 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxImage
*arg1
= (wxImage
*) 0 ;
11106 wxPoint
*arg3
= 0 ;
11107 int arg4
= (int) -1 ;
11108 int arg5
= (int) -1 ;
11109 int arg6
= (int) -1 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 PyObject
* obj3
= 0 ;
11117 PyObject
* obj4
= 0 ;
11118 PyObject
* obj5
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11125 if (SWIG_arg_fail(1)) SWIG_fail
;
11128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11136 arg4
= (int)(SWIG_As_int(obj3
));
11137 if (SWIG_arg_fail(4)) SWIG_fail
;
11142 arg5
= (int)(SWIG_As_int(obj4
));
11143 if (SWIG_arg_fail(5)) SWIG_fail
;
11148 arg6
= (int)(SWIG_As_int(obj5
));
11149 if (SWIG_arg_fail(6)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11156 result
= (wxImage
*) &_result_ref
;
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11169 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxImage
*arg1
= (wxImage
*) 0 ;
11174 unsigned char arg4
;
11175 unsigned char arg5
;
11176 unsigned char arg6
;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 PyObject
* obj2
= 0 ;
11180 PyObject
* obj3
= 0 ;
11181 PyObject
* obj4
= 0 ;
11182 PyObject
* obj5
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11191 arg2
= (int)(SWIG_As_int(obj1
));
11192 if (SWIG_arg_fail(2)) SWIG_fail
;
11195 arg3
= (int)(SWIG_As_int(obj2
));
11196 if (SWIG_arg_fail(3)) SWIG_fail
;
11199 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11200 if (SWIG_arg_fail(4)) SWIG_fail
;
11203 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11204 if (SWIG_arg_fail(5)) SWIG_fail
;
11207 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11208 if (SWIG_arg_fail(6)) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxImage
*arg1
= (wxImage
*) 0 ;
11228 unsigned char arg3
;
11229 unsigned char arg4
;
11230 unsigned char arg5
;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 PyObject
* obj3
= 0 ;
11236 PyObject
* obj4
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11243 if (SWIG_arg_fail(1)) SWIG_fail
;
11246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11249 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11250 if (SWIG_arg_fail(3)) SWIG_fail
;
11253 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11254 if (SWIG_arg_fail(4)) SWIG_fail
;
11257 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11258 if (SWIG_arg_fail(5)) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxImage
*arg1
= (wxImage
*) 0 ;
11279 unsigned char result
;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "x",(char *) "y", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11289 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 arg2
= (int)(SWIG_As_int(obj1
));
11292 if (SWIG_arg_fail(2)) SWIG_fail
;
11295 arg3
= (int)(SWIG_As_int(obj2
));
11296 if (SWIG_arg_fail(3)) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11314 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxImage
*arg1
= (wxImage
*) 0 ;
11319 unsigned char result
;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 PyObject
* obj2
= 0 ;
11323 char *kwnames
[] = {
11324 (char *) "self",(char *) "x",(char *) "y", NULL
11327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail
;
11331 arg2
= (int)(SWIG_As_int(obj1
));
11332 if (SWIG_arg_fail(2)) SWIG_fail
;
11335 arg3
= (int)(SWIG_As_int(obj2
));
11336 if (SWIG_arg_fail(3)) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11354 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxImage
*arg1
= (wxImage
*) 0 ;
11359 unsigned char result
;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 PyObject
* obj2
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "x",(char *) "y", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 arg2
= (int)(SWIG_As_int(obj1
));
11372 if (SWIG_arg_fail(2)) SWIG_fail
;
11375 arg3
= (int)(SWIG_As_int(obj2
));
11376 if (SWIG_arg_fail(3)) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11394 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxImage
*arg1
= (wxImage
*) 0 ;
11399 unsigned char arg4
;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 PyObject
* obj3
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11410 if (SWIG_arg_fail(1)) SWIG_fail
;
11412 arg2
= (int)(SWIG_As_int(obj1
));
11413 if (SWIG_arg_fail(2)) SWIG_fail
;
11416 arg3
= (int)(SWIG_As_int(obj2
));
11417 if (SWIG_arg_fail(3)) SWIG_fail
;
11420 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11421 if (SWIG_arg_fail(4)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxImage
*arg1
= (wxImage
*) 0 ;
11442 unsigned char result
;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "x",(char *) "y", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 arg2
= (int)(SWIG_As_int(obj1
));
11455 if (SWIG_arg_fail(2)) SWIG_fail
;
11458 arg3
= (int)(SWIG_As_int(obj2
));
11459 if (SWIG_arg_fail(3)) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11477 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxImage
*arg1
= (wxImage
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11488 if (SWIG_arg_fail(1)) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)(arg1
)->HasAlpha();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxImage
*arg1
= (wxImage
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->InitAlpha();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxImage
*arg1
= (wxImage
*) 0 ;
11535 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 PyObject
* obj3
= 0 ;
11541 char *kwnames
[] = {
11542 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11547 if (SWIG_arg_fail(1)) SWIG_fail
;
11549 arg2
= (int)(SWIG_As_int(obj1
));
11550 if (SWIG_arg_fail(2)) SWIG_fail
;
11553 arg3
= (int)(SWIG_As_int(obj2
));
11554 if (SWIG_arg_fail(3)) SWIG_fail
;
11558 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11559 if (SWIG_arg_fail(4)) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11578 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxImage
*arg1
= (wxImage
*) 0 ;
11581 byte
*arg2
= (byte
*) 0 ;
11582 byte
*arg3
= (byte
*) 0 ;
11583 byte
*arg4
= (byte
*) 0 ;
11584 byte arg5
= (byte
) 0 ;
11585 byte arg6
= (byte
) 0 ;
11586 byte arg7
= (byte
) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 PyObject
* obj2
= 0 ;
11597 PyObject
* obj3
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11602 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11604 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11607 if (SWIG_arg_fail(1)) SWIG_fail
;
11610 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11611 if (SWIG_arg_fail(5)) SWIG_fail
;
11616 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11617 if (SWIG_arg_fail(6)) SWIG_fail
;
11622 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11623 if (SWIG_arg_fail(7)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11636 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11637 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11638 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11639 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11640 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11641 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11648 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxImage
*arg1
= (wxImage
*) 0 ;
11651 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self",(char *) "threshold", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11665 if (SWIG_arg_fail(2)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11684 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxImage
*arg1
= (wxImage
*) 0 ;
11687 unsigned char arg2
;
11688 unsigned char arg3
;
11689 unsigned char arg4
;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 PyObject
* obj3
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail
;
11703 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11704 if (SWIG_arg_fail(2)) SWIG_fail
;
11707 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11708 if (SWIG_arg_fail(3)) SWIG_fail
;
11711 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11712 if (SWIG_arg_fail(4)) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11730 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxImage
*arg1
= (wxImage
*) 0 ;
11733 wxImage
*arg2
= 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 PyObject
* obj2
= 0 ;
11741 PyObject
* obj3
= 0 ;
11742 PyObject
* obj4
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail
;
11751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11752 if (SWIG_arg_fail(2)) SWIG_fail
;
11753 if (arg2
== NULL
) {
11754 SWIG_null_ref("wxImage");
11756 if (SWIG_arg_fail(2)) SWIG_fail
;
11759 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11760 if (SWIG_arg_fail(3)) SWIG_fail
;
11763 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11764 if (SWIG_arg_fail(4)) SWIG_fail
;
11767 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11768 if (SWIG_arg_fail(5)) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxString
*arg1
= 0 ;
11790 bool temp1
= false ;
11791 PyObject
* obj0
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "name", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11798 arg1
= wxString_in_helper(obj0
);
11799 if (arg1
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11826 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxString
*arg1
= 0 ;
11829 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11831 bool temp1
= false ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "name",(char *) "type", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 arg1
= wxString_in_helper(obj0
);
11841 if (arg1
== NULL
) SWIG_fail
;
11846 arg2
= (long)(SWIG_As_long(obj1
));
11847 if (SWIG_arg_fail(2)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int((int)(result
));
11874 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxImage
*arg1
= (wxImage
*) 0 ;
11877 wxString
*arg2
= 0 ;
11878 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11879 int arg4
= (int) -1 ;
11881 bool temp2
= false ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 PyObject
* obj2
= 0 ;
11885 PyObject
* obj3
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail
;
11894 arg2
= wxString_in_helper(obj1
);
11895 if (arg2
== NULL
) SWIG_fail
;
11900 arg3
= (long)(SWIG_As_long(obj2
));
11901 if (SWIG_arg_fail(3)) SWIG_fail
;
11906 arg4
= (int)(SWIG_As_int(obj3
));
11907 if (SWIG_arg_fail(4)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11934 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxImage
*arg1
= (wxImage
*) 0 ;
11937 wxString
*arg2
= 0 ;
11938 wxString
*arg3
= 0 ;
11939 int arg4
= (int) -1 ;
11941 bool temp2
= false ;
11942 bool temp3
= false ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 PyObject
* obj2
= 0 ;
11946 PyObject
* obj3
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail
;
11955 arg2
= wxString_in_helper(obj1
);
11956 if (arg2
== NULL
) SWIG_fail
;
11960 arg3
= wxString_in_helper(obj2
);
11961 if (arg3
== NULL
) SWIG_fail
;
11966 arg4
= (int)(SWIG_As_int(obj3
));
11967 if (SWIG_arg_fail(4)) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxImage
*arg1
= (wxImage
*) 0 ;
12005 wxString
*arg2
= 0 ;
12008 bool temp2
= false ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 PyObject
* obj2
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "name",(char *) "type", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 arg2
= wxString_in_helper(obj1
);
12021 if (arg2
== NULL
) SWIG_fail
;
12025 arg3
= (int)(SWIG_As_int(obj2
));
12026 if (SWIG_arg_fail(3)) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12052 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxImage
*arg1
= (wxImage
*) 0 ;
12055 wxString
*arg2
= 0 ;
12056 wxString
*arg3
= 0 ;
12058 bool temp2
= false ;
12059 bool temp3
= false ;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 PyObject
* obj2
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail
;
12071 arg2
= wxString_in_helper(obj1
);
12072 if (arg2
== NULL
) SWIG_fail
;
12076 arg3
= wxString_in_helper(obj2
);
12077 if (arg3
== NULL
) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12112 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxInputStream
*arg1
= 0 ;
12116 wxPyInputStream
*temp1
;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "stream", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12125 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12126 arg1
= temp1
->m_wxis
;
12129 PyErr_Clear(); // clear the failure of the wxPyConvert above
12130 arg1
= wxPyCBInputStream_create(obj0
, false);
12131 if (arg1
== NULL
) {
12132 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (bool)wxImage::CanRead(*arg1
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12149 if (created1
) delete arg1
;
12154 if (created1
) delete arg1
;
12160 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxImage
*arg1
= (wxImage
*) 0 ;
12163 wxInputStream
*arg2
= 0 ;
12164 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12165 int arg4
= (int) -1 ;
12167 wxPyInputStream
*temp2
;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 PyObject
* obj2
= 0 ;
12172 PyObject
* obj3
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail
;
12181 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12182 arg2
= temp2
->m_wxis
;
12185 PyErr_Clear(); // clear the failure of the wxPyConvert above
12186 arg2
= wxPyCBInputStream_create(obj1
, false);
12187 if (arg2
== NULL
) {
12188 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12196 arg3
= (long)(SWIG_As_long(obj2
));
12197 if (SWIG_arg_fail(3)) SWIG_fail
;
12202 arg4
= (int)(SWIG_As_int(obj3
));
12203 if (SWIG_arg_fail(4)) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12217 if (created2
) delete arg2
;
12222 if (created2
) delete arg2
;
12228 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxImage
*arg1
= (wxImage
*) 0 ;
12231 wxInputStream
*arg2
= 0 ;
12232 wxString
*arg3
= 0 ;
12233 int arg4
= (int) -1 ;
12235 wxPyInputStream
*temp2
;
12237 bool temp3
= false ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12248 if (SWIG_arg_fail(1)) SWIG_fail
;
12250 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12251 arg2
= temp2
->m_wxis
;
12254 PyErr_Clear(); // clear the failure of the wxPyConvert above
12255 arg2
= wxPyCBInputStream_create(obj1
, false);
12256 if (arg2
== NULL
) {
12257 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12264 arg3
= wxString_in_helper(obj2
);
12265 if (arg3
== NULL
) SWIG_fail
;
12270 arg4
= (int)(SWIG_As_int(obj3
));
12271 if (SWIG_arg_fail(4)) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 if (created2
) delete arg2
;
12294 if (created2
) delete arg2
;
12304 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxImage
*arg1
= (wxImage
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12315 if (SWIG_arg_fail(1)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (bool)(arg1
)->Ok();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12332 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxImage
*arg1
= (wxImage
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12343 if (SWIG_arg_fail(1)) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (int)(arg1
)->GetWidth();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int((int)(result
));
12360 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxImage
*arg1
= (wxImage
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12371 if (SWIG_arg_fail(1)) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (int)(arg1
)->GetHeight();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_From_int((int)(result
));
12388 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxImage
*arg1
= (wxImage
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= wxImage_GetSize(arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12408 wxSize
* resultptr
;
12409 resultptr
= new wxSize((wxSize
&)(result
));
12410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12418 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxImage
*arg1
= (wxImage
*) 0 ;
12422 SwigValueWrapper
<wxImage
> result
;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "rect", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 wxImage
* resultptr
;
12446 resultptr
= new wxImage((wxImage
&)(result
));
12447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12455 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxImage
*arg1
= (wxImage
*) 0 ;
12459 wxPoint
*arg3
= 0 ;
12460 int arg4
= (int) -1 ;
12461 int arg5
= (int) -1 ;
12462 int arg6
= (int) -1 ;
12463 SwigValueWrapper
<wxImage
> result
;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 PyObject
* obj3
= 0 ;
12470 PyObject
* obj4
= 0 ;
12471 PyObject
* obj5
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12481 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12489 arg4
= (int)(SWIG_As_int(obj3
));
12490 if (SWIG_arg_fail(4)) SWIG_fail
;
12495 arg5
= (int)(SWIG_As_int(obj4
));
12496 if (SWIG_arg_fail(5)) SWIG_fail
;
12501 arg6
= (int)(SWIG_As_int(obj5
));
12502 if (SWIG_arg_fail(6)) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 wxImage
* resultptr
;
12514 resultptr
= new wxImage((wxImage
&)(result
));
12515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12523 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxImage
*arg1
= (wxImage
*) 0 ;
12526 SwigValueWrapper
<wxImage
> result
;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (arg1
)->Copy();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 wxImage
* resultptr
;
12544 resultptr
= new wxImage((wxImage
&)(result
));
12545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12553 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxImage
*arg1
= (wxImage
*) 0 ;
12556 wxImage
*arg2
= 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 PyObject
* obj2
= 0 ;
12562 PyObject
* obj3
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12569 if (SWIG_arg_fail(1)) SWIG_fail
;
12571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(2)) SWIG_fail
;
12573 if (arg2
== NULL
) {
12574 SWIG_null_ref("wxImage");
12576 if (SWIG_arg_fail(2)) SWIG_fail
;
12579 arg3
= (int)(SWIG_As_int(obj2
));
12580 if (SWIG_arg_fail(3)) SWIG_fail
;
12583 arg4
= (int)(SWIG_As_int(obj3
));
12584 if (SWIG_arg_fail(4)) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxImage
*arg1
= (wxImage
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (PyObject
*)wxImage_GetData(arg1
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= result
;
12626 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxImage
*arg1
= (wxImage
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "data", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12641 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 wxImage_SetData(arg1
,arg2
,arg3
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 Py_INCREF(Py_None
); resultobj
= Py_None
;
12657 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxImage
*arg1
= (wxImage
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12668 if (SWIG_arg_fail(1)) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
;
12683 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxImage
*arg1
= (wxImage
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "data", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12696 if (SWIG_arg_fail(1)) SWIG_fail
;
12698 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12714 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxImage
*arg1
= (wxImage
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 char *kwnames
[] = {
12720 (char *) "self", NULL
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12725 if (SWIG_arg_fail(1)) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= result
;
12740 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxImage
*arg1
= (wxImage
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self",(char *) "alpha", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail
;
12755 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxImage
*arg1
= (wxImage
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "self", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12782 if (SWIG_arg_fail(1)) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
;
12797 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxImage
*arg1
= (wxImage
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "alpha", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail
;
12812 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxImage
*arg1
= (wxImage
*) 0 ;
12831 unsigned char arg2
;
12832 unsigned char arg3
;
12833 unsigned char arg4
;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 PyObject
* obj2
= 0 ;
12837 PyObject
* obj3
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12847 if (SWIG_arg_fail(2)) SWIG_fail
;
12850 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12851 if (SWIG_arg_fail(3)) SWIG_fail
;
12854 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12855 if (SWIG_arg_fail(4)) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxImage
*arg1
= (wxImage
*) 0 ;
12874 unsigned char *arg2
= (unsigned char *) 0 ;
12875 unsigned char *arg3
= (unsigned char *) 0 ;
12876 unsigned char *arg4
= (unsigned char *) 0 ;
12877 unsigned char temp2
;
12879 unsigned char temp3
;
12881 unsigned char temp4
;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12889 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12890 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12893 if (SWIG_arg_fail(1)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12902 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12903 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12904 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12905 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12906 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12907 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12914 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxImage
*arg1
= (wxImage
*) 0 ;
12917 unsigned char result
;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (unsigned char)(arg1
)->GetMaskRed();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12942 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxImage
*arg1
= (wxImage
*) 0 ;
12945 unsigned char result
;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (unsigned char)(arg1
)->GetMaskGreen();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12970 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxImage
*arg1
= (wxImage
*) 0 ;
12973 unsigned char result
;
12974 PyObject
* obj0
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12981 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (unsigned char)(arg1
)->GetMaskBlue();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12998 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxImage
*arg1
= (wxImage
*) 0 ;
13001 bool arg2
= (bool) true ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "mask", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(1)) SWIG_fail
;
13013 arg2
= (bool)(SWIG_As_bool(obj1
));
13014 if (SWIG_arg_fail(2)) SWIG_fail
;
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 (arg1
)->SetMask(arg2
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 Py_INCREF(Py_None
); resultobj
= Py_None
;
13031 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13033 wxImage
*arg1
= (wxImage
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13042 if (SWIG_arg_fail(1)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->HasMask();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxImage
*arg1
= (wxImage
*) 0 ;
13063 wxPoint
*arg3
= 0 ;
13064 bool arg4
= (bool) true ;
13065 wxPoint
*arg5
= (wxPoint
*) NULL
;
13066 SwigValueWrapper
<wxImage
> result
;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 PyObject
* obj2
= 0 ;
13071 PyObject
* obj3
= 0 ;
13072 PyObject
* obj4
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13079 if (SWIG_arg_fail(1)) SWIG_fail
;
13081 arg2
= (double)(SWIG_As_double(obj1
));
13082 if (SWIG_arg_fail(2)) SWIG_fail
;
13086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13090 arg4
= (bool)(SWIG_As_bool(obj3
));
13091 if (SWIG_arg_fail(4)) SWIG_fail
;
13095 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(5)) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 wxImage
* resultptr
;
13107 resultptr
= new wxImage((wxImage
&)(result
));
13108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13116 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxImage
*arg1
= (wxImage
*) 0 ;
13119 bool arg2
= (bool) true ;
13120 SwigValueWrapper
<wxImage
> result
;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "clockwise", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 arg2
= (bool)(SWIG_As_bool(obj1
));
13133 if (SWIG_arg_fail(2)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (arg1
)->Rotate90(arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13144 wxImage
* resultptr
;
13145 resultptr
= new wxImage((wxImage
&)(result
));
13146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13154 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxImage
*arg1
= (wxImage
*) 0 ;
13157 bool arg2
= (bool) true ;
13158 SwigValueWrapper
<wxImage
> result
;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "horizontally", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13167 if (SWIG_arg_fail(1)) SWIG_fail
;
13170 arg2
= (bool)(SWIG_As_bool(obj1
));
13171 if (SWIG_arg_fail(2)) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (arg1
)->Mirror(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 wxImage
* resultptr
;
13183 resultptr
= new wxImage((wxImage
&)(result
));
13184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13192 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxImage
*arg1
= (wxImage
*) 0 ;
13195 unsigned char arg2
;
13196 unsigned char arg3
;
13197 unsigned char arg4
;
13198 unsigned char arg5
;
13199 unsigned char arg6
;
13200 unsigned char arg7
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 PyObject
* obj3
= 0 ;
13205 PyObject
* obj4
= 0 ;
13206 PyObject
* obj5
= 0 ;
13207 PyObject
* obj6
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail
;
13216 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13217 if (SWIG_arg_fail(2)) SWIG_fail
;
13220 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13221 if (SWIG_arg_fail(3)) SWIG_fail
;
13224 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13225 if (SWIG_arg_fail(4)) SWIG_fail
;
13228 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13229 if (SWIG_arg_fail(5)) SWIG_fail
;
13232 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13233 if (SWIG_arg_fail(6)) SWIG_fail
;
13236 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13237 if (SWIG_arg_fail(7)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxImage
*arg1
= (wxImage
*) 0 ;
13256 unsigned char arg2
;
13257 unsigned char arg3
;
13258 unsigned char arg4
;
13259 SwigValueWrapper
<wxImage
> result
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 PyObject
* obj3
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13270 if (SWIG_arg_fail(1)) SWIG_fail
;
13272 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13273 if (SWIG_arg_fail(2)) SWIG_fail
;
13276 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13277 if (SWIG_arg_fail(3)) SWIG_fail
;
13280 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13281 if (SWIG_arg_fail(4)) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 wxImage
* resultptr
;
13292 resultptr
= new wxImage((wxImage
&)(result
));
13293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13301 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxImage
*arg1
= (wxImage
*) 0 ;
13304 wxString
*arg2
= 0 ;
13305 wxString
*arg3
= 0 ;
13306 bool temp2
= false ;
13307 bool temp3
= false ;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 PyObject
* obj2
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "name",(char *) "value", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail
;
13319 arg2
= wxString_in_helper(obj1
);
13320 if (arg2
== NULL
) SWIG_fail
;
13324 arg3
= wxString_in_helper(obj2
);
13325 if (arg3
== NULL
) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxImage
*arg1
= (wxImage
*) 0 ;
13361 wxString
*arg2
= 0 ;
13363 bool temp2
= false ;
13364 PyObject
* obj0
= 0 ;
13365 PyObject
* obj1
= 0 ;
13366 PyObject
* obj2
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "name",(char *) "value", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13375 arg2
= wxString_in_helper(obj1
);
13376 if (arg2
== NULL
) SWIG_fail
;
13380 arg3
= (int)(SWIG_As_int(obj2
));
13381 if (SWIG_arg_fail(3)) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 Py_INCREF(Py_None
); resultobj
= Py_None
;
13405 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxImage
*arg1
= (wxImage
*) 0 ;
13408 wxString
*arg2
= 0 ;
13410 bool temp2
= false ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self",(char *) "name", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail
;
13421 arg2
= wxString_in_helper(obj1
);
13422 if (arg2
== NULL
) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13453 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxImage
*arg1
= (wxImage
*) 0 ;
13456 wxString
*arg2
= 0 ;
13458 bool temp2
= false ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "name", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13467 if (SWIG_arg_fail(1)) SWIG_fail
;
13469 arg2
= wxString_in_helper(obj1
);
13470 if (arg2
== NULL
) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_From_int((int)(result
));
13497 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxImage
*arg1
= (wxImage
*) 0 ;
13500 wxString
*arg2
= 0 ;
13502 bool temp2
= false ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self",(char *) "name", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail
;
13513 arg2
= wxString_in_helper(obj1
);
13514 if (arg2
== NULL
) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxImage
*arg1
= (wxImage
*) 0 ;
13544 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13545 unsigned long result
;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "stopafter", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13554 if (SWIG_arg_fail(1)) SWIG_fail
;
13557 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13558 if (SWIG_arg_fail(2)) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13577 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxImage
*arg1
= (wxImage
*) 0 ;
13580 wxImageHistogram
*arg2
= 0 ;
13581 unsigned long result
;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self",(char *) "h", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13590 if (SWIG_arg_fail(1)) SWIG_fail
;
13592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13593 if (SWIG_arg_fail(2)) SWIG_fail
;
13594 if (arg2
== NULL
) {
13595 SWIG_null_ref("wxImageHistogram");
13597 if (SWIG_arg_fail(2)) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13615 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "handler", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 wxImage::AddHandler(arg1
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "handler", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13650 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 wxImage::InsertHandler(arg1
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13665 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
;
13667 wxString
*arg1
= 0 ;
13669 bool temp1
= false ;
13670 PyObject
* obj0
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "name", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13677 arg1
= wxString_in_helper(obj0
);
13678 if (arg1
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13708 char *kwnames
[] = {
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= wxImage::GetImageExtWildcard();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13733 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxImage
*arg1
= (wxImage
*) 0 ;
13736 int arg2
= (int) -1 ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self",(char *) "depth", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13749 arg2
= (int)(SWIG_As_int(obj1
));
13750 if (SWIG_arg_fail(2)) SWIG_fail
;
13754 if (!wxPyCheckForApp()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 wxBitmap
* resultptr
;
13763 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13772 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxImage
*arg1
= (wxImage
*) 0 ;
13775 unsigned char arg2
;
13776 unsigned char arg3
;
13777 unsigned char arg4
;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13791 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13792 if (SWIG_arg_fail(2)) SWIG_fail
;
13795 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13796 if (SWIG_arg_fail(3)) SWIG_fail
;
13799 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13800 if (SWIG_arg_fail(4)) SWIG_fail
;
13803 if (!wxPyCheckForApp()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 wxBitmap
* resultptr
;
13812 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13821 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13824 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13826 return Py_BuildValue((char *)"");
13828 static int _wrap_NullImage_set(PyObject
*) {
13829 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13834 static PyObject
*_wrap_NullImage_get(void) {
13837 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13842 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13843 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13848 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13853 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13855 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13862 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13863 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13868 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13873 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13875 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13882 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13883 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13888 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13893 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13895 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13902 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13903 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13908 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13913 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13915 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13922 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13923 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13928 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13933 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13935 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13942 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13943 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13948 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13953 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13955 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13962 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13963 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13968 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13973 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13975 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13982 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13983 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13988 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13993 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13995 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14002 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14003 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14008 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14013 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14015 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14022 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14023 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14028 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14033 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14035 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14042 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14043 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14048 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14053 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14055 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14062 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14063 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14068 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14073 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14075 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14082 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14083 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14088 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14093 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14095 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14102 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14103 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14108 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14113 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14115 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14122 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14123 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14128 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14133 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14135 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14142 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxBMPHandler
*result
;
14145 char *kwnames
[] = {
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (wxBMPHandler
*)new wxBMPHandler();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14164 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14167 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14169 return Py_BuildValue((char *)"");
14171 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxICOHandler
*result
;
14174 char *kwnames
[] = {
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (wxICOHandler
*)new wxICOHandler();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14193 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14196 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14198 return Py_BuildValue((char *)"");
14200 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxCURHandler
*result
;
14203 char *kwnames
[] = {
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (wxCURHandler
*)new wxCURHandler();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14222 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14225 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14227 return Py_BuildValue((char *)"");
14229 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxANIHandler
*result
;
14232 char *kwnames
[] = {
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxANIHandler
*)new wxANIHandler();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14251 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14254 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14256 return Py_BuildValue((char *)"");
14258 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxPNGHandler
*result
;
14261 char *kwnames
[] = {
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxPNGHandler
*)new wxPNGHandler();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14280 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14283 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14285 return Py_BuildValue((char *)"");
14287 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxGIFHandler
*result
;
14290 char *kwnames
[] = {
14294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxGIFHandler
*)new wxGIFHandler();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14309 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14312 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14314 return Py_BuildValue((char *)"");
14316 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxPCXHandler
*result
;
14319 char *kwnames
[] = {
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxPCXHandler
*)new wxPCXHandler();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14338 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14341 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14343 return Py_BuildValue((char *)"");
14345 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxJPEGHandler
*result
;
14348 char *kwnames
[] = {
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14367 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14370 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14372 return Py_BuildValue((char *)"");
14374 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxPNMHandler
*result
;
14377 char *kwnames
[] = {
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxPNMHandler
*)new wxPNMHandler();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14396 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14401 return Py_BuildValue((char *)"");
14403 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxXPMHandler
*result
;
14406 char *kwnames
[] = {
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (wxXPMHandler
*)new wxXPMHandler();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14425 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14428 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14430 return Py_BuildValue((char *)"");
14432 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxTIFFHandler
*result
;
14435 char *kwnames
[] = {
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14454 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14457 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14459 return Py_BuildValue((char *)"");
14461 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxImage
*arg1
= 0 ;
14464 wxImage
*arg2
= 0 ;
14465 int arg3
= (int) 236 ;
14466 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14480 if (arg1
== NULL
) {
14481 SWIG_null_ref("wxImage");
14483 if (SWIG_arg_fail(1)) SWIG_fail
;
14486 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14488 if (arg2
== NULL
) {
14489 SWIG_null_ref("wxImage");
14491 if (SWIG_arg_fail(2)) SWIG_fail
;
14495 arg3
= (int)(SWIG_As_int(obj2
));
14496 if (SWIG_arg_fail(3)) SWIG_fail
;
14501 arg4
= (int)(SWIG_As_int(obj3
));
14502 if (SWIG_arg_fail(4)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14521 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14524 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14526 return Py_BuildValue((char *)"");
14528 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxEvtHandler
*result
;
14531 char *kwnames
[] = {
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxEvtHandler
*)new wxEvtHandler();
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14550 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14553 wxEvtHandler
*result
;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= wxPyMake_wxObject(result
, 0);
14578 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14581 wxEvtHandler
*result
;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14589 if (SWIG_arg_fail(1)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= wxPyMake_wxObject(result
, 0);
14606 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14609 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "handler", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14618 if (SWIG_arg_fail(1)) SWIG_fail
;
14619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14620 if (SWIG_arg_fail(2)) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 (arg1
)->SetNextHandler(arg2
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 Py_INCREF(Py_None
); resultobj
= Py_None
;
14635 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14638 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "handler", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14647 if (SWIG_arg_fail(1)) SWIG_fail
;
14648 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14649 if (SWIG_arg_fail(2)) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->SetPreviousHandler(arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14664 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14692 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self",(char *) "enabled", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14704 if (SWIG_arg_fail(1)) SWIG_fail
;
14706 arg2
= (bool)(SWIG_As_bool(obj1
));
14707 if (SWIG_arg_fail(2)) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 (arg1
)->SetEvtHandlerEnabled(arg2
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14726 wxEvent
*arg2
= 0 ;
14728 PyObject
* obj0
= 0 ;
14729 PyObject
* obj1
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "event", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14736 if (SWIG_arg_fail(1)) SWIG_fail
;
14738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14739 if (SWIG_arg_fail(2)) SWIG_fail
;
14740 if (arg2
== NULL
) {
14741 SWIG_null_ref("wxEvent");
14743 if (SWIG_arg_fail(2)) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14761 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14764 wxEvent
*arg2
= 0 ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self",(char *) "event", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14773 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(2)) SWIG_fail
;
14777 if (arg2
== NULL
) {
14778 SWIG_null_ref("wxEvent");
14780 if (SWIG_arg_fail(2)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 (arg1
)->AddPendingEvent(*arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 (arg1
)->ProcessPendingEvents();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14827 PyObject
*arg5
= (PyObject
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 PyObject
* obj2
= 0 ;
14831 PyObject
* obj3
= 0 ;
14832 PyObject
* obj4
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14839 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 arg2
= (int)(SWIG_As_int(obj1
));
14842 if (SWIG_arg_fail(2)) SWIG_fail
;
14845 arg3
= (int)(SWIG_As_int(obj2
));
14846 if (SWIG_arg_fail(3)) SWIG_fail
;
14849 arg4
= (int)(SWIG_As_int(obj3
));
14850 if (SWIG_arg_fail(4)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 Py_INCREF(Py_None
); resultobj
= Py_None
;
14867 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14871 int arg3
= (int) -1 ;
14872 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 PyObject
* obj2
= 0 ;
14877 PyObject
* obj3
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14884 if (SWIG_arg_fail(1)) SWIG_fail
;
14886 arg2
= (int)(SWIG_As_int(obj1
));
14887 if (SWIG_arg_fail(2)) SWIG_fail
;
14891 arg3
= (int)(SWIG_As_int(obj2
));
14892 if (SWIG_arg_fail(3)) SWIG_fail
;
14897 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14898 if (SWIG_arg_fail(4)) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14917 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14920 PyObject
*arg2
= (PyObject
*) 0 ;
14921 bool arg3
= (bool) true ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 PyObject
* obj2
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self",(char *) "_self",(char *) "incref", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail
;
14935 arg3
= (bool)(SWIG_As_bool(obj2
));
14936 if (SWIG_arg_fail(3)) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14953 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14958 return Py_BuildValue((char *)"");
14960 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxEventType result
;
14963 char *kwnames
[] = {
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxEventType
)wxNewEventType();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_From_int((int)(result
));
14984 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxEvent
*arg1
= (wxEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14994 if (SWIG_arg_fail(1)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxEvent
*arg1
= (wxEvent
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "typ", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15021 if (SWIG_arg_fail(1)) SWIG_fail
;
15023 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15024 if (SWIG_arg_fail(2)) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->SetEventType(arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxEvent
*arg1
= (wxEvent
*) 0 ;
15043 wxEventType result
;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15051 if (SWIG_arg_fail(1)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_From_int((int)(result
));
15068 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxEvent
*arg1
= (wxEvent
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15079 if (SWIG_arg_fail(1)) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= wxPyMake_wxObject(result
, 0);
15096 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxEvent
*arg1
= (wxEvent
*) 0 ;
15099 wxObject
*arg2
= (wxObject
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self",(char *) "obj", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail
;
15109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15110 if (SWIG_arg_fail(2)) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->SetEventObject(arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxEvent
*arg1
= (wxEvent
*) 0 ;
15129 PyObject
* obj0
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15136 if (SWIG_arg_fail(1)) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= SWIG_From_long((long)(result
));
15153 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxEvent
*arg1
= (wxEvent
*) 0 ;
15156 long arg2
= (long) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "ts", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15165 if (SWIG_arg_fail(1)) SWIG_fail
;
15168 arg2
= (long)(SWIG_As_long(obj1
));
15169 if (SWIG_arg_fail(2)) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 (arg1
)->SetTimestamp(arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxEvent
*arg1
= (wxEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (int)((wxEvent
const *)arg1
)->GetId();
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_From_int((int)(result
));
15214 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxEvent
*arg1
= (wxEvent
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self",(char *) "Id", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail
;
15228 arg2
= (int)(SWIG_As_int(obj1
));
15229 if (SWIG_arg_fail(2)) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->SetId(arg2
);
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxEvent
*arg1
= (wxEvent
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15256 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15273 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxEvent
*arg1
= (wxEvent
*) 0 ;
15276 bool arg2
= (bool) true ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "skip", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 arg2
= (bool)(SWIG_As_bool(obj1
));
15289 if (SWIG_arg_fail(2)) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 (arg1
)->Skip(arg2
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 Py_INCREF(Py_None
); resultobj
= Py_None
;
15306 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxEvent
*arg1
= (wxEvent
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxEvent
*arg1
= (wxEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxEvent
*arg1
= (wxEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (int)(arg1
)->StopPropagation();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_From_int((int)(result
));
15390 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxEvent
*arg1
= (wxEvent
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "propagationLevel", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 arg2
= (int)(SWIG_As_int(obj1
));
15405 if (SWIG_arg_fail(2)) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 (arg1
)->ResumePropagation(arg2
);
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 Py_INCREF(Py_None
); resultobj
= Py_None
;
15421 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxEvent
*arg1
= (wxEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxEvent
*)(arg1
)->Clone();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15447 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxEvent
*arg1
= 0 ;
15457 wxPropagationDisabler
*result
;
15458 PyObject
* obj0
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "event", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15466 if (SWIG_arg_fail(1)) SWIG_fail
;
15467 if (arg1
== NULL
) {
15468 SWIG_null_ref("wxEvent");
15470 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15486 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15496 if (SWIG_arg_fail(1)) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 Py_INCREF(Py_None
); resultobj
= Py_None
;
15511 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15514 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15516 return Py_BuildValue((char *)"");
15518 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxEvent
*arg1
= 0 ;
15521 wxPropagateOnce
*result
;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "event", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15531 if (arg1
== NULL
) {
15532 SWIG_null_ref("wxEvent");
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15550 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
;
15552 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "self", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15560 if (SWIG_arg_fail(1)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15580 return Py_BuildValue((char *)"");
15582 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15585 int arg2
= (int) 0 ;
15586 wxCommandEvent
*result
;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "commandType",(char *) "winid", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15602 arg2
= (int)(SWIG_As_int(obj1
));
15603 if (SWIG_arg_fail(2)) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15620 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_From_int((int)(result
));
15648 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15651 wxString
*arg2
= 0 ;
15652 bool temp2
= false ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "s", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail
;
15663 arg2
= wxString_in_helper(obj1
);
15664 if (arg2
== NULL
) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetString((wxString
const &)*arg2
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15689 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15700 if (SWIG_arg_fail(1)) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15721 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15732 if (SWIG_arg_fail(1)) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15760 if (SWIG_arg_fail(1)) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self",(char *) "extraLong", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15789 if (SWIG_arg_fail(1)) SWIG_fail
;
15791 arg2
= (long)(SWIG_As_long(obj1
));
15792 if (SWIG_arg_fail(2)) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 (arg1
)->SetExtraLong(arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 Py_INCREF(Py_None
); resultobj
= Py_None
;
15808 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(1)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_From_long((long)(result
));
15836 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "i", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15848 if (SWIG_arg_fail(1)) SWIG_fail
;
15850 arg2
= (int)(SWIG_As_int(obj1
));
15851 if (SWIG_arg_fail(2)) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetInt(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15878 if (SWIG_arg_fail(1)) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_From_long((long)(result
));
15895 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15921 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15924 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15926 return Py_BuildValue((char *)"");
15928 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15931 int arg2
= (int) 0 ;
15932 wxNotifyEvent
*result
;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 char *kwnames
[] = {
15936 (char *) "commandType",(char *) "winid", NULL
15939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15942 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15943 if (SWIG_arg_fail(1)) SWIG_fail
;
15948 arg2
= (int)(SWIG_As_int(obj1
));
15949 if (SWIG_arg_fail(2)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15966 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (bool)(arg1
)->IsAllowed();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16047 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16049 return Py_BuildValue((char *)"");
16051 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16054 int arg2
= (int) 0 ;
16055 int arg3
= (int) 0 ;
16056 int arg4
= (int) 0 ;
16057 wxScrollEvent
*result
;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 PyObject
* obj2
= 0 ;
16061 PyObject
* obj3
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16069 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 arg2
= (int)(SWIG_As_int(obj1
));
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16081 arg3
= (int)(SWIG_As_int(obj2
));
16082 if (SWIG_arg_fail(3)) SWIG_fail
;
16087 arg4
= (int)(SWIG_As_int(obj3
));
16088 if (SWIG_arg_fail(4)) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16105 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16116 if (SWIG_arg_fail(1)) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_From_int((int)(result
));
16133 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int((int)(result
));
16161 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "orient", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= (int)(SWIG_As_int(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 (arg1
)->SetOrientation(arg2
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 Py_INCREF(Py_None
); resultobj
= Py_None
;
16192 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "pos", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 arg2
= (int)(SWIG_As_int(obj1
));
16207 if (SWIG_arg_fail(2)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 (arg1
)->SetPosition(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 Py_INCREF(Py_None
); resultobj
= Py_None
;
16223 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16233 int arg2
= (int) 0 ;
16234 int arg3
= (int) 0 ;
16235 wxScrollWinEvent
*result
;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 PyObject
* obj2
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16246 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16247 if (SWIG_arg_fail(1)) SWIG_fail
;
16252 arg2
= (int)(SWIG_As_int(obj1
));
16253 if (SWIG_arg_fail(2)) SWIG_fail
;
16258 arg3
= (int)(SWIG_As_int(obj2
));
16259 if (SWIG_arg_fail(3)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16276 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_From_int((int)(result
));
16304 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_From_int((int)(result
));
16332 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "orient", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 arg2
= (int)(SWIG_As_int(obj1
));
16347 if (SWIG_arg_fail(2)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetOrientation(arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "pos", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 arg2
= (int)(SWIG_As_int(obj1
));
16378 if (SWIG_arg_fail(2)) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->SetPosition(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 Py_INCREF(Py_None
); resultobj
= Py_None
;
16394 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16399 return Py_BuildValue((char *)"");
16401 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16404 wxMouseEvent
*result
;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "mouseType", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16413 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16414 if (SWIG_arg_fail(1)) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= wxPyMake_wxObject(result
, 1);
16433 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16444 if (SWIG_arg_fail(1)) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16461 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16464 int arg2
= (int) wxMOUSE_BTN_ANY
;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "but", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16477 arg2
= (int)(SWIG_As_int(obj1
));
16478 if (SWIG_arg_fail(2)) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16497 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16500 int arg2
= (int) wxMOUSE_BTN_ANY
;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "but", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16510 if (SWIG_arg_fail(1)) SWIG_fail
;
16513 arg2
= (int)(SWIG_As_int(obj1
));
16514 if (SWIG_arg_fail(2)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16536 int arg2
= (int) wxMOUSE_BTN_ANY
;
16538 PyObject
* obj0
= 0 ;
16539 PyObject
* obj1
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self",(char *) "but", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 arg2
= (int)(SWIG_As_int(obj1
));
16550 if (SWIG_arg_fail(2)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "but", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 arg2
= (int)(SWIG_As_int(obj1
));
16585 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "but", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail
;
16618 arg2
= (int)(SWIG_As_int(obj1
));
16619 if (SWIG_arg_fail(2)) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16637 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_From_int((int)(result
));
16665 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16693 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16704 if (SWIG_arg_fail(1)) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16721 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16749 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16760 if (SWIG_arg_fail(1)) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16777 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16788 if (SWIG_arg_fail(1)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16805 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16816 if (SWIG_arg_fail(1)) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16844 if (SWIG_arg_fail(1)) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16861 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16872 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16900 if (SWIG_arg_fail(1)) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16917 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16945 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 char *kwnames
[] = {
16951 (char *) "self", NULL
16954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16956 if (SWIG_arg_fail(1)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16973 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16984 if (SWIG_arg_fail(1)) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17001 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17012 if (SWIG_arg_fail(1)) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17029 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17040 if (SWIG_arg_fail(1)) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17057 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (bool)(arg1
)->LeftIsDown();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17085 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (bool)(arg1
)->MiddleIsDown();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17113 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17117 PyObject
* obj0
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17124 if (SWIG_arg_fail(1)) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (bool)(arg1
)->RightIsDown();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17141 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17145 PyObject
* obj0
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17169 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17180 if (SWIG_arg_fail(1)) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "self", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17225 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (arg1
)->GetPosition();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 wxPoint
* resultptr
;
17274 resultptr
= new wxPoint((wxPoint
&)(result
));
17275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17283 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17286 long *arg2
= (long *) 0 ;
17287 long *arg3
= (long *) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self", NULL
17297 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17298 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17301 if (SWIG_arg_fail(1)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->GetPosition(arg2
,arg3
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17311 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17312 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17313 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17320 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 char *kwnames
[] = {
17328 (char *) "self",(char *) "dc", NULL
17331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17333 if (SWIG_arg_fail(1)) SWIG_fail
;
17335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(2)) SWIG_fail
;
17337 if (arg2
== NULL
) {
17338 SWIG_null_ref("wxDC");
17340 if (SWIG_arg_fail(2)) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 wxPoint
* resultptr
;
17351 resultptr
= new wxPoint((wxPoint
&)(result
));
17352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17360 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 char *kwnames
[] = {
17366 (char *) "self", NULL
17369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17371 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_From_int((int)(result
));
17388 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_From_int((int)(result
));
17416 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17420 PyObject
* obj0
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17427 if (SWIG_arg_fail(1)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= SWIG_From_int((int)(result
));
17444 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17455 if (SWIG_arg_fail(1)) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_From_int((int)(result
));
17472 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "self", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17483 if (SWIG_arg_fail(1)) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_From_int((int)(result
));
17500 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17511 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17528 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "m_x", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 arg2
= (int)(SWIG_As_int(obj1
));
17543 if (SWIG_arg_fail(2)) SWIG_fail
;
17545 if (arg1
) (arg1
)->m_x
= arg2
;
17547 Py_INCREF(Py_None
); resultobj
= Py_None
;
17554 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 char *kwnames
[] = {
17560 (char *) "self", NULL
17563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail
;
17566 result
= (int) ((arg1
)->m_x
);
17569 resultobj
= SWIG_From_int((int)(result
));
17577 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "m_y", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17591 arg2
= (int)(SWIG_As_int(obj1
));
17592 if (SWIG_arg_fail(2)) SWIG_fail
;
17594 if (arg1
) (arg1
)->m_y
= arg2
;
17596 Py_INCREF(Py_None
); resultobj
= Py_None
;
17603 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17614 if (SWIG_arg_fail(1)) SWIG_fail
;
17615 result
= (int) ((arg1
)->m_y
);
17618 resultobj
= SWIG_From_int((int)(result
));
17626 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "m_leftDown", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17638 if (SWIG_arg_fail(1)) SWIG_fail
;
17640 arg2
= (bool)(SWIG_As_bool(obj1
));
17641 if (SWIG_arg_fail(2)) SWIG_fail
;
17643 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17645 Py_INCREF(Py_None
); resultobj
= Py_None
;
17652 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17663 if (SWIG_arg_fail(1)) SWIG_fail
;
17664 result
= (bool) ((arg1
)->m_leftDown
);
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "m_middleDown", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17687 if (SWIG_arg_fail(1)) SWIG_fail
;
17689 arg2
= (bool)(SWIG_As_bool(obj1
));
17690 if (SWIG_arg_fail(2)) SWIG_fail
;
17692 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17694 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail
;
17713 result
= (bool) ((arg1
)->m_middleDown
);
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "m_rightDown", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17736 if (SWIG_arg_fail(1)) SWIG_fail
;
17738 arg2
= (bool)(SWIG_As_bool(obj1
));
17739 if (SWIG_arg_fail(2)) SWIG_fail
;
17741 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17743 Py_INCREF(Py_None
); resultobj
= Py_None
;
17750 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17761 if (SWIG_arg_fail(1)) SWIG_fail
;
17762 result
= (bool) ((arg1
)->m_rightDown
);
17765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "m_controlDown", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17785 if (SWIG_arg_fail(1)) SWIG_fail
;
17787 arg2
= (bool)(SWIG_As_bool(obj1
));
17788 if (SWIG_arg_fail(2)) SWIG_fail
;
17790 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17810 if (SWIG_arg_fail(1)) SWIG_fail
;
17811 result
= (bool) ((arg1
)->m_controlDown
);
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "m_shiftDown", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17834 if (SWIG_arg_fail(1)) SWIG_fail
;
17836 arg2
= (bool)(SWIG_As_bool(obj1
));
17837 if (SWIG_arg_fail(2)) SWIG_fail
;
17839 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17860 result
= (bool) ((arg1
)->m_shiftDown
);
17863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17871 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "m_altDown", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail
;
17885 arg2
= (bool)(SWIG_As_bool(obj1
));
17886 if (SWIG_arg_fail(2)) SWIG_fail
;
17888 if (arg1
) (arg1
)->m_altDown
= arg2
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17908 if (SWIG_arg_fail(1)) SWIG_fail
;
17909 result
= (bool) ((arg1
)->m_altDown
);
17912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17920 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "m_metaDown", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail
;
17934 arg2
= (bool)(SWIG_As_bool(obj1
));
17935 if (SWIG_arg_fail(2)) SWIG_fail
;
17937 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17939 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17958 result
= (bool) ((arg1
)->m_metaDown
);
17961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17969 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "m_wheelRotation", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17981 if (SWIG_arg_fail(1)) SWIG_fail
;
17983 arg2
= (int)(SWIG_As_int(obj1
));
17984 if (SWIG_arg_fail(2)) SWIG_fail
;
17986 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 result
= (int) ((arg1
)->m_wheelRotation
);
18010 resultobj
= SWIG_From_int((int)(result
));
18018 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 char *kwnames
[] = {
18025 (char *) "self",(char *) "m_wheelDelta", NULL
18028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail
;
18032 arg2
= (int)(SWIG_As_int(obj1
));
18033 if (SWIG_arg_fail(2)) SWIG_fail
;
18035 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18044 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18055 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 result
= (int) ((arg1
)->m_wheelDelta
);
18059 resultobj
= SWIG_From_int((int)(result
));
18067 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "m_linesPerAction", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18079 if (SWIG_arg_fail(1)) SWIG_fail
;
18081 arg2
= (int)(SWIG_As_int(obj1
));
18082 if (SWIG_arg_fail(2)) SWIG_fail
;
18084 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18086 Py_INCREF(Py_None
); resultobj
= Py_None
;
18093 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18105 result
= (int) ((arg1
)->m_linesPerAction
);
18108 resultobj
= SWIG_From_int((int)(result
));
18116 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18119 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18121 return Py_BuildValue((char *)"");
18123 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 int arg1
= (int) 0 ;
18126 int arg2
= (int) 0 ;
18127 wxSetCursorEvent
*result
;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "x",(char *) "y", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18137 arg1
= (int)(SWIG_As_int(obj0
));
18138 if (SWIG_arg_fail(1)) SWIG_fail
;
18143 arg2
= (int)(SWIG_As_int(obj1
));
18144 if (SWIG_arg_fail(2)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18161 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18165 PyObject
* obj0
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_From_int((int)(result
));
18189 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_From_int((int)(result
));
18217 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18220 wxCursor
*arg2
= 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "cursor", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18229 if (SWIG_arg_fail(1)) SWIG_fail
;
18231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18233 if (arg2
== NULL
) {
18234 SWIG_null_ref("wxCursor");
18236 if (SWIG_arg_fail(2)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18268 result
= (wxCursor
*) &_result_ref
;
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxCursor
* resultptr
= new wxCursor(*result
);
18276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18284 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18312 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18315 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18317 return Py_BuildValue((char *)"");
18319 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18322 wxKeyEvent
*result
;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "keyType", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18331 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18349 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18377 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18416 if (SWIG_arg_fail(1)) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18444 if (SWIG_arg_fail(1)) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18461 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18489 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18517 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_From_int((int)(result
));
18545 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_int((int)(result
));
18573 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18576 unsigned int result
;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18601 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18604 unsigned int result
;
18605 PyObject
* obj0
= 0 ;
18606 char *kwnames
[] = {
18607 (char *) "self", NULL
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18612 if (SWIG_arg_fail(1)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18629 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= (arg1
)->GetPosition();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxPoint
* resultptr
;
18650 resultptr
= new wxPoint((wxPoint
&)(result
));
18651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18659 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18662 long *arg2
= (long *) 0 ;
18663 long *arg3
= (long *) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18674 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18677 if (SWIG_arg_fail(1)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->GetPosition(arg2
,arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18686 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18687 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18688 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18689 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18696 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18707 if (SWIG_arg_fail(1)) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_From_int((int)(result
));
18724 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18735 if (SWIG_arg_fail(1)) SWIG_fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_From_int((int)(result
));
18752 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "m_x", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18764 if (SWIG_arg_fail(1)) SWIG_fail
;
18766 arg2
= (int)(SWIG_As_int(obj1
));
18767 if (SWIG_arg_fail(2)) SWIG_fail
;
18769 if (arg1
) (arg1
)->m_x
= arg2
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail
;
18790 result
= (int) ((arg1
)->m_x
);
18793 resultobj
= SWIG_From_int((int)(result
));
18801 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self",(char *) "m_y", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18815 arg2
= (int)(SWIG_As_int(obj1
));
18816 if (SWIG_arg_fail(2)) SWIG_fail
;
18818 if (arg1
) (arg1
)->m_y
= arg2
;
18820 Py_INCREF(Py_None
); resultobj
= Py_None
;
18827 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18838 if (SWIG_arg_fail(1)) SWIG_fail
;
18839 result
= (int) ((arg1
)->m_y
);
18842 resultobj
= SWIG_From_int((int)(result
));
18850 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self",(char *) "m_keyCode", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 arg2
= (long)(SWIG_As_long(obj1
));
18865 if (SWIG_arg_fail(2)) SWIG_fail
;
18867 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18888 result
= (long) ((arg1
)->m_keyCode
);
18891 resultobj
= SWIG_From_long((long)(result
));
18899 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "m_controlDown", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 arg2
= (bool)(SWIG_As_bool(obj1
));
18914 if (SWIG_arg_fail(2)) SWIG_fail
;
18916 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18937 result
= (bool) ((arg1
)->m_controlDown
);
18940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18948 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "m_shiftDown", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18962 arg2
= (bool)(SWIG_As_bool(obj1
));
18963 if (SWIG_arg_fail(2)) SWIG_fail
;
18965 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18985 if (SWIG_arg_fail(1)) SWIG_fail
;
18986 result
= (bool) ((arg1
)->m_shiftDown
);
18989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18997 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "m_altDown", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19009 if (SWIG_arg_fail(1)) SWIG_fail
;
19011 arg2
= (bool)(SWIG_As_bool(obj1
));
19012 if (SWIG_arg_fail(2)) SWIG_fail
;
19014 if (arg1
) (arg1
)->m_altDown
= arg2
;
19016 Py_INCREF(Py_None
); resultobj
= Py_None
;
19023 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
;
19025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19034 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 result
= (bool) ((arg1
)->m_altDown
);
19038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "m_metaDown", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19058 if (SWIG_arg_fail(1)) SWIG_fail
;
19060 arg2
= (bool)(SWIG_As_bool(obj1
));
19061 if (SWIG_arg_fail(2)) SWIG_fail
;
19063 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19083 if (SWIG_arg_fail(1)) SWIG_fail
;
19084 result
= (bool) ((arg1
)->m_metaDown
);
19087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19095 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 char *kwnames
[] = {
19102 (char *) "self",(char *) "m_scanCode", NULL
19105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19107 if (SWIG_arg_fail(1)) SWIG_fail
;
19109 arg2
= (bool)(SWIG_As_bool(obj1
));
19110 if (SWIG_arg_fail(2)) SWIG_fail
;
19112 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail
;
19133 result
= (bool) ((arg1
)->m_scanCode
);
19136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19144 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19147 unsigned int arg2
;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "m_rawCode", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19156 if (SWIG_arg_fail(1)) SWIG_fail
;
19158 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19159 if (SWIG_arg_fail(2)) SWIG_fail
;
19161 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19163 Py_INCREF(Py_None
); resultobj
= Py_None
;
19170 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19173 unsigned int result
;
19174 PyObject
* obj0
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19181 if (SWIG_arg_fail(1)) SWIG_fail
;
19182 result
= (unsigned int) ((arg1
)->m_rawCode
);
19185 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19193 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19196 unsigned int arg2
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "m_rawFlags", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19208 if (SWIG_arg_fail(2)) SWIG_fail
;
19210 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19222 unsigned int result
;
19223 PyObject
* obj0
= 0 ;
19224 char *kwnames
[] = {
19225 (char *) "self", NULL
19228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19230 if (SWIG_arg_fail(1)) SWIG_fail
;
19231 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19234 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19242 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19245 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19247 return Py_BuildValue((char *)"");
19249 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19252 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19253 int arg2
= (int) 0 ;
19254 wxSizeEvent
*result
;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "sz",(char *) "winid", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19271 arg2
= (int)(SWIG_As_int(obj1
));
19272 if (SWIG_arg_fail(2)) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19289 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19300 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19309 wxSize
* resultptr
;
19310 resultptr
= new wxSize((wxSize
&)(result
));
19311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19319 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxRect
* resultptr
;
19340 resultptr
= new wxRect((wxRect
&)(result
));
19341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19349 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "rect", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19361 if (SWIG_arg_fail(1)) SWIG_fail
;
19364 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19365 if (SWIG_arg_fail(2)) SWIG_fail
;
19366 if (argp
== NULL
) {
19367 SWIG_null_ref("wxRect");
19369 if (SWIG_arg_fail(2)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->SetRect(arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "size", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19398 if (SWIG_arg_fail(1)) SWIG_fail
;
19401 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19402 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 if (argp
== NULL
) {
19404 SWIG_null_ref("wxSize");
19406 if (SWIG_arg_fail(2)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 wxSizeEvent_SetSize(arg1
,arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19426 wxSize
*arg2
= (wxSize
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "m_size", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19437 if (SWIG_arg_fail(2)) SWIG_fail
;
19438 if (arg1
) (arg1
)->m_size
= *arg2
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19458 if (SWIG_arg_fail(1)) SWIG_fail
;
19459 result
= (wxSize
*)& ((arg1
)->m_size
);
19461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19468 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19471 wxRect
*arg2
= (wxRect
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "m_rect", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19480 if (SWIG_arg_fail(1)) SWIG_fail
;
19481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(2)) SWIG_fail
;
19483 if (arg1
) (arg1
)->m_rect
= *arg2
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19504 result
= (wxRect
*)& ((arg1
)->m_rect
);
19506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19513 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19516 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19518 return Py_BuildValue((char *)"");
19520 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19523 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19524 int arg2
= (int) 0 ;
19525 wxMoveEvent
*result
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "pos",(char *) "winid", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19542 arg2
= (int)(SWIG_As_int(obj1
));
19543 if (SWIG_arg_fail(2)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19560 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 wxPoint
* resultptr
;
19581 resultptr
= new wxPoint((wxPoint
&)(result
));
19582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19590 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19601 if (SWIG_arg_fail(1)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19610 wxRect
* resultptr
;
19611 resultptr
= new wxRect((wxRect
&)(result
));
19612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19620 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "rect", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail
;
19636 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetRect((wxRect
const &)*arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19655 wxPoint
*arg2
= 0 ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self",(char *) "pos", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19665 if (SWIG_arg_fail(1)) SWIG_fail
;
19668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 Py_INCREF(Py_None
); resultobj
= Py_None
;
19684 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19687 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19689 return Py_BuildValue((char *)"");
19691 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
;
19693 int arg1
= (int) 0 ;
19694 wxPaintEvent
*result
;
19695 PyObject
* obj0
= 0 ;
19696 char *kwnames
[] = {
19697 (char *) "Id", NULL
19700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19703 arg1
= (int)(SWIG_As_int(obj0
));
19704 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19721 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19724 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19726 return Py_BuildValue((char *)"");
19728 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 int arg1
= (int) 0 ;
19731 wxNcPaintEvent
*result
;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "winid", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19740 arg1
= (int)(SWIG_As_int(obj0
));
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19758 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19761 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19763 return Py_BuildValue((char *)"");
19765 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 int arg1
= (int) 0 ;
19768 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19769 wxEraseEvent
*result
;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "Id",(char *) "dc", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19779 arg1
= (int)(SWIG_As_int(obj0
));
19780 if (SWIG_arg_fail(1)) SWIG_fail
;
19784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19785 if (SWIG_arg_fail(2)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19801 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= wxPyMake_wxObject(result
, 0);
19829 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19832 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19834 return Py_BuildValue((char *)"");
19836 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19839 int arg2
= (int) 0 ;
19840 wxFocusEvent
*result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "type",(char *) "winid", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19850 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19851 if (SWIG_arg_fail(1)) SWIG_fail
;
19856 arg2
= (int)(SWIG_As_int(obj1
));
19857 if (SWIG_arg_fail(2)) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19874 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= wxPyMake_wxObject(result
, 0);
19902 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19905 wxWindow
*arg2
= (wxWindow
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self",(char *) "win", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19914 if (SWIG_arg_fail(1)) SWIG_fail
;
19915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19916 if (SWIG_arg_fail(2)) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->SetWindow(arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19934 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19936 return Py_BuildValue((char *)"");
19938 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxWindow
*arg1
= (wxWindow
*) NULL
;
19941 wxChildFocusEvent
*result
;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "win", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19966 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19977 if (SWIG_arg_fail(1)) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= wxPyMake_wxObject(result
, 0);
19994 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19997 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19999 return Py_BuildValue((char *)"");
20001 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20004 bool arg2
= (bool) true ;
20005 int arg3
= (int) 0 ;
20006 wxActivateEvent
*result
;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 PyObject
* obj2
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "type",(char *) "active",(char *) "Id", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20017 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20023 arg2
= (bool)(SWIG_As_bool(obj1
));
20024 if (SWIG_arg_fail(2)) SWIG_fail
;
20029 arg3
= (int)(SWIG_As_int(obj2
));
20030 if (SWIG_arg_fail(3)) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20047 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20058 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20078 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20080 return Py_BuildValue((char *)"");
20082 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 int arg1
= (int) 0 ;
20085 wxInitDialogEvent
*result
;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "Id", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20094 arg1
= (int)(SWIG_As_int(obj0
));
20095 if (SWIG_arg_fail(1)) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20112 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20115 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20117 return Py_BuildValue((char *)"");
20119 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20122 int arg2
= (int) 0 ;
20123 wxMenu
*arg3
= (wxMenu
*) NULL
;
20124 wxMenuEvent
*result
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "type",(char *) "winid",(char *) "menu", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20135 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20136 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 arg2
= (int)(SWIG_As_int(obj1
));
20142 if (SWIG_arg_fail(2)) SWIG_fail
;
20146 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20147 if (SWIG_arg_fail(3)) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20163 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20165 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= SWIG_From_int((int)(result
));
20191 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20202 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20219 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= wxPyMake_wxObject(result
, 0);
20247 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20250 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20252 return Py_BuildValue((char *)"");
20254 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20257 int arg2
= (int) 0 ;
20258 wxCloseEvent
*result
;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "type",(char *) "winid", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20268 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20269 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 arg2
= (int)(SWIG_As_int(obj1
));
20275 if (SWIG_arg_fail(2)) SWIG_fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20292 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "logOff", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20304 if (SWIG_arg_fail(1)) SWIG_fail
;
20306 arg2
= (bool)(SWIG_As_bool(obj1
));
20307 if (SWIG_arg_fail(2)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->SetLoggingOff(arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20334 if (SWIG_arg_fail(1)) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20351 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20354 bool arg2
= (bool) true ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "veto", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20363 if (SWIG_arg_fail(1)) SWIG_fail
;
20366 arg2
= (bool)(SWIG_As_bool(obj1
));
20367 if (SWIG_arg_fail(2)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 (arg1
)->Veto(arg2
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 char *kwnames
[] = {
20391 (char *) "self",(char *) "canVeto", NULL
20394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail
;
20398 arg2
= (bool)(SWIG_As_bool(obj1
));
20399 if (SWIG_arg_fail(2)) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->SetCanVeto(arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 Py_INCREF(Py_None
); resultobj
= Py_None
;
20415 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20471 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20474 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20476 return Py_BuildValue((char *)"");
20478 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 int arg1
= (int) 0 ;
20481 bool arg2
= (bool) false ;
20482 wxShowEvent
*result
;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "winid",(char *) "show", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20492 arg1
= (int)(SWIG_As_int(obj0
));
20493 if (SWIG_arg_fail(1)) SWIG_fail
;
20498 arg2
= (bool)(SWIG_As_bool(obj1
));
20499 if (SWIG_arg_fail(2)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20516 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20518 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char *kwnames
[] = {
20523 (char *) "self",(char *) "show", NULL
20526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail
;
20530 arg2
= (bool)(SWIG_As_bool(obj1
));
20531 if (SWIG_arg_fail(2)) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->SetShow(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20578 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20580 return Py_BuildValue((char *)"");
20582 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 int arg1
= (int) 0 ;
20585 bool arg2
= (bool) true ;
20586 wxIconizeEvent
*result
;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "id",(char *) "iconized", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 arg1
= (int)(SWIG_As_int(obj0
));
20597 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 arg2
= (bool)(SWIG_As_bool(obj1
));
20603 if (SWIG_arg_fail(2)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20620 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (bool)(arg1
)->Iconized();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20648 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20653 return Py_BuildValue((char *)"");
20655 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 int arg1
= (int) 0 ;
20658 wxMaximizeEvent
*result
;
20659 PyObject
* obj0
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "id", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20667 arg1
= (int)(SWIG_As_int(obj0
));
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20685 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20688 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20690 return Py_BuildValue((char *)"");
20692 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (arg1
)->GetPosition();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 wxPoint
* resultptr
;
20713 resultptr
= new wxPoint((wxPoint
&)(result
));
20714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20722 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20733 if (SWIG_arg_fail(1)) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (int)(arg1
)->GetNumberOfFiles();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_From_int((int)(result
));
20750 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
;
20776 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20779 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20781 return Py_BuildValue((char *)"");
20783 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 int arg1
= (int) 0 ;
20786 wxUpdateUIEvent
*result
;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "commandId", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20795 arg1
= (int)(SWIG_As_int(obj0
));
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20813 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20841 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20869 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20901 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20912 if (SWIG_arg_fail(1)) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20929 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "self", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20940 if (SWIG_arg_fail(1)) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20957 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20985 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "check", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
20999 arg2
= (bool)(SWIG_As_bool(obj1
));
21000 if (SWIG_arg_fail(2)) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->Check(arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self",(char *) "enable", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21028 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 arg2
= (bool)(SWIG_As_bool(obj1
));
21031 if (SWIG_arg_fail(2)) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 (arg1
)->Enable(arg2
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 Py_INCREF(Py_None
); resultobj
= Py_None
;
21047 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21050 wxString
*arg2
= 0 ;
21051 bool temp2
= false ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "text", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail
;
21062 arg2
= wxString_in_helper(obj1
);
21063 if (arg2
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetText((wxString
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "updateInterval", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21098 arg1
= (long)(SWIG_As_long(obj0
));
21099 if (SWIG_arg_fail(1)) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 Py_INCREF(Py_None
); resultobj
= Py_None
;
21115 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21118 char *kwnames
[] = {
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_From_long((long)(result
));
21139 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxWindow
*arg1
= (wxWindow
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "win", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21150 if (SWIG_arg_fail(1)) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21167 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
;
21169 char *kwnames
[] = {
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 wxUpdateUIEvent::ResetUpdateTime();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxUpdateUIMode arg1
;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "mode", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21198 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21199 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 Py_INCREF(Py_None
); resultobj
= Py_None
;
21215 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxUpdateUIMode result
;
21218 char *kwnames
[] = {
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_int((result
));
21237 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21240 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21242 return Py_BuildValue((char *)"");
21244 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxSysColourChangedEvent
*result
;
21247 char *kwnames
[] = {
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21266 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21269 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21271 return Py_BuildValue((char *)"");
21273 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 int arg1
= (int) 0 ;
21276 wxWindow
*arg2
= (wxWindow
*) NULL
;
21277 wxMouseCaptureChangedEvent
*result
;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "winid",(char *) "gainedCapture", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 arg1
= (int)(SWIG_As_int(obj0
));
21288 if (SWIG_arg_fail(1)) SWIG_fail
;
21292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21293 if (SWIG_arg_fail(2)) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21309 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(1)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= wxPyMake_wxObject(result
, 0);
21337 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21340 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21342 return Py_BuildValue((char *)"");
21344 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxDisplayChangedEvent
*result
;
21347 char *kwnames
[] = {
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21366 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21369 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21371 return Py_BuildValue((char *)"");
21373 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 int arg1
= (int) 0 ;
21376 wxPaletteChangedEvent
*result
;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "id", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21385 arg1
= (int)(SWIG_As_int(obj0
));
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21403 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21406 wxWindow
*arg2
= (wxWindow
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self",(char *) "win", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(2)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->SetChangedWindow(arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21443 if (SWIG_arg_fail(1)) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= wxPyMake_wxObject(result
, 0);
21460 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21463 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21465 return Py_BuildValue((char *)"");
21467 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 int arg1
= (int) 0 ;
21470 wxQueryNewPaletteEvent
*result
;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "winid", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21479 arg1
= (int)(SWIG_As_int(obj0
));
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21497 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "realized", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21509 if (SWIG_arg_fail(1)) SWIG_fail
;
21511 arg2
= (bool)(SWIG_As_bool(obj1
));
21512 if (SWIG_arg_fail(2)) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->SetPaletteRealized(arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21559 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21561 return Py_BuildValue((char *)"");
21563 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxNavigationKeyEvent
*result
;
21566 char *kwnames
[] = {
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21585 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21613 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "forward", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 arg2
= (bool)(SWIG_As_bool(obj1
));
21628 if (SWIG_arg_fail(2)) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 (arg1
)->SetDirection(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 Py_INCREF(Py_None
); resultobj
= Py_None
;
21644 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "ischange", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21684 if (SWIG_arg_fail(1)) SWIG_fail
;
21686 arg2
= (bool)(SWIG_As_bool(obj1
));
21687 if (SWIG_arg_fail(2)) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->SetWindowChange(arg2
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21703 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
;
21705 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21714 if (SWIG_arg_fail(1)) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21731 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "bIs", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21743 if (SWIG_arg_fail(1)) SWIG_fail
;
21745 arg2
= (bool)(SWIG_As_bool(obj1
));
21746 if (SWIG_arg_fail(2)) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->SetFromTab(arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 Py_INCREF(Py_None
); resultobj
= Py_None
;
21762 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "flags", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21774 if (SWIG_arg_fail(1)) SWIG_fail
;
21776 arg2
= (long)(SWIG_As_long(obj1
));
21777 if (SWIG_arg_fail(2)) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->SetFlags(arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21793 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= wxPyMake_wxObject(result
, 0);
21821 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21824 wxWindow
*arg2
= (wxWindow
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self",(char *) "win", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21833 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 (arg1
)->SetCurrentFocus(arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 Py_INCREF(Py_None
); resultobj
= Py_None
;
21850 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21853 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21855 return Py_BuildValue((char *)"");
21857 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxWindow
*arg1
= (wxWindow
*) NULL
;
21860 wxWindowCreateEvent
*result
;
21861 PyObject
* obj0
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "win", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21885 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21896 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= wxPyMake_wxObject(result
, 0);
21913 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21916 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21918 return Py_BuildValue((char *)"");
21920 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxWindow
*arg1
= (wxWindow
*) NULL
;
21923 wxWindowDestroyEvent
*result
;
21924 PyObject
* obj0
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "win", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21932 if (SWIG_arg_fail(1)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21948 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21959 if (SWIG_arg_fail(1)) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= wxPyMake_wxObject(result
, 0);
21976 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21979 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21981 return Py_BuildValue((char *)"");
21983 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21986 int arg2
= (int) 0 ;
21987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21989 wxContextMenuEvent
*result
;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "type",(char *) "winid",(char *) "pt", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22001 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22007 arg2
= (int)(SWIG_As_int(obj1
));
22008 if (SWIG_arg_fail(2)) SWIG_fail
;
22014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22031 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22042 if (SWIG_arg_fail(1)) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22047 result
= (wxPoint
*) &_result_ref
;
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22060 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22063 wxPoint
*arg2
= 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "pos", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22073 if (SWIG_arg_fail(1)) SWIG_fail
;
22076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22095 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22097 return Py_BuildValue((char *)"");
22099 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxIdleEvent
*result
;
22102 char *kwnames
[] = {
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (wxIdleEvent
*)new wxIdleEvent();
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22121 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22124 bool arg2
= (bool) true ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "needMore", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22136 arg2
= (bool)(SWIG_As_bool(obj1
));
22137 if (SWIG_arg_fail(2)) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 (arg1
)->RequestMore(arg2
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 Py_INCREF(Py_None
); resultobj
= Py_None
;
22154 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22165 if (SWIG_arg_fail(1)) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22182 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "mode", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22192 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22193 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 Py_INCREF(Py_None
); resultobj
= Py_None
;
22209 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22212 char *kwnames
[] = {
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_From_int((result
));
22231 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxWindow
*arg1
= (wxWindow
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "win", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (bool)wxIdleEvent::CanSend(arg1
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22262 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22264 return Py_BuildValue((char *)"");
22266 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 int arg1
= (int) 0 ;
22269 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "winid",(char *) "commandType", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22280 arg1
= (int)(SWIG_As_int(obj0
));
22281 if (SWIG_arg_fail(1)) SWIG_fail
;
22286 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22287 if (SWIG_arg_fail(2)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22304 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22332 PyObject
*arg2
= (PyObject
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->SetSelf(arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 Py_INCREF(Py_None
); resultobj
= Py_None
;
22357 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22368 if (SWIG_arg_fail(1)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= (PyObject
*)(arg1
)->GetSelf();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= result
;
22383 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22386 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22388 return Py_BuildValue((char *)"");
22390 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22393 int arg2
= (int) 0 ;
22394 wxPyCommandEvent
*result
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "commandType",(char *) "id", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22404 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22405 if (SWIG_arg_fail(1)) SWIG_fail
;
22410 arg2
= (int)(SWIG_As_int(obj1
));
22411 if (SWIG_arg_fail(2)) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22428 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 Py_INCREF(Py_None
); resultobj
= Py_None
;
22453 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
;
22455 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22456 PyObject
*arg2
= (PyObject
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self",(char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22465 if (SWIG_arg_fail(1)) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetSelf(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (PyObject
*)(arg1
)->GetSelf();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= result
;
22507 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22510 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22512 return Py_BuildValue((char *)"");
22514 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxWindow
*arg1
= (wxWindow
*) 0 ;
22517 wxDateTime
*arg2
= 0 ;
22519 wxDateEvent
*result
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "win",(char *) "dt",(char *) "type", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail
;
22531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(2)) SWIG_fail
;
22533 if (arg2
== NULL
) {
22534 SWIG_null_ref("wxDateTime");
22536 if (SWIG_arg_fail(2)) SWIG_fail
;
22539 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22540 if (SWIG_arg_fail(3)) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22556 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22559 wxDateTime
*result
;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22567 if (SWIG_arg_fail(1)) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22572 result
= (wxDateTime
*) &_result_ref
;
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22585 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22588 wxDateTime
*arg2
= 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "date", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(1)) SWIG_fail
;
22599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(2)) SWIG_fail
;
22601 if (arg2
== NULL
) {
22602 SWIG_null_ref("wxDateTime");
22604 if (SWIG_arg_fail(2)) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 Py_INCREF(Py_None
); resultobj
= Py_None
;
22620 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22623 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22625 return Py_BuildValue((char *)"");
22627 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22630 char *kwnames
[] = {
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 result
= (wxPyApp
*)new_wxPyApp();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22649 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(1)) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 Py_INCREF(Py_None
); resultobj
= Py_None
;
22674 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22677 PyObject
*arg2
= (PyObject
*) 0 ;
22678 PyObject
*arg3
= (PyObject
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 PyObject
* obj2
= 0 ;
22683 PyObject
* obj3
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22690 if (SWIG_arg_fail(1)) SWIG_fail
;
22694 arg4
= (bool)(SWIG_As_bool(obj3
));
22695 if (SWIG_arg_fail(4)) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22722 if (SWIG_arg_fail(1)) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22743 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22746 wxString
*arg2
= 0 ;
22747 bool temp2
= false ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "name", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail
;
22758 arg2
= wxString_in_helper(obj1
);
22759 if (arg2
== NULL
) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 (arg1
)->SetAppName((wxString
const &)*arg2
);
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 Py_INCREF(Py_None
); resultobj
= Py_None
;
22784 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22795 if (SWIG_arg_fail(1)) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22816 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22819 wxString
*arg2
= 0 ;
22820 bool temp2
= false ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self",(char *) "name", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22829 if (SWIG_arg_fail(1)) SWIG_fail
;
22831 arg2
= wxString_in_helper(obj1
);
22832 if (arg2
== NULL
) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->SetClassName((wxString
const &)*arg2
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 Py_INCREF(Py_None
); resultobj
= Py_None
;
22857 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22868 if (SWIG_arg_fail(1)) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22873 result
= (wxString
*) &_result_ref
;
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22883 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22892 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22895 wxString
*arg2
= 0 ;
22896 bool temp2
= false ;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "name", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22905 if (SWIG_arg_fail(1)) SWIG_fail
;
22907 arg2
= wxString_in_helper(obj1
);
22908 if (arg2
== NULL
) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22933 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22936 wxAppTraits
*result
;
22937 PyObject
* obj0
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22944 if (SWIG_arg_fail(1)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22959 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22962 PyObject
* obj0
= 0 ;
22963 char *kwnames
[] = {
22964 (char *) "self", NULL
22967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22969 if (SWIG_arg_fail(1)) SWIG_fail
;
22971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22972 (arg1
)->ProcessPendingEvents();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 Py_INCREF(Py_None
); resultobj
= Py_None
;
22984 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22987 bool arg2
= (bool) false ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "onlyIfNeeded", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail
;
23000 arg2
= (bool)(SWIG_As_bool(obj1
));
23001 if (SWIG_arg_fail(2)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (bool)(arg1
)->Yield(arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23020 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23030 if (SWIG_arg_fail(1)) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 (arg1
)->WakeUpIdle();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 Py_INCREF(Py_None
); resultobj
= Py_None
;
23045 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23048 char *kwnames
[] = {
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)wxPyApp::IsMainLoopRunning();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23080 if (SWIG_arg_fail(1)) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)(arg1
)->MainLoop();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_int((int)(result
));
23097 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 (arg1
)->ExitMainLoop();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 Py_INCREF(Py_None
); resultobj
= Py_None
;
23147 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23158 if (SWIG_arg_fail(1)) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (bool)(arg1
)->Pending();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23175 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (bool)(arg1
)->Dispatch();
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23203 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23207 PyObject
* obj0
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (bool)(arg1
)->ProcessIdle();
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23231 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23234 wxWindow
*arg2
= (wxWindow
*) 0 ;
23235 wxIdleEvent
*arg3
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 PyObject
* obj2
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "win",(char *) "event", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23246 if (SWIG_arg_fail(1)) SWIG_fail
;
23247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23248 if (SWIG_arg_fail(2)) SWIG_fail
;
23250 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(3)) SWIG_fail
;
23252 if (arg3
== NULL
) {
23253 SWIG_null_ref("wxIdleEvent");
23255 if (SWIG_arg_fail(3)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23273 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23284 if (SWIG_arg_fail(1)) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23301 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23304 wxWindow
*arg2
= (wxWindow
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "win", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(1)) SWIG_fail
;
23314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23315 if (SWIG_arg_fail(2)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetTopWindow(arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= wxPyMake_wxObject(result
, 0);
23358 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self",(char *) "flag", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23370 if (SWIG_arg_fail(1)) SWIG_fail
;
23372 arg2
= (bool)(SWIG_As_bool(obj1
));
23373 if (SWIG_arg_fail(2)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetExitOnFrameDelete(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23417 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self",(char *) "flag", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23429 if (SWIG_arg_fail(1)) SWIG_fail
;
23431 arg2
= (bool)(SWIG_As_bool(obj1
));
23432 if (SWIG_arg_fail(2)) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetUseBestVisual(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23476 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "self",(char *) "mode", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail
;
23490 arg2
= (int)(SWIG_As_int(obj1
));
23491 if (SWIG_arg_fail(2)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->SetPrintMode(arg2
);
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 Py_INCREF(Py_None
); resultobj
= Py_None
;
23507 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int((int)(result
));
23535 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "mode", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23547 if (SWIG_arg_fail(1)) SWIG_fail
;
23549 arg2
= (int)(SWIG_As_int(obj1
));
23550 if (SWIG_arg_fail(2)) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 (arg1
)->SetAssertMode(arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 Py_INCREF(Py_None
); resultobj
= Py_None
;
23566 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (int)(arg1
)->GetAssertMode();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_From_int((int)(result
));
23594 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23597 char *kwnames
[] = {
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23618 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23621 char *kwnames
[] = {
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_From_long((long)(result
));
23642 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23645 char *kwnames
[] = {
23649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_From_long((long)(result
));
23666 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23669 char *kwnames
[] = {
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (long)wxPyApp::GetMacExitMenuItemId();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_From_long((long)(result
));
23690 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23693 char *kwnames
[] = {
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= wxPyApp::GetMacHelpMenuTitleName();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23718 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
;
23721 PyObject
* obj0
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "val", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23728 arg1
= (bool)(SWIG_As_bool(obj0
));
23729 if (SWIG_arg_fail(1)) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "val", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23755 arg1
= (long)(SWIG_As_long(obj0
));
23756 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 wxPyApp::SetMacAboutMenuItemId(arg1
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "val", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23782 arg1
= (long)(SWIG_As_long(obj0
));
23783 if (SWIG_arg_fail(1)) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 Py_INCREF(Py_None
); resultobj
= Py_None
;
23799 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23802 PyObject
* obj0
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "val", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23809 arg1
= (long)(SWIG_As_long(obj0
));
23810 if (SWIG_arg_fail(1)) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 wxPyApp::SetMacExitMenuItemId(arg1
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 Py_INCREF(Py_None
); resultobj
= Py_None
;
23826 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxString
*arg1
= 0 ;
23829 bool temp1
= false ;
23830 PyObject
* obj0
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "val", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23837 arg1
= wxString_in_helper(obj0
);
23838 if (arg1
== NULL
) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 Py_INCREF(Py_None
); resultobj
= Py_None
;
23863 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23873 if (SWIG_arg_fail(1)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->_BootstrapApp();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23891 char *kwnames
[] = {
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (int)PyApp_GetComCtl32Version();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_From_int((int)(result
));
23912 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23915 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23917 return Py_BuildValue((char *)"");
23919 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 char *kwnames
[] = {
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23943 char *kwnames
[] = {
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (bool)wxYield();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23967 char *kwnames
[] = {
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (bool)wxYieldIfNeeded();
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23988 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxWindow
*arg1
= (wxWindow
*) NULL
;
23991 bool arg2
= (bool) false ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "win",(char *) "onlyIfNeeded", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24002 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 arg2
= (bool)(SWIG_As_bool(obj1
));
24007 if (SWIG_arg_fail(2)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (bool)wxSafeYield(arg1
,arg2
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24026 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 char *kwnames
[] = {
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 Py_INCREF(Py_None
); resultobj
= Py_None
;
24047 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24050 wxEvent
*arg2
= 0 ;
24051 PyObject
* obj0
= 0 ;
24052 PyObject
* obj1
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "dest",(char *) "event", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail
;
24061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24062 if (SWIG_arg_fail(2)) SWIG_fail
;
24063 if (arg2
== NULL
) {
24064 SWIG_null_ref("wxEvent");
24066 if (SWIG_arg_fail(2)) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 wxPostEvent(arg1
,*arg2
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 char *kwnames
[] = {
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 Py_INCREF(Py_None
); resultobj
= Py_None
;
24103 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24106 char *kwnames
[] = {
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (wxPyApp
*)wxPyGetApp();
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= wxPyMake_wxObject(result
, 0);
24127 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 char *arg1
= (char *) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "encoding", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24136 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24137 SWIG_arg_fail(1);SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 wxSetDefaultPyEncoding((char const *)arg1
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 Py_INCREF(Py_None
); resultobj
= Py_None
;
24153 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24156 char *kwnames
[] = {
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (char *)wxGetDefaultPyEncoding();
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_FromCharPtr(result
);
24175 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxEventLoop
*result
;
24178 char *kwnames
[] = {
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (wxEventLoop
*)new wxEventLoop();
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24197 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
;
24199 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24207 if (SWIG_arg_fail(1)) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 Py_INCREF(Py_None
); resultobj
= Py_None
;
24222 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 char *kwnames
[] = {
24228 (char *) "self", NULL
24231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24233 if (SWIG_arg_fail(1)) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (int)(arg1
)->Run();
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_From_int((int)(result
));
24250 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24253 int arg2
= (int) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "rc", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail
;
24265 arg2
= (int)(SWIG_As_int(obj1
));
24266 if (SWIG_arg_fail(2)) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->Exit(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24294 if (SWIG_arg_fail(1)) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24311 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24315 PyObject
* obj0
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (bool)(arg1
)->Dispatch();
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24339 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24350 if (SWIG_arg_fail(1)) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24367 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxEventLoop
*result
;
24370 char *kwnames
[] = {
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24389 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "loop", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 wxEventLoop::SetActive(arg1
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24417 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24419 return Py_BuildValue((char *)"");
24421 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 int arg1
= (int) 0 ;
24424 int arg2
= (int) 0 ;
24425 int arg3
= (int) 0 ;
24426 wxAcceleratorEntry
*result
;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 PyObject
* obj2
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24437 arg1
= (int)(SWIG_As_int(obj0
));
24438 if (SWIG_arg_fail(1)) SWIG_fail
;
24443 arg2
= (int)(SWIG_As_int(obj1
));
24444 if (SWIG_arg_fail(2)) SWIG_fail
;
24449 arg3
= (int)(SWIG_As_int(obj2
));
24450 if (SWIG_arg_fail(3)) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24467 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 Py_INCREF(Py_None
); resultobj
= Py_None
;
24492 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24498 PyObject
* obj0
= 0 ;
24499 PyObject
* obj1
= 0 ;
24500 PyObject
* obj2
= 0 ;
24501 PyObject
* obj3
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail
;
24510 arg2
= (int)(SWIG_As_int(obj1
));
24511 if (SWIG_arg_fail(2)) SWIG_fail
;
24514 arg3
= (int)(SWIG_As_int(obj2
));
24515 if (SWIG_arg_fail(3)) SWIG_fail
;
24518 arg4
= (int)(SWIG_As_int(obj3
));
24519 if (SWIG_arg_fail(4)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->Set(arg2
,arg3
,arg4
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 char *kwnames
[] = {
24541 (char *) "self", NULL
24544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (int)(arg1
)->GetFlags();
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_From_int((int)(result
));
24563 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24567 PyObject
* obj0
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24574 if (SWIG_arg_fail(1)) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (int)(arg1
)->GetKeyCode();
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_From_int((int)(result
));
24591 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(1)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (int)(arg1
)->GetCommand();
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_From_int((int)(result
));
24619 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24622 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24624 return Py_BuildValue((char *)"");
24626 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24629 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24630 wxAcceleratorTable
*result
;
24631 PyObject
* obj0
= 0 ;
24632 char *kwnames
[] = {
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24638 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24639 if (arg2
) arg1
= PyList_Size(obj0
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24662 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24672 if (SWIG_arg_fail(1)) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 Py_INCREF(Py_None
); resultobj
= Py_None
;
24687 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24698 if (SWIG_arg_fail(1)) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24718 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24720 return Py_BuildValue((char *)"");
24722 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24723 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24728 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24731 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24736 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxString
*arg1
= 0 ;
24739 wxAcceleratorEntry
*result
;
24740 bool temp1
= false ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "label", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24748 arg1
= wxString_in_helper(obj0
);
24749 if (arg1
== NULL
) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24774 static int _wrap_PanelNameStr_set(PyObject
*) {
24775 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24780 static PyObject
*_wrap_PanelNameStr_get(void) {
24785 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24787 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24794 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxVisualAttributes
*result
;
24797 char *kwnames
[] = {
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24816 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 delete_wxVisualAttributes(arg1
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24844 wxFont
*arg2
= (wxFont
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "font", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24853 if (SWIG_arg_fail(1)) SWIG_fail
;
24854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24855 if (SWIG_arg_fail(2)) SWIG_fail
;
24856 if (arg1
) (arg1
)->font
= *arg2
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24877 result
= (wxFont
*)& ((arg1
)->font
);
24879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24886 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24889 wxColour
*arg2
= (wxColour
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 PyObject
* obj1
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self",(char *) "colFg", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(2)) SWIG_fail
;
24901 if (arg1
) (arg1
)->colFg
= *arg2
;
24903 Py_INCREF(Py_None
); resultobj
= Py_None
;
24910 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
;
24912 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24914 PyObject
* obj0
= 0 ;
24915 char *kwnames
[] = {
24916 (char *) "self", NULL
24919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24921 if (SWIG_arg_fail(1)) SWIG_fail
;
24922 result
= (wxColour
*)& ((arg1
)->colFg
);
24924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24931 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24934 wxColour
*arg2
= (wxColour
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self",(char *) "colBg", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail
;
24944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24945 if (SWIG_arg_fail(2)) SWIG_fail
;
24946 if (arg1
) (arg1
)->colBg
= *arg2
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24966 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 result
= (wxColour
*)& ((arg1
)->colBg
);
24969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24976 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24979 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24981 return Py_BuildValue((char *)"");
24983 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxWindow
*arg1
= (wxWindow
*) 0 ;
24986 int arg2
= (int) (int)-1 ;
24987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24991 long arg5
= (long) 0 ;
24992 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24993 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24997 bool temp6
= false ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 PyObject
* obj2
= 0 ;
25001 PyObject
* obj3
= 0 ;
25002 PyObject
* obj4
= 0 ;
25003 PyObject
* obj5
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25013 arg2
= (int const)(SWIG_As_int(obj1
));
25014 if (SWIG_arg_fail(2)) SWIG_fail
;
25020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25031 arg5
= (long)(SWIG_As_long(obj4
));
25032 if (SWIG_arg_fail(5)) SWIG_fail
;
25037 arg6
= wxString_in_helper(obj5
);
25038 if (arg6
== NULL
) SWIG_fail
;
25043 if (!wxPyCheckForApp()) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25065 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25068 char *kwnames
[] = {
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25074 if (!wxPyCheckForApp()) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (wxWindow
*)new wxWindow();
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25088 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxWindow
*arg1
= (wxWindow
*) 0 ;
25091 wxWindow
*arg2
= (wxWindow
*) 0 ;
25092 int arg3
= (int) (int)-1 ;
25093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25097 long arg6
= (long) 0 ;
25098 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25099 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25103 bool temp7
= false ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 PyObject
* obj3
= 0 ;
25108 PyObject
* obj4
= 0 ;
25109 PyObject
* obj5
= 0 ;
25110 PyObject
* obj6
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(1)) SWIG_fail
;
25118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(2)) SWIG_fail
;
25122 arg3
= (int const)(SWIG_As_int(obj2
));
25123 if (SWIG_arg_fail(3)) SWIG_fail
;
25129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25140 arg6
= (long)(SWIG_As_long(obj5
));
25141 if (SWIG_arg_fail(6)) SWIG_fail
;
25146 arg7
= wxString_in_helper(obj6
);
25147 if (arg7
== NULL
) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25175 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxWindow
*arg1
= (wxWindow
*) 0 ;
25178 bool arg2
= (bool) false ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "force", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25188 if (SWIG_arg_fail(1)) SWIG_fail
;
25191 arg2
= (bool)(SWIG_As_bool(obj1
));
25192 if (SWIG_arg_fail(2)) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (bool)(arg1
)->Close(arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25211 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxWindow
*arg1
= (wxWindow
*) 0 ;
25215 PyObject
* obj0
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25222 if (SWIG_arg_fail(1)) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (bool)(arg1
)->Destroy();
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25239 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxWindow
*arg1
= (wxWindow
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25250 if (SWIG_arg_fail(1)) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (bool)(arg1
)->DestroyChildren();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25267 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
;
25269 wxWindow
*arg1
= (wxWindow
*) 0 ;
25271 PyObject
* obj0
= 0 ;
25272 char *kwnames
[] = {
25273 (char *) "self", NULL
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25278 if (SWIG_arg_fail(1)) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25295 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxWindow
*arg1
= (wxWindow
*) 0 ;
25298 wxString
*arg2
= 0 ;
25299 bool temp2
= false ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self",(char *) "title", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 arg2
= wxString_in_helper(obj1
);
25311 if (arg2
== NULL
) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 (arg1
)->SetTitle((wxString
const &)*arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxWindow
*arg1
= (wxWindow
*) 0 ;
25340 PyObject
* obj0
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25347 if (SWIG_arg_fail(1)) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= ((wxWindow
const *)arg1
)->GetTitle();
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25368 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxWindow
*arg1
= (wxWindow
*) 0 ;
25371 wxString
*arg2
= 0 ;
25372 bool temp2
= false ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self",(char *) "label", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25381 if (SWIG_arg_fail(1)) SWIG_fail
;
25383 arg2
= wxString_in_helper(obj1
);
25384 if (arg2
== NULL
) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 (arg1
)->SetLabel((wxString
const &)*arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxWindow
*arg1
= (wxWindow
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25420 if (SWIG_arg_fail(1)) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= ((wxWindow
const *)arg1
)->GetLabel();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25441 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxWindow
*arg1
= (wxWindow
*) 0 ;
25444 wxString
*arg2
= 0 ;
25445 bool temp2
= false ;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self",(char *) "name", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail
;
25456 arg2
= wxString_in_helper(obj1
);
25457 if (arg2
== NULL
) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 (arg1
)->SetName((wxString
const &)*arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25482 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxWindow
*arg1
= (wxWindow
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= ((wxWindow
const *)arg1
)->GetName();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25514 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 wxWindowVariant arg2
;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self",(char *) "variant", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25528 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25529 if (SWIG_arg_fail(2)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25548 wxWindowVariant result
;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_From_int((result
));
25571 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
;
25573 wxWindow
*arg1
= (wxWindow
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char *kwnames
[] = {
25578 (char *) "self",(char *) "winid", NULL
25581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25583 if (SWIG_arg_fail(1)) SWIG_fail
;
25585 arg2
= (int)(SWIG_As_int(obj1
));
25586 if (SWIG_arg_fail(2)) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 (arg1
)->SetId(arg2
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 Py_INCREF(Py_None
); resultobj
= Py_None
;
25602 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxWindow
*arg1
= (wxWindow
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25613 if (SWIG_arg_fail(1)) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (int)((wxWindow
const *)arg1
)->GetId();
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_From_int((int)(result
));
25630 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25633 char *kwnames
[] = {
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (int)wxWindow::NewControlId();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_From_int((int)(result
));
25654 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "winid", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25665 arg1
= (int)(SWIG_As_int(obj0
));
25666 if (SWIG_arg_fail(1)) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (int)wxWindow::NextControlId(arg1
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_From_int((int)(result
));
25684 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
;
25688 PyObject
* obj0
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "winid", NULL
25693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25695 arg1
= (int)(SWIG_As_int(obj0
));
25696 if (SWIG_arg_fail(1)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (int)wxWindow::PrevControlId(arg1
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_From_int((int)(result
));
25714 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "size", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25727 if (SWIG_arg_fail(1)) SWIG_fail
;
25730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 (arg1
)->SetSize((wxSize
const &)*arg2
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 Py_INCREF(Py_None
); resultobj
= Py_None
;
25746 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxWindow
*arg1
= (wxWindow
*) 0 ;
25753 int arg6
= (int) wxSIZE_AUTO
;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 PyObject
* obj2
= 0 ;
25757 PyObject
* obj3
= 0 ;
25758 PyObject
* obj4
= 0 ;
25759 PyObject
* obj5
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25766 if (SWIG_arg_fail(1)) SWIG_fail
;
25768 arg2
= (int)(SWIG_As_int(obj1
));
25769 if (SWIG_arg_fail(2)) SWIG_fail
;
25772 arg3
= (int)(SWIG_As_int(obj2
));
25773 if (SWIG_arg_fail(3)) SWIG_fail
;
25776 arg4
= (int)(SWIG_As_int(obj3
));
25777 if (SWIG_arg_fail(4)) SWIG_fail
;
25780 arg5
= (int)(SWIG_As_int(obj4
));
25781 if (SWIG_arg_fail(5)) SWIG_fail
;
25785 arg6
= (int)(SWIG_As_int(obj5
));
25786 if (SWIG_arg_fail(6)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 Py_INCREF(Py_None
); resultobj
= Py_None
;
25803 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
;
25805 wxWindow
*arg1
= (wxWindow
*) 0 ;
25807 int arg3
= (int) wxSIZE_AUTO
;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 PyObject
* obj2
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail
;
25821 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25825 arg3
= (int)(SWIG_As_int(obj2
));
25826 if (SWIG_arg_fail(3)) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 Py_INCREF(Py_None
); resultobj
= Py_None
;
25843 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxWindow
*arg1
= (wxWindow
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 PyObject
* obj2
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "width",(char *) "height", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25859 arg2
= (int)(SWIG_As_int(obj1
));
25860 if (SWIG_arg_fail(2)) SWIG_fail
;
25863 arg3
= (int)(SWIG_As_int(obj2
));
25864 if (SWIG_arg_fail(3)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 (arg1
)->SetSize(arg2
,arg3
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 Py_INCREF(Py_None
); resultobj
= Py_None
;
25880 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxWindow
*arg1
= (wxWindow
*) 0 ;
25883 wxPoint
*arg2
= 0 ;
25884 int arg3
= (int) wxSIZE_USE_EXISTING
;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 PyObject
* obj2
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "pt",(char *) "flags", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail
;
25898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25902 arg3
= (int)(SWIG_As_int(obj2
));
25903 if (SWIG_arg_fail(3)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 Py_INCREF(Py_None
); resultobj
= Py_None
;
25920 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxWindow
*arg1
= (wxWindow
*) 0 ;
25925 int arg4
= (int) wxSIZE_USE_EXISTING
;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 PyObject
* obj2
= 0 ;
25929 PyObject
* obj3
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25936 if (SWIG_arg_fail(1)) SWIG_fail
;
25938 arg2
= (int)(SWIG_As_int(obj1
));
25939 if (SWIG_arg_fail(2)) SWIG_fail
;
25942 arg3
= (int)(SWIG_As_int(obj2
));
25943 if (SWIG_arg_fail(3)) SWIG_fail
;
25947 arg4
= (int)(SWIG_As_int(obj3
));
25948 if (SWIG_arg_fail(4)) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->Move(arg2
,arg3
,arg4
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxWindow
*arg1
= (wxWindow
*) 0 ;
25968 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25969 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "size", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25979 if (SWIG_arg_fail(1)) SWIG_fail
;
25983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
26000 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26010 if (SWIG_arg_fail(1)) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 Py_INCREF(Py_None
); resultobj
= Py_None
;
26025 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxWindow
*arg1
= (wxWindow
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26035 if (SWIG_arg_fail(1)) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxWindow
*arg1
= (wxWindow
*) 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "size", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(1)) SWIG_fail
;
26066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 Py_INCREF(Py_None
); resultobj
= Py_None
;
26082 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxWindow
*arg1
= (wxWindow
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "width",(char *) "height", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26096 if (SWIG_arg_fail(1)) SWIG_fail
;
26098 arg2
= (int)(SWIG_As_int(obj1
));
26099 if (SWIG_arg_fail(2)) SWIG_fail
;
26102 arg3
= (int)(SWIG_As_int(obj2
));
26103 if (SWIG_arg_fail(3)) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 (arg1
)->SetClientSize(arg2
,arg3
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 Py_INCREF(Py_None
); resultobj
= Py_None
;
26119 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxWindow
*arg1
= (wxWindow
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self",(char *) "rect", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail
;
26135 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 Py_INCREF(Py_None
); resultobj
= Py_None
;
26151 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxWindow
*arg1
= (wxWindow
*) 0 ;
26155 PyObject
* obj0
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 result
= (arg1
)->GetPosition();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 wxPoint
* resultptr
;
26172 resultptr
= new wxPoint((wxPoint
&)(result
));
26173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26181 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxWindow
*arg1
= (wxWindow
*) 0 ;
26184 int *arg2
= (int *) 0 ;
26185 int *arg3
= (int *) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26196 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 (arg1
)->GetPosition(arg2
,arg3
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 Py_INCREF(Py_None
); resultobj
= Py_None
;
26208 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26209 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26210 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26211 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26218 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxWindow
*arg1
= (wxWindow
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26229 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= ((wxWindow
const *)arg1
)->GetSize();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 wxSize
* resultptr
;
26239 resultptr
= new wxSize((wxSize
&)(result
));
26240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26248 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxWindow
*arg1
= (wxWindow
*) 0 ;
26251 int *arg2
= (int *) 0 ;
26252 int *arg3
= (int *) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26263 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26266 if (SWIG_arg_fail(1)) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26276 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26277 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26278 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26285 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
;
26287 wxWindow
*arg1
= (wxWindow
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 result
= ((wxWindow
const *)arg1
)->GetRect();
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26305 wxRect
* resultptr
;
26306 resultptr
= new wxRect((wxRect
&)(result
));
26307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26315 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxWindow
*arg1
= (wxWindow
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 wxSize
* resultptr
;
26336 resultptr
= new wxSize((wxSize
&)(result
));
26337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26345 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxWindow
*arg1
= (wxWindow
*) 0 ;
26348 int *arg2
= (int *) 0 ;
26349 int *arg3
= (int *) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self", NULL
26359 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26360 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26363 if (SWIG_arg_fail(1)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 Py_INCREF(Py_None
); resultobj
= Py_None
;
26372 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26373 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26374 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26375 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26382 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxWindow
*arg1
= (wxWindow
*) 0 ;
26386 PyObject
* obj0
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail
;
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26402 wxPoint
* resultptr
;
26403 resultptr
= new wxPoint((wxPoint
&)(result
));
26404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26412 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxWindow
*arg1
= (wxWindow
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26423 if (SWIG_arg_fail(1)) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26432 wxRect
* resultptr
;
26433 resultptr
= new wxRect((wxRect
&)(result
));
26434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26442 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
;
26444 wxWindow
*arg1
= (wxWindow
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26453 if (SWIG_arg_fail(1)) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26462 wxSize
* resultptr
;
26463 resultptr
= new wxSize((wxSize
&)(result
));
26464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26472 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxWindow
*arg1
= (wxWindow
*) 0 ;
26475 int *arg2
= (int *) 0 ;
26476 int *arg3
= (int *) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 char *kwnames
[] = {
26483 (char *) "self", NULL
26486 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26487 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail
;
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 Py_INCREF(Py_None
); resultobj
= Py_None
;
26499 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26500 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26501 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26502 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26509 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxWindow
*arg1
= (wxWindow
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26519 if (SWIG_arg_fail(1)) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->InvalidateBestSize();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxWindow
*arg1
= (wxWindow
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26545 if (SWIG_arg_fail(1)) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26554 wxSize
* resultptr
;
26555 resultptr
= new wxSize((wxSize
&)(result
));
26556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26564 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(1)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 wxSize
* resultptr
;
26585 resultptr
= new wxSize((wxSize
&)(result
));
26586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26594 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxWindow
*arg1
= (wxWindow
*) 0 ;
26597 int arg2
= (int) wxBOTH
;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self",(char *) "direction", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 arg2
= (int)(SWIG_As_int(obj1
));
26610 if (SWIG_arg_fail(2)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->Center(arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxWindow
*arg1
= (wxWindow
*) 0 ;
26630 int arg2
= (int) wxBOTH
;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self",(char *) "dir", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26639 if (SWIG_arg_fail(1)) SWIG_fail
;
26642 arg2
= (int)(SWIG_As_int(obj1
));
26643 if (SWIG_arg_fail(2)) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 (arg1
)->CenterOnScreen(arg2
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 Py_INCREF(Py_None
); resultobj
= Py_None
;
26660 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxWindow
*arg1
= (wxWindow
*) 0 ;
26663 int arg2
= (int) wxBOTH
;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 char *kwnames
[] = {
26667 (char *) "self",(char *) "dir", NULL
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26672 if (SWIG_arg_fail(1)) SWIG_fail
;
26675 arg2
= (int)(SWIG_As_int(obj1
));
26676 if (SWIG_arg_fail(2)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->CenterOnParent(arg2
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxWindow
*arg1
= (wxWindow
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 Py_INCREF(Py_None
); resultobj
= Py_None
;
26718 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
;
26720 wxWindow
*arg1
= (wxWindow
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26728 if (SWIG_arg_fail(1)) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->FitInside();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 Py_INCREF(Py_None
); resultobj
= Py_None
;
26743 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxWindow
*arg1
= (wxWindow
*) 0 ;
26748 int arg4
= (int) -1 ;
26749 int arg5
= (int) -1 ;
26750 int arg6
= (int) -1 ;
26751 int arg7
= (int) -1 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 PyObject
* obj2
= 0 ;
26755 PyObject
* obj3
= 0 ;
26756 PyObject
* obj4
= 0 ;
26757 PyObject
* obj5
= 0 ;
26758 PyObject
* obj6
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26765 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 arg2
= (int)(SWIG_As_int(obj1
));
26768 if (SWIG_arg_fail(2)) SWIG_fail
;
26771 arg3
= (int)(SWIG_As_int(obj2
));
26772 if (SWIG_arg_fail(3)) SWIG_fail
;
26776 arg4
= (int)(SWIG_As_int(obj3
));
26777 if (SWIG_arg_fail(4)) SWIG_fail
;
26782 arg5
= (int)(SWIG_As_int(obj4
));
26783 if (SWIG_arg_fail(5)) SWIG_fail
;
26788 arg6
= (int)(SWIG_As_int(obj5
));
26789 if (SWIG_arg_fail(6)) SWIG_fail
;
26794 arg7
= (int)(SWIG_As_int(obj6
));
26795 if (SWIG_arg_fail(7)) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 Py_INCREF(Py_None
); resultobj
= Py_None
;
26812 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxWindow
*arg1
= (wxWindow
*) 0 ;
26816 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26817 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 PyObject
* obj2
= 0 ;
26826 PyObject
* obj3
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26833 if (SWIG_arg_fail(1)) SWIG_fail
;
26836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 Py_INCREF(Py_None
); resultobj
= Py_None
;
26864 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxWindow
*arg1
= (wxWindow
*) 0 ;
26869 int arg4
= (int) -1 ;
26870 int arg5
= (int) -1 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 PyObject
* obj3
= 0 ;
26875 PyObject
* obj4
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26884 arg2
= (int)(SWIG_As_int(obj1
));
26885 if (SWIG_arg_fail(2)) SWIG_fail
;
26888 arg3
= (int)(SWIG_As_int(obj2
));
26889 if (SWIG_arg_fail(3)) SWIG_fail
;
26893 arg4
= (int)(SWIG_As_int(obj3
));
26894 if (SWIG_arg_fail(4)) SWIG_fail
;
26899 arg5
= (int)(SWIG_As_int(obj4
));
26900 if (SWIG_arg_fail(5)) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 Py_INCREF(Py_None
); resultobj
= Py_None
;
26917 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26921 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26922 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 PyObject
* obj2
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26934 if (SWIG_arg_fail(1)) SWIG_fail
;
26937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26942 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 Py_INCREF(Py_None
); resultobj
= Py_None
;
26959 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 wxSize
* resultptr
;
26980 resultptr
= new wxSize((wxSize
&)(result
));
26981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26989 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxWindow
*arg1
= (wxWindow
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 wxSize
* resultptr
;
27010 resultptr
= new wxSize((wxSize
&)(result
));
27011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27019 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxWindow
*arg1
= (wxWindow
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "minSize", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27035 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 Py_INCREF(Py_None
); resultobj
= Py_None
;
27051 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxWindow
*arg1
= (wxWindow
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "maxSize", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27064 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxWindow
*arg1
= (wxWindow
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27094 if (SWIG_arg_fail(1)) SWIG_fail
;
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_From_int((int)(result
));
27111 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxWindow
*arg1
= (wxWindow
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "self", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27122 if (SWIG_arg_fail(1)) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= SWIG_From_int((int)(result
));
27139 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxWindow
*arg1
= (wxWindow
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(1)) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_From_int((int)(result
));
27167 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxWindow
*arg1
= (wxWindow
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27178 if (SWIG_arg_fail(1)) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_From_int((int)(result
));
27195 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxWindow
*arg1
= (wxWindow
*) 0 ;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self",(char *) "size", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail
;
27211 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 Py_INCREF(Py_None
); resultobj
= Py_None
;
27227 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxWindow
*arg1
= (wxWindow
*) 0 ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 PyObject
* obj2
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "w",(char *) "h", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27241 if (SWIG_arg_fail(1)) SWIG_fail
;
27243 arg2
= (int)(SWIG_As_int(obj1
));
27244 if (SWIG_arg_fail(2)) SWIG_fail
;
27247 arg3
= (int)(SWIG_As_int(obj2
));
27248 if (SWIG_arg_fail(3)) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 (arg1
)->SetVirtualSize(arg2
,arg3
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 Py_INCREF(Py_None
); resultobj
= Py_None
;
27264 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 wxSize
* resultptr
;
27285 resultptr
= new wxSize((wxSize
&)(result
));
27286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27294 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxWindow
*arg1
= (wxWindow
*) 0 ;
27297 int *arg2
= (int *) 0 ;
27298 int *arg3
= (int *) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self", NULL
27308 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27309 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27312 if (SWIG_arg_fail(1)) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27322 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27323 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27324 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27331 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxWindow
*arg1
= (wxWindow
*) 0 ;
27335 PyObject
* obj0
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27351 wxSize
* resultptr
;
27352 resultptr
= new wxSize((wxSize
&)(result
));
27353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27361 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxWindow
*arg1
= (wxWindow
*) 0 ;
27364 bool arg2
= (bool) true ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "show", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail
;
27377 arg2
= (bool)(SWIG_As_bool(obj1
));
27378 if (SWIG_arg_fail(2)) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (bool)(arg1
)->Show(arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27397 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->Hide();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27425 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27428 bool arg2
= (bool) true ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "enable", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail
;
27441 arg2
= (bool)(SWIG_As_bool(obj1
));
27442 if (SWIG_arg_fail(2)) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (bool)(arg1
)->Enable(arg2
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27461 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 PyObject
* obj0
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (bool)(arg1
)->Disable();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27489 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27517 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27545 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxWindow
*arg1
= (wxWindow
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self",(char *) "style", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27557 if (SWIG_arg_fail(1)) SWIG_fail
;
27559 arg2
= (long)(SWIG_As_long(obj1
));
27560 if (SWIG_arg_fail(2)) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 (arg1
)->SetWindowStyleFlag(arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 Py_INCREF(Py_None
); resultobj
= Py_None
;
27576 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxWindow
*arg1
= (wxWindow
*) 0 ;
27580 PyObject
* obj0
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27587 if (SWIG_arg_fail(1)) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_From_long((long)(result
));
27604 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxWindow
*arg1
= (wxWindow
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self",(char *) "flag", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27617 if (SWIG_arg_fail(1)) SWIG_fail
;
27619 arg2
= (int)(SWIG_As_int(obj1
));
27620 if (SWIG_arg_fail(2)) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27638 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxWindow
*arg1
= (wxWindow
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27649 if (SWIG_arg_fail(1)) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27666 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "exStyle", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27678 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 arg2
= (long)(SWIG_As_long(obj1
));
27681 if (SWIG_arg_fail(2)) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 (arg1
)->SetExtraStyle(arg2
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_From_long((long)(result
));
27725 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27728 bool arg2
= (bool) true ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "modal", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail
;
27740 arg2
= (bool)(SWIG_As_bool(obj1
));
27741 if (SWIG_arg_fail(2)) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->MakeModal(arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxWindow
*arg1
= (wxWindow
*) 0 ;
27762 PyObject
* obj0
= 0 ;
27763 PyObject
* obj1
= 0 ;
27764 char *kwnames
[] = {
27765 (char *) "self",(char *) "enableTheme", NULL
27768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27770 if (SWIG_arg_fail(1)) SWIG_fail
;
27772 arg2
= (bool)(SWIG_As_bool(obj1
));
27773 if (SWIG_arg_fail(2)) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 (arg1
)->SetThemeEnabled(arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 Py_INCREF(Py_None
); resultobj
= Py_None
;
27789 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27793 PyObject
* obj0
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27800 if (SWIG_arg_fail(1)) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27817 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxWindow
*arg1
= (wxWindow
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27827 if (SWIG_arg_fail(1)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->SetFocus();
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 Py_INCREF(Py_None
); resultobj
= Py_None
;
27842 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxWindow
*arg1
= (wxWindow
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27852 if (SWIG_arg_fail(1)) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->SetFocusFromKbd();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27870 char *kwnames
[] = {
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27876 if (!wxPyCheckForApp()) SWIG_fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (wxWindow
*)wxWindow::FindFocus();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= wxPyMake_wxObject(result
, 0);
27892 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxWindow
*arg1
= (wxWindow
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27920 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 PyObject
* obj0
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "self", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27931 if (SWIG_arg_fail(1)) SWIG_fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27948 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxWindow
*arg1
= (wxWindow
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= wxPyMake_wxObject(result
, 0);
27976 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxWindow
*arg1
= (wxWindow
*) 0 ;
27979 wxWindow
*arg2
= (wxWindow
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self",(char *) "child", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27989 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27991 if (SWIG_arg_fail(2)) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= wxPyMake_wxObject(result
, 0);
28008 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxWindow
*arg1
= (wxWindow
*) 0 ;
28011 wxWindow
*arg2
= (wxWindow
*) 0 ;
28012 PyObject
* obj0
= 0 ;
28013 PyObject
* obj1
= 0 ;
28014 char *kwnames
[] = {
28015 (char *) "self",(char *) "win", NULL
28018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28020 if (SWIG_arg_fail(1)) SWIG_fail
;
28021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28022 if (SWIG_arg_fail(2)) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 (arg1
)->SetTmpDefaultItem(arg2
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 Py_INCREF(Py_None
); resultobj
= Py_None
;
28037 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxWindow
*arg1
= (wxWindow
*) 0 ;
28040 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 char *kwnames
[] = {
28045 (char *) "self",(char *) "flags", NULL
28048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28050 if (SWIG_arg_fail(1)) SWIG_fail
;
28053 arg2
= (int)(SWIG_As_int(obj1
));
28054 if (SWIG_arg_fail(2)) SWIG_fail
;
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (bool)(arg1
)->Navigate(arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28073 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
;
28075 wxWindow
*arg1
= (wxWindow
*) 0 ;
28076 wxWindow
*arg2
= (wxWindow
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 PyObject
* obj1
= 0 ;
28079 char *kwnames
[] = {
28080 (char *) "self",(char *) "win", NULL
28083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28085 if (SWIG_arg_fail(1)) SWIG_fail
;
28086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28087 if (SWIG_arg_fail(2)) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 (arg1
)->MoveAfterInTabOrder(arg2
);
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 Py_INCREF(Py_None
); resultobj
= Py_None
;
28102 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxWindow
*arg1
= (wxWindow
*) 0 ;
28105 wxWindow
*arg2
= (wxWindow
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self",(char *) "win", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28114 if (SWIG_arg_fail(1)) SWIG_fail
;
28115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28116 if (SWIG_arg_fail(2)) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->MoveBeforeInTabOrder(arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 Py_INCREF(Py_None
); resultobj
= Py_None
;
28131 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxWindow
*arg1
= (wxWindow
*) 0 ;
28135 PyObject
* obj0
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28142 if (SWIG_arg_fail(1)) SWIG_fail
;
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= result
;
28157 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
;
28159 wxWindow
*arg1
= (wxWindow
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28168 if (SWIG_arg_fail(1)) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= wxPyMake_wxObject(result
, 0);
28185 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxWindow
*arg1
= (wxWindow
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= wxPyMake_wxObject(result
, 0);
28213 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 PyObject
* obj0
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28224 if (SWIG_arg_fail(1)) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28241 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxWindow
*arg1
= (wxWindow
*) 0 ;
28244 wxWindow
*arg2
= (wxWindow
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self",(char *) "newParent", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28256 if (SWIG_arg_fail(2)) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (bool)(arg1
)->Reparent(arg2
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28273 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxWindow
*arg1
= (wxWindow
*) 0 ;
28276 wxWindow
*arg2
= (wxWindow
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self",(char *) "child", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28285 if (SWIG_arg_fail(1)) SWIG_fail
;
28286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28287 if (SWIG_arg_fail(2)) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->AddChild(arg2
);
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 Py_INCREF(Py_None
); resultobj
= Py_None
;
28302 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxWindow
*arg1
= (wxWindow
*) 0 ;
28305 wxWindow
*arg2
= (wxWindow
*) 0 ;
28306 PyObject
* obj0
= 0 ;
28307 PyObject
* obj1
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self",(char *) "child", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28314 if (SWIG_arg_fail(1)) SWIG_fail
;
28315 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28316 if (SWIG_arg_fail(2)) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 (arg1
)->RemoveChild(arg2
);
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 Py_INCREF(Py_None
); resultobj
= Py_None
;
28331 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
;
28333 wxWindow
*arg1
= (wxWindow
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 PyObject
* obj1
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "winid", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28346 arg2
= (long)(SWIG_As_long(obj1
));
28347 if (SWIG_arg_fail(2)) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= wxPyMake_wxObject(result
, 0);
28365 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxWindow
*arg1
= (wxWindow
*) 0 ;
28368 wxString
*arg2
= 0 ;
28370 bool temp2
= false ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "name", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(1)) SWIG_fail
;
28381 arg2
= wxString_in_helper(obj1
);
28382 if (arg2
== NULL
) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= wxPyMake_wxObject(result
, 0);
28409 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxWindow
*arg1
= (wxWindow
*) 0 ;
28412 wxEvtHandler
*result
;
28413 PyObject
* obj0
= 0 ;
28414 char *kwnames
[] = {
28415 (char *) "self", NULL
28418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= wxPyMake_wxObject(result
, 0);
28437 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxWindow
*arg1
= (wxWindow
*) 0 ;
28440 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "handler", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28451 if (SWIG_arg_fail(2)) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->SetEventHandler(arg2
);
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28466 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
;
28468 wxWindow
*arg1
= (wxWindow
*) 0 ;
28469 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "handler", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28478 if (SWIG_arg_fail(1)) SWIG_fail
;
28479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28480 if (SWIG_arg_fail(2)) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 (arg1
)->PushEventHandler(arg2
);
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 Py_INCREF(Py_None
); resultobj
= Py_None
;
28495 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxWindow
*arg1
= (wxWindow
*) 0 ;
28498 bool arg2
= (bool) false ;
28499 wxEvtHandler
*result
;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "deleteHandler", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28508 if (SWIG_arg_fail(1)) SWIG_fail
;
28511 arg2
= (bool)(SWIG_As_bool(obj1
));
28512 if (SWIG_arg_fail(2)) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= wxPyMake_wxObject(result
, 0);
28531 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxWindow
*arg1
= (wxWindow
*) 0 ;
28534 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self",(char *) "handler", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28544 if (SWIG_arg_fail(1)) SWIG_fail
;
28545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28546 if (SWIG_arg_fail(2)) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28563 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxWindow
*arg1
= (wxWindow
*) 0 ;
28566 wxValidator
*arg2
= 0 ;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self",(char *) "validator", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28575 if (SWIG_arg_fail(1)) SWIG_fail
;
28577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28578 if (SWIG_arg_fail(2)) SWIG_fail
;
28579 if (arg2
== NULL
) {
28580 SWIG_null_ref("wxValidator");
28582 if (SWIG_arg_fail(2)) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 Py_INCREF(Py_None
); resultobj
= Py_None
;
28598 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28599 PyObject
*resultobj
;
28600 wxWindow
*arg1
= (wxWindow
*) 0 ;
28601 wxValidator
*result
;
28602 PyObject
* obj0
= 0 ;
28603 char *kwnames
[] = {
28604 (char *) "self", NULL
28607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (wxValidator
*)(arg1
)->GetValidator();
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= wxPyMake_wxObject(result
, 0);
28626 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxWindow
*arg1
= (wxWindow
*) 0 ;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail
;
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= (bool)(arg1
)->Validate();
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28654 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxWindow
*arg1
= (wxWindow
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (bool)(arg1
)->TransferDataToWindow();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28682 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxWindow
*arg1
= (wxWindow
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28693 if (SWIG_arg_fail(1)) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= (bool)(arg1
)->TransferDataFromWindow();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28710 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxWindow
*arg1
= (wxWindow
*) 0 ;
28713 PyObject
* obj0
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28720 if (SWIG_arg_fail(1)) SWIG_fail
;
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 (arg1
)->InitDialog();
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 Py_INCREF(Py_None
); resultobj
= Py_None
;
28735 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
;
28737 wxWindow
*arg1
= (wxWindow
*) 0 ;
28738 wxAcceleratorTable
*arg2
= 0 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "accel", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28747 if (SWIG_arg_fail(1)) SWIG_fail
;
28749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28751 if (arg2
== NULL
) {
28752 SWIG_null_ref("wxAcceleratorTable");
28754 if (SWIG_arg_fail(2)) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxWindow
*arg1
= (wxWindow
*) 0 ;
28773 wxAcceleratorTable
*result
;
28774 PyObject
* obj0
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28781 if (SWIG_arg_fail(1)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28796 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
;
28798 wxWindow
*arg1
= (wxWindow
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 PyObject
* obj3
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28813 if (SWIG_arg_fail(1)) SWIG_fail
;
28815 arg2
= (int)(SWIG_As_int(obj1
));
28816 if (SWIG_arg_fail(2)) SWIG_fail
;
28819 arg3
= (int)(SWIG_As_int(obj2
));
28820 if (SWIG_arg_fail(3)) SWIG_fail
;
28823 arg4
= (int)(SWIG_As_int(obj3
));
28824 if (SWIG_arg_fail(4)) SWIG_fail
;
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28828 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28842 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
;
28844 wxWindow
*arg1
= (wxWindow
*) 0 ;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self",(char *) "hotkeyId", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28855 if (SWIG_arg_fail(1)) SWIG_fail
;
28857 arg2
= (int)(SWIG_As_int(obj1
));
28858 if (SWIG_arg_fail(2)) SWIG_fail
;
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28876 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxWindow
*arg1
= (wxWindow
*) 0 ;
28879 wxPoint
*arg2
= 0 ;
28882 PyObject
* obj0
= 0 ;
28883 PyObject
* obj1
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "pt", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail
;
28893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 wxPoint
* resultptr
;
28904 resultptr
= new wxPoint((wxPoint
&)(result
));
28905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28913 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxWindow
*arg1
= (wxWindow
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "sz", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28927 if (SWIG_arg_fail(1)) SWIG_fail
;
28930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28940 wxSize
* resultptr
;
28941 resultptr
= new wxSize((wxSize
&)(result
));
28942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28950 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxWindow
*arg1
= (wxWindow
*) 0 ;
28953 wxPoint
*arg2
= 0 ;
28956 PyObject
* obj0
= 0 ;
28957 PyObject
* obj1
= 0 ;
28958 char *kwnames
[] = {
28959 (char *) "self",(char *) "pt", NULL
28962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28964 if (SWIG_arg_fail(1)) SWIG_fail
;
28967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28977 wxPoint
* resultptr
;
28978 resultptr
= new wxPoint((wxPoint
&)(result
));
28979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28987 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxWindow
*arg1
= (wxWindow
*) 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 char *kwnames
[] = {
28996 (char *) "self",(char *) "sz", NULL
28999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29001 if (SWIG_arg_fail(1)) SWIG_fail
;
29004 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 wxSize
* resultptr
;
29015 resultptr
= new wxSize((wxSize
&)(result
));
29016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29024 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxWindow
*arg1
= (wxWindow
*) 0 ;
29027 wxPoint
*arg2
= 0 ;
29030 PyObject
* obj0
= 0 ;
29031 PyObject
* obj1
= 0 ;
29032 char *kwnames
[] = {
29033 (char *) "self",(char *) "pt", NULL
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29038 if (SWIG_arg_fail(1)) SWIG_fail
;
29041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 wxPoint
* resultptr
;
29052 resultptr
= new wxPoint((wxPoint
&)(result
));
29053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29061 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxWindow
*arg1
= (wxWindow
*) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self",(char *) "sz", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29075 if (SWIG_arg_fail(1)) SWIG_fail
;
29078 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29088 wxSize
* resultptr
;
29089 resultptr
= new wxSize((wxSize
&)(result
));
29090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29098 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxWindow
*arg1
= (wxWindow
*) 0 ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 PyObject
* obj2
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self",(char *) "x",(char *) "y", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29112 if (SWIG_arg_fail(1)) SWIG_fail
;
29114 arg2
= (int)(SWIG_As_int(obj1
));
29115 if (SWIG_arg_fail(2)) SWIG_fail
;
29118 arg3
= (int)(SWIG_As_int(obj2
));
29119 if (SWIG_arg_fail(3)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->WarpPointer(arg2
,arg3
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29135 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxWindow
*arg1
= (wxWindow
*) 0 ;
29138 PyObject
* obj0
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29145 if (SWIG_arg_fail(1)) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 (arg1
)->CaptureMouse();
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 Py_INCREF(Py_None
); resultobj
= Py_None
;
29160 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxWindow
*arg1
= (wxWindow
*) 0 ;
29163 PyObject
* obj0
= 0 ;
29164 char *kwnames
[] = {
29165 (char *) "self", NULL
29168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29170 if (SWIG_arg_fail(1)) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 (arg1
)->ReleaseMouse();
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 Py_INCREF(Py_None
); resultobj
= Py_None
;
29185 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29186 PyObject
*resultobj
;
29188 char *kwnames
[] = {
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29194 if (!wxPyCheckForApp()) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (wxWindow
*)wxWindow::GetCapture();
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= wxPyMake_wxObject(result
, 0);
29210 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxWindow
*arg1
= (wxWindow
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29238 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxWindow
*arg1
= (wxWindow
*) 0 ;
29241 bool arg2
= (bool) true ;
29242 wxRect
*arg3
= (wxRect
*) NULL
;
29243 PyObject
* obj0
= 0 ;
29244 PyObject
* obj1
= 0 ;
29245 PyObject
* obj2
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29252 if (SWIG_arg_fail(1)) SWIG_fail
;
29255 arg2
= (bool)(SWIG_As_bool(obj1
));
29256 if (SWIG_arg_fail(2)) SWIG_fail
;
29260 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(3)) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 Py_INCREF(Py_None
); resultobj
= Py_None
;
29277 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
;
29279 wxWindow
*arg1
= (wxWindow
*) 0 ;
29281 bool arg3
= (bool) true ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29292 if (SWIG_arg_fail(1)) SWIG_fail
;
29295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29299 arg3
= (bool)(SWIG_As_bool(obj2
));
29300 if (SWIG_arg_fail(3)) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 Py_INCREF(Py_None
); resultobj
= Py_None
;
29317 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
;
29319 wxWindow
*arg1
= (wxWindow
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "self", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29327 if (SWIG_arg_fail(1)) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 Py_INCREF(Py_None
); resultobj
= Py_None
;
29342 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxWindow
*arg1
= (wxWindow
*) 0 ;
29345 PyObject
* obj0
= 0 ;
29346 char *kwnames
[] = {
29347 (char *) "self", NULL
29350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29352 if (SWIG_arg_fail(1)) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 (arg1
)->ClearBackground();
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 Py_INCREF(Py_None
); resultobj
= Py_None
;
29367 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxWindow
*arg1
= (wxWindow
*) 0 ;
29370 PyObject
* obj0
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "self", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29377 if (SWIG_arg_fail(1)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 Py_INCREF(Py_None
); resultobj
= Py_None
;
29392 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
;
29394 wxWindow
*arg1
= (wxWindow
*) 0 ;
29395 PyObject
* obj0
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29402 if (SWIG_arg_fail(1)) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 Py_INCREF(Py_None
); resultobj
= Py_None
;
29417 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
;
29419 wxWindow
*arg1
= (wxWindow
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self",(char *) "dc", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29429 if (SWIG_arg_fail(1)) SWIG_fail
;
29431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29432 if (SWIG_arg_fail(2)) SWIG_fail
;
29433 if (arg2
== NULL
) {
29434 SWIG_null_ref("wxDC");
29436 if (SWIG_arg_fail(2)) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 (arg1
)->PrepareDC(*arg2
);
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 Py_INCREF(Py_None
); resultobj
= Py_None
;
29452 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxWindow
*arg1
= (wxWindow
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29463 if (SWIG_arg_fail(1)) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29468 result
= (wxRegion
*) &_result_ref
;
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29481 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxWindow
*arg1
= (wxWindow
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29492 if (SWIG_arg_fail(1)) SWIG_fail
;
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29501 wxRect
* resultptr
;
29502 resultptr
= new wxRect((wxRect
&)(result
));
29503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29511 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxWindow
*arg1
= (wxWindow
*) 0 ;
29516 int arg4
= (int) 1 ;
29517 int arg5
= (int) 1 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 PyObject
* obj2
= 0 ;
29522 PyObject
* obj3
= 0 ;
29523 PyObject
* obj4
= 0 ;
29524 char *kwnames
[] = {
29525 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29530 if (SWIG_arg_fail(1)) SWIG_fail
;
29532 arg2
= (int)(SWIG_As_int(obj1
));
29533 if (SWIG_arg_fail(2)) SWIG_fail
;
29536 arg3
= (int)(SWIG_As_int(obj2
));
29537 if (SWIG_arg_fail(3)) SWIG_fail
;
29541 arg4
= (int)(SWIG_As_int(obj3
));
29542 if (SWIG_arg_fail(4)) SWIG_fail
;
29547 arg5
= (int)(SWIG_As_int(obj4
));
29548 if (SWIG_arg_fail(5)) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29567 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
;
29569 wxWindow
*arg1
= (wxWindow
*) 0 ;
29570 wxPoint
*arg2
= 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "pt", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29581 if (SWIG_arg_fail(1)) SWIG_fail
;
29584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29602 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
;
29604 wxWindow
*arg1
= (wxWindow
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 char *kwnames
[] = {
29611 (char *) "self",(char *) "rect", NULL
29614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29616 if (SWIG_arg_fail(1)) SWIG_fail
;
29619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29637 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxWindow
*arg1
= (wxWindow
*) 0 ;
29640 wxVisualAttributes result
;
29641 PyObject
* obj0
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(1)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 wxVisualAttributes
* resultptr
;
29658 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29667 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
;
29669 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29670 wxVisualAttributes result
;
29671 PyObject
* obj0
= 0 ;
29672 char *kwnames
[] = {
29673 (char *) "variant", NULL
29676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29679 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29680 if (SWIG_arg_fail(1)) SWIG_fail
;
29684 if (!wxPyCheckForApp()) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29692 wxVisualAttributes
* resultptr
;
29693 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29702 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxWindow
*arg1
= (wxWindow
*) 0 ;
29705 wxColour
*arg2
= 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 char *kwnames
[] = {
29711 (char *) "self",(char *) "colour", NULL
29714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29716 if (SWIG_arg_fail(1)) SWIG_fail
;
29719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29723 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29737 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
;
29739 wxWindow
*arg1
= (wxWindow
*) 0 ;
29740 wxColour
*arg2
= 0 ;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "colour", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29750 if (SWIG_arg_fail(1)) SWIG_fail
;
29753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 Py_INCREF(Py_None
); resultobj
= Py_None
;
29769 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29770 PyObject
*resultobj
;
29771 wxWindow
*arg1
= (wxWindow
*) 0 ;
29772 wxColour
*arg2
= 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self",(char *) "colour", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail
;
29786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29804 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxWindow
*arg1
= (wxWindow
*) 0 ;
29807 wxColour
*arg2
= 0 ;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self",(char *) "colour", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29817 if (SWIG_arg_fail(1)) SWIG_fail
;
29820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 Py_INCREF(Py_None
); resultobj
= Py_None
;
29836 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxWindow
*arg1
= (wxWindow
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 char *kwnames
[] = {
29842 (char *) "self", NULL
29845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29847 if (SWIG_arg_fail(1)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29856 wxColour
* resultptr
;
29857 resultptr
= new wxColour((wxColour
&)(result
));
29858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29866 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
;
29868 wxWindow
*arg1
= (wxWindow
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 char *kwnames
[] = {
29872 (char *) "self", NULL
29875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29877 if (SWIG_arg_fail(1)) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 wxColour
* resultptr
;
29887 resultptr
= new wxColour((wxColour
&)(result
));
29888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29896 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxWindow
*arg1
= (wxWindow
*) 0 ;
29900 PyObject
* obj0
= 0 ;
29901 char *kwnames
[] = {
29902 (char *) "self", NULL
29905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29907 if (SWIG_arg_fail(1)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29924 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxWindow
*arg1
= (wxWindow
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 char *kwnames
[] = {
29930 (char *) "self", NULL
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29935 if (SWIG_arg_fail(1)) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29952 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
;
29954 wxWindow
*arg1
= (wxWindow
*) 0 ;
29955 wxBackgroundStyle arg2
;
29957 PyObject
* obj0
= 0 ;
29958 PyObject
* obj1
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "style", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29965 if (SWIG_arg_fail(1)) SWIG_fail
;
29967 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29968 if (SWIG_arg_fail(2)) SWIG_fail
;
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29986 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
;
29988 wxWindow
*arg1
= (wxWindow
*) 0 ;
29989 wxBackgroundStyle result
;
29990 PyObject
* obj0
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "self", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29997 if (SWIG_arg_fail(1)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= SWIG_From_int((result
));
30012 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxWindow
*arg1
= (wxWindow
*) 0 ;
30016 PyObject
* obj0
= 0 ;
30017 char *kwnames
[] = {
30018 (char *) "self", NULL
30021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30023 if (SWIG_arg_fail(1)) SWIG_fail
;
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 result
= (bool)(arg1
)->HasTransparentBackground();
30028 wxPyEndAllowThreads(__tstate
);
30029 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30040 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxWindow
*arg1
= (wxWindow
*) 0 ;
30043 wxCursor
*arg2
= 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char *kwnames
[] = {
30048 (char *) "self",(char *) "cursor", NULL
30051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30053 if (SWIG_arg_fail(1)) SWIG_fail
;
30055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30056 if (SWIG_arg_fail(2)) SWIG_fail
;
30057 if (arg2
== NULL
) {
30058 SWIG_null_ref("wxCursor");
30060 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30078 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30079 PyObject
*resultobj
;
30080 wxWindow
*arg1
= (wxWindow
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 char *kwnames
[] = {
30084 (char *) "self", NULL
30087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30089 if (SWIG_arg_fail(1)) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (arg1
)->GetCursor();
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30098 wxCursor
* resultptr
;
30099 resultptr
= new wxCursor((wxCursor
&)(result
));
30100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30108 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "font", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail
;
30123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30124 if (SWIG_arg_fail(2)) SWIG_fail
;
30125 if (arg2
== NULL
) {
30126 SWIG_null_ref("wxFont");
30128 if (SWIG_arg_fail(2)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30146 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxWindow
*arg1
= (wxWindow
*) 0 ;
30150 PyObject
* obj0
= 0 ;
30151 PyObject
* obj1
= 0 ;
30152 char *kwnames
[] = {
30153 (char *) "self",(char *) "font", NULL
30156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30158 if (SWIG_arg_fail(1)) SWIG_fail
;
30160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30161 if (SWIG_arg_fail(2)) SWIG_fail
;
30162 if (arg2
== NULL
) {
30163 SWIG_null_ref("wxFont");
30165 if (SWIG_arg_fail(2)) SWIG_fail
;
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 Py_INCREF(Py_None
); resultobj
= Py_None
;
30181 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30182 PyObject
*resultobj
;
30183 wxWindow
*arg1
= (wxWindow
*) 0 ;
30185 PyObject
* obj0
= 0 ;
30186 char *kwnames
[] = {
30187 (char *) "self", NULL
30190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30192 if (SWIG_arg_fail(1)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (arg1
)->GetFont();
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30201 wxFont
* resultptr
;
30202 resultptr
= new wxFont((wxFont
&)(result
));
30203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30211 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxWindow
*arg1
= (wxWindow
*) 0 ;
30214 wxCaret
*arg2
= (wxCaret
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 PyObject
* obj1
= 0 ;
30217 char *kwnames
[] = {
30218 (char *) "self",(char *) "caret", NULL
30221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30223 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 (arg1
)->SetCaret(arg2
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 Py_INCREF(Py_None
); resultobj
= Py_None
;
30240 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxWindow
*arg1
= (wxWindow
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30251 if (SWIG_arg_fail(1)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30266 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxWindow
*arg1
= (wxWindow
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30277 if (SWIG_arg_fail(1)) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_From_int((int)(result
));
30294 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxWindow
*arg1
= (wxWindow
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_From_int((int)(result
));
30322 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
;
30324 wxWindow
*arg1
= (wxWindow
*) 0 ;
30325 wxString
*arg2
= 0 ;
30326 int *arg3
= (int *) 0 ;
30327 int *arg4
= (int *) 0 ;
30328 bool temp2
= false ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "string", NULL
30339 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30340 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30343 if (SWIG_arg_fail(1)) SWIG_fail
;
30345 arg2
= wxString_in_helper(obj1
);
30346 if (arg2
== NULL
) SWIG_fail
;
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 Py_INCREF(Py_None
); resultobj
= Py_None
;
30357 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30358 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30359 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30360 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30375 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxWindow
*arg1
= (wxWindow
*) 0 ;
30378 wxString
*arg2
= 0 ;
30379 int *arg3
= (int *) 0 ;
30380 int *arg4
= (int *) 0 ;
30381 int *arg5
= (int *) 0 ;
30382 int *arg6
= (int *) 0 ;
30383 wxFont
*arg7
= (wxFont
*) NULL
;
30384 bool temp2
= false ;
30393 PyObject
* obj0
= 0 ;
30394 PyObject
* obj1
= 0 ;
30395 PyObject
* obj2
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "string",(char *) "font", NULL
30400 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30401 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30402 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30403 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30406 if (SWIG_arg_fail(1)) SWIG_fail
;
30408 arg2
= wxString_in_helper(obj1
);
30409 if (arg2
== NULL
) SWIG_fail
;
30413 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(7)) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 Py_INCREF(Py_None
); resultobj
= Py_None
;
30424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30425 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30426 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30427 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30428 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30429 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30430 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30431 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30446 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
;
30448 wxWindow
*arg1
= (wxWindow
*) 0 ;
30449 int *arg2
= (int *) 0 ;
30450 int *arg3
= (int *) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 PyObject
* obj2
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self",(char *) "x",(char *) "y", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30464 if (SWIG_arg_fail(1)) SWIG_fail
;
30466 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30467 temp2
= SWIG_As_int(obj1
);
30468 if (SWIG_arg_fail(2)) SWIG_fail
;
30470 res2
= SWIG_NEWOBJ
;
30474 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30475 temp3
= SWIG_As_int(obj2
);
30476 if (SWIG_arg_fail(3)) SWIG_fail
;
30478 res3
= SWIG_NEWOBJ
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30489 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30490 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30491 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30492 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30499 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
;
30501 wxWindow
*arg1
= (wxWindow
*) 0 ;
30502 int *arg2
= (int *) 0 ;
30503 int *arg3
= (int *) 0 ;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 PyObject
* obj2
= 0 ;
30511 char *kwnames
[] = {
30512 (char *) "self",(char *) "x",(char *) "y", NULL
30515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30517 if (SWIG_arg_fail(1)) SWIG_fail
;
30519 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30520 temp2
= SWIG_As_int(obj1
);
30521 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 res2
= SWIG_NEWOBJ
;
30527 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30528 temp3
= SWIG_As_int(obj2
);
30529 if (SWIG_arg_fail(3)) SWIG_fail
;
30531 res3
= SWIG_NEWOBJ
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 Py_INCREF(Py_None
); resultobj
= Py_None
;
30542 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30543 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30544 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30545 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30552 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxWindow
*arg1
= (wxWindow
*) 0 ;
30555 wxPoint
*arg2
= 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self",(char *) "pt", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30566 if (SWIG_arg_fail(1)) SWIG_fail
;
30569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30579 wxPoint
* resultptr
;
30580 resultptr
= new wxPoint((wxPoint
&)(result
));
30581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30589 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30591 wxWindow
*arg1
= (wxWindow
*) 0 ;
30592 wxPoint
*arg2
= 0 ;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "pt", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail
;
30606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 wxPoint
* resultptr
;
30617 resultptr
= new wxPoint((wxPoint
&)(result
));
30618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30626 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
;
30628 wxWindow
*arg1
= (wxWindow
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 PyObject
* obj1
= 0 ;
30634 PyObject
* obj2
= 0 ;
30635 char *kwnames
[] = {
30636 (char *) "self",(char *) "x",(char *) "y", NULL
30639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30641 if (SWIG_arg_fail(1)) SWIG_fail
;
30643 arg2
= (int)(SWIG_As_int(obj1
));
30644 if (SWIG_arg_fail(2)) SWIG_fail
;
30647 arg3
= (int)(SWIG_As_int(obj2
));
30648 if (SWIG_arg_fail(3)) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_From_int((result
));
30664 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxWindow
*arg1
= (wxWindow
*) 0 ;
30667 wxPoint
*arg2
= 0 ;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 char *kwnames
[] = {
30673 (char *) "self",(char *) "pt", NULL
30676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30678 if (SWIG_arg_fail(1)) SWIG_fail
;
30681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30685 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30687 wxPyEndAllowThreads(__tstate
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 resultobj
= SWIG_From_int((result
));
30697 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30698 PyObject
*resultobj
;
30699 wxWindow
*arg1
= (wxWindow
*) 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30705 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30707 if (SWIG_arg_fail(1)) SWIG_fail
;
30709 arg2
= (long)(SWIG_As_long(obj1
));
30710 if (SWIG_arg_fail(2)) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_From_int((result
));
30726 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30727 PyObject
*resultobj
;
30728 wxWindow
*arg1
= (wxWindow
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30732 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30734 if (SWIG_arg_fail(1)) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_From_int((result
));
30749 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30754 argc
= PyObject_Length(args
);
30755 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30756 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30770 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30777 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30785 _v
= SWIG_Check_long(argv
[1]);
30787 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30792 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30797 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
;
30799 wxWindow
*arg1
= (wxWindow
*) 0 ;
30800 long arg2
= (long) wxUPDATE_UI_NONE
;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "flags", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30809 if (SWIG_arg_fail(1)) SWIG_fail
;
30812 arg2
= (long)(SWIG_As_long(obj1
));
30813 if (SWIG_arg_fail(2)) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 (arg1
)->UpdateWindowUI(arg2
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 Py_INCREF(Py_None
); resultobj
= Py_None
;
30830 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxWindow
*arg1
= (wxWindow
*) 0 ;
30833 wxMenu
*arg2
= (wxMenu
*) 0 ;
30834 int arg3
= (int) -1 ;
30835 int arg4
= (int) -1 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 PyObject
* obj2
= 0 ;
30840 PyObject
* obj3
= 0 ;
30841 char *kwnames
[] = {
30842 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30847 if (SWIG_arg_fail(1)) SWIG_fail
;
30848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30849 if (SWIG_arg_fail(2)) SWIG_fail
;
30852 arg3
= (int)(SWIG_As_int(obj2
));
30853 if (SWIG_arg_fail(3)) SWIG_fail
;
30858 arg4
= (int)(SWIG_As_int(obj3
));
30859 if (SWIG_arg_fail(4)) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30878 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxWindow
*arg1
= (wxWindow
*) 0 ;
30881 wxMenu
*arg2
= (wxMenu
*) 0 ;
30882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 char *kwnames
[] = {
30890 (char *) "self",(char *) "menu",(char *) "pos", NULL
30893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30895 if (SWIG_arg_fail(1)) SWIG_fail
;
30896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30897 if (SWIG_arg_fail(2)) SWIG_fail
;
30901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30920 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxWindow
*arg1
= (wxWindow
*) 0 ;
30924 PyObject
* obj0
= 0 ;
30925 char *kwnames
[] = {
30926 (char *) "self", NULL
30929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30931 if (SWIG_arg_fail(1)) SWIG_fail
;
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 result
= (long)wxWindow_GetHandle(arg1
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_From_long((long)(result
));
30948 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
;
30950 wxWindow
*arg1
= (wxWindow
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char *kwnames
[] = {
30955 (char *) "self",(char *) "handle", NULL
30958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30960 if (SWIG_arg_fail(1)) SWIG_fail
;
30962 arg2
= (long)(SWIG_As_long(obj1
));
30963 if (SWIG_arg_fail(2)) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 wxWindow_AssociateHandle(arg1
,arg2
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 Py_INCREF(Py_None
); resultobj
= Py_None
;
30979 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
;
30981 wxWindow
*arg1
= (wxWindow
*) 0 ;
30982 PyObject
* obj0
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30989 if (SWIG_arg_fail(1)) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 (arg1
)->DissociateHandle();
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 Py_INCREF(Py_None
); resultobj
= Py_None
;
31004 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxWindow
*arg1
= (wxWindow
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 PyObject
* obj1
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self",(char *) "orient", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31017 if (SWIG_arg_fail(1)) SWIG_fail
;
31019 arg2
= (int)(SWIG_As_int(obj1
));
31020 if (SWIG_arg_fail(2)) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31038 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31039 PyObject
*resultobj
;
31040 wxWindow
*arg1
= (wxWindow
*) 0 ;
31045 bool arg6
= (bool) true ;
31046 PyObject
* obj0
= 0 ;
31047 PyObject
* obj1
= 0 ;
31048 PyObject
* obj2
= 0 ;
31049 PyObject
* obj3
= 0 ;
31050 PyObject
* obj4
= 0 ;
31051 PyObject
* obj5
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail
;
31060 arg2
= (int)(SWIG_As_int(obj1
));
31061 if (SWIG_arg_fail(2)) SWIG_fail
;
31064 arg3
= (int)(SWIG_As_int(obj2
));
31065 if (SWIG_arg_fail(3)) SWIG_fail
;
31068 arg4
= (int)(SWIG_As_int(obj3
));
31069 if (SWIG_arg_fail(4)) SWIG_fail
;
31072 arg5
= (int)(SWIG_As_int(obj4
));
31073 if (SWIG_arg_fail(5)) SWIG_fail
;
31077 arg6
= (bool)(SWIG_As_bool(obj5
));
31078 if (SWIG_arg_fail(6)) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 Py_INCREF(Py_None
); resultobj
= Py_None
;
31095 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31096 PyObject
*resultobj
;
31097 wxWindow
*arg1
= (wxWindow
*) 0 ;
31100 bool arg4
= (bool) true ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 PyObject
* obj2
= 0 ;
31104 PyObject
* obj3
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31111 if (SWIG_arg_fail(1)) SWIG_fail
;
31113 arg2
= (int)(SWIG_As_int(obj1
));
31114 if (SWIG_arg_fail(2)) SWIG_fail
;
31117 arg3
= (int)(SWIG_As_int(obj2
));
31118 if (SWIG_arg_fail(3)) SWIG_fail
;
31122 arg4
= (bool)(SWIG_As_bool(obj3
));
31123 if (SWIG_arg_fail(4)) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 Py_INCREF(Py_None
); resultobj
= Py_None
;
31140 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxWindow
*arg1
= (wxWindow
*) 0 ;
31145 PyObject
* obj0
= 0 ;
31146 PyObject
* obj1
= 0 ;
31147 char *kwnames
[] = {
31148 (char *) "self",(char *) "orientation", NULL
31151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31153 if (SWIG_arg_fail(1)) SWIG_fail
;
31155 arg2
= (int)(SWIG_As_int(obj1
));
31156 if (SWIG_arg_fail(2)) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_From_int((int)(result
));
31174 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
;
31176 wxWindow
*arg1
= (wxWindow
*) 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "orientation", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31187 if (SWIG_arg_fail(1)) SWIG_fail
;
31189 arg2
= (int)(SWIG_As_int(obj1
));
31190 if (SWIG_arg_fail(2)) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= SWIG_From_int((int)(result
));
31208 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxWindow
*arg1
= (wxWindow
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "orientation", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31221 if (SWIG_arg_fail(1)) SWIG_fail
;
31223 arg2
= (int)(SWIG_As_int(obj1
));
31224 if (SWIG_arg_fail(2)) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_From_int((int)(result
));
31242 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
;
31244 wxWindow
*arg1
= (wxWindow
*) 0 ;
31247 wxRect
*arg4
= (wxRect
*) NULL
;
31248 PyObject
* obj0
= 0 ;
31249 PyObject
* obj1
= 0 ;
31250 PyObject
* obj2
= 0 ;
31251 PyObject
* obj3
= 0 ;
31252 char *kwnames
[] = {
31253 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31258 if (SWIG_arg_fail(1)) SWIG_fail
;
31260 arg2
= (int)(SWIG_As_int(obj1
));
31261 if (SWIG_arg_fail(2)) SWIG_fail
;
31264 arg3
= (int)(SWIG_As_int(obj2
));
31265 if (SWIG_arg_fail(3)) SWIG_fail
;
31268 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31269 if (SWIG_arg_fail(4)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 Py_INCREF(Py_None
); resultobj
= Py_None
;
31285 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxWindow
*arg1
= (wxWindow
*) 0 ;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "lines", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31298 if (SWIG_arg_fail(1)) SWIG_fail
;
31300 arg2
= (int)(SWIG_As_int(obj1
));
31301 if (SWIG_arg_fail(2)) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 result
= (bool)(arg1
)->ScrollLines(arg2
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31319 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
;
31321 wxWindow
*arg1
= (wxWindow
*) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 char *kwnames
[] = {
31327 (char *) "self",(char *) "pages", NULL
31330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31332 if (SWIG_arg_fail(1)) SWIG_fail
;
31334 arg2
= (int)(SWIG_As_int(obj1
));
31335 if (SWIG_arg_fail(2)) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (bool)(arg1
)->ScrollPages(arg2
);
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31353 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
;
31355 wxWindow
*arg1
= (wxWindow
*) 0 ;
31357 PyObject
* obj0
= 0 ;
31358 char *kwnames
[] = {
31359 (char *) "self", NULL
31362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31364 if (SWIG_arg_fail(1)) SWIG_fail
;
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 result
= (bool)(arg1
)->LineUp();
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31381 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxWindow
*arg1
= (wxWindow
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31392 if (SWIG_arg_fail(1)) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 result
= (bool)(arg1
)->LineDown();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31409 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
;
31411 wxWindow
*arg1
= (wxWindow
*) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31420 if (SWIG_arg_fail(1)) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 result
= (bool)(arg1
)->PageUp();
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31437 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxWindow
*arg1
= (wxWindow
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31448 if (SWIG_arg_fail(1)) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 result
= (bool)(arg1
)->PageDown();
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31465 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxWindow
*arg1
= (wxWindow
*) 0 ;
31468 wxString
*arg2
= 0 ;
31469 bool temp2
= false ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char *kwnames
[] = {
31473 (char *) "self",(char *) "text", NULL
31476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31478 if (SWIG_arg_fail(1)) SWIG_fail
;
31480 arg2
= wxString_in_helper(obj1
);
31481 if (arg2
== NULL
) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 Py_INCREF(Py_None
); resultobj
= Py_None
;
31506 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
;
31508 wxWindow
*arg1
= (wxWindow
*) 0 ;
31509 wxString
*arg2
= 0 ;
31510 bool temp2
= false ;
31511 PyObject
* obj0
= 0 ;
31512 PyObject
* obj1
= 0 ;
31513 char *kwnames
[] = {
31514 (char *) "self",(char *) "text", NULL
31517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31519 if (SWIG_arg_fail(1)) SWIG_fail
;
31521 arg2
= wxString_in_helper(obj1
);
31522 if (arg2
== NULL
) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 Py_INCREF(Py_None
); resultobj
= Py_None
;
31547 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
;
31549 wxWindow
*arg1
= (wxWindow
*) 0 ;
31551 PyObject
* obj0
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31558 if (SWIG_arg_fail(1)) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31579 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
;
31581 wxWindow
*arg1
= (wxWindow
*) 0 ;
31582 wxString
*arg2
= 0 ;
31583 bool temp2
= false ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char *kwnames
[] = {
31587 (char *) "self",(char *) "tip", NULL
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31592 if (SWIG_arg_fail(1)) SWIG_fail
;
31594 arg2
= wxString_in_helper(obj1
);
31595 if (arg2
== NULL
) SWIG_fail
;
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 Py_INCREF(Py_None
); resultobj
= Py_None
;
31620 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
;
31622 wxWindow
*arg1
= (wxWindow
*) 0 ;
31623 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31624 PyObject
* obj0
= 0 ;
31625 PyObject
* obj1
= 0 ;
31626 char *kwnames
[] = {
31627 (char *) "self",(char *) "tip", NULL
31630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31632 if (SWIG_arg_fail(1)) SWIG_fail
;
31633 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31634 if (SWIG_arg_fail(2)) SWIG_fail
;
31636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 (arg1
)->SetToolTip(arg2
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 Py_INCREF(Py_None
); resultobj
= Py_None
;
31649 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31650 PyObject
*resultobj
;
31651 wxWindow
*arg1
= (wxWindow
*) 0 ;
31653 PyObject
* obj0
= 0 ;
31654 char *kwnames
[] = {
31655 (char *) "self", NULL
31658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31660 if (SWIG_arg_fail(1)) SWIG_fail
;
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31669 resultobj
= wxPyMake_wxObject(result
, 0);
31677 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxWindow
*arg1
= (wxWindow
*) 0 ;
31680 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self",(char *) "dropTarget", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31689 if (SWIG_arg_fail(1)) SWIG_fail
;
31690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31691 if (SWIG_arg_fail(2)) SWIG_fail
;
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 (arg1
)->SetDropTarget(arg2
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 Py_INCREF(Py_None
); resultobj
= Py_None
;
31706 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
;
31708 wxWindow
*arg1
= (wxWindow
*) 0 ;
31709 wxPyDropTarget
*result
;
31710 PyObject
* obj0
= 0 ;
31711 char *kwnames
[] = {
31712 (char *) "self", NULL
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail
;
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31732 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
;
31734 wxWindow
*arg1
= (wxWindow
*) 0 ;
31735 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31736 PyObject
* obj0
= 0 ;
31737 PyObject
* obj1
= 0 ;
31738 char *kwnames
[] = {
31739 (char *) "self",(char *) "constraints", NULL
31742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31744 if (SWIG_arg_fail(1)) SWIG_fail
;
31745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31746 if (SWIG_arg_fail(2)) SWIG_fail
;
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 (arg1
)->SetConstraints(arg2
);
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 Py_INCREF(Py_None
); resultobj
= Py_None
;
31761 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
;
31763 wxWindow
*arg1
= (wxWindow
*) 0 ;
31764 wxLayoutConstraints
*result
;
31765 PyObject
* obj0
= 0 ;
31766 char *kwnames
[] = {
31767 (char *) "self", NULL
31770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31772 if (SWIG_arg_fail(1)) SWIG_fail
;
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31787 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxWindow
*arg1
= (wxWindow
*) 0 ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 char *kwnames
[] = {
31794 (char *) "self",(char *) "autoLayout", NULL
31797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31799 if (SWIG_arg_fail(1)) SWIG_fail
;
31801 arg2
= (bool)(SWIG_As_bool(obj1
));
31802 if (SWIG_arg_fail(2)) SWIG_fail
;
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 (arg1
)->SetAutoLayout(arg2
);
31808 wxPyEndAllowThreads(__tstate
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31811 Py_INCREF(Py_None
); resultobj
= Py_None
;
31818 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxWindow
*arg1
= (wxWindow
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31829 if (SWIG_arg_fail(1)) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31846 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31847 PyObject
*resultobj
;
31848 wxWindow
*arg1
= (wxWindow
*) 0 ;
31850 PyObject
* obj0
= 0 ;
31851 char *kwnames
[] = {
31852 (char *) "self", NULL
31855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31857 if (SWIG_arg_fail(1)) SWIG_fail
;
31859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31860 result
= (bool)(arg1
)->Layout();
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31874 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31875 PyObject
*resultobj
;
31876 wxWindow
*arg1
= (wxWindow
*) 0 ;
31877 wxSizer
*arg2
= (wxSizer
*) 0 ;
31878 bool arg3
= (bool) true ;
31879 PyObject
* obj0
= 0 ;
31880 PyObject
* obj1
= 0 ;
31881 PyObject
* obj2
= 0 ;
31882 char *kwnames
[] = {
31883 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31888 if (SWIG_arg_fail(1)) SWIG_fail
;
31889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31890 if (SWIG_arg_fail(2)) SWIG_fail
;
31893 arg3
= (bool)(SWIG_As_bool(obj2
));
31894 if (SWIG_arg_fail(3)) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 (arg1
)->SetSizer(arg2
,arg3
);
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31904 Py_INCREF(Py_None
); resultobj
= Py_None
;
31911 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31912 PyObject
*resultobj
;
31913 wxWindow
*arg1
= (wxWindow
*) 0 ;
31914 wxSizer
*arg2
= (wxSizer
*) 0 ;
31915 bool arg3
= (bool) true ;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 PyObject
* obj2
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail
;
31926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(2)) SWIG_fail
;
31930 arg3
= (bool)(SWIG_As_bool(obj2
));
31931 if (SWIG_arg_fail(3)) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 Py_INCREF(Py_None
); resultobj
= Py_None
;
31948 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxWindow
*arg1
= (wxWindow
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31959 if (SWIG_arg_fail(1)) SWIG_fail
;
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31964 wxPyEndAllowThreads(__tstate
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= wxPyMake_wxSizer(result
, 0);
31976 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
;
31978 wxWindow
*arg1
= (wxWindow
*) 0 ;
31979 wxSizer
*arg2
= (wxSizer
*) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 PyObject
* obj1
= 0 ;
31982 char *kwnames
[] = {
31983 (char *) "self",(char *) "sizer", NULL
31986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31988 if (SWIG_arg_fail(1)) SWIG_fail
;
31989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31990 if (SWIG_arg_fail(2)) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 (arg1
)->SetContainingSizer(arg2
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 Py_INCREF(Py_None
); resultobj
= Py_None
;
32005 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxWindow
*arg1
= (wxWindow
*) 0 ;
32009 PyObject
* obj0
= 0 ;
32010 char *kwnames
[] = {
32011 (char *) "self", NULL
32014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32016 if (SWIG_arg_fail(1)) SWIG_fail
;
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= wxPyMake_wxSizer(result
, 0);
32033 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
;
32035 wxWindow
*arg1
= (wxWindow
*) 0 ;
32036 PyObject
* obj0
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32043 if (SWIG_arg_fail(1)) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 (arg1
)->InheritAttributes();
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32051 Py_INCREF(Py_None
); resultobj
= Py_None
;
32058 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxWindow
*arg1
= (wxWindow
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32086 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32089 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32091 return Py_BuildValue((char *)"");
32093 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
;
32096 wxWindow
*arg2
= (wxWindow
*) NULL
;
32098 PyObject
* obj0
= 0 ;
32099 PyObject
* obj1
= 0 ;
32100 char *kwnames
[] = {
32101 (char *) "id",(char *) "parent", NULL
32104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32106 arg1
= (long)(SWIG_As_long(obj0
));
32107 if (SWIG_arg_fail(1)) SWIG_fail
;
32110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32111 if (SWIG_arg_fail(2)) SWIG_fail
;
32114 if (!wxPyCheckForApp()) SWIG_fail
;
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= wxPyMake_wxObject(result
, 0);
32130 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
;
32132 wxString
*arg1
= 0 ;
32133 wxWindow
*arg2
= (wxWindow
*) NULL
;
32135 bool temp1
= false ;
32136 PyObject
* obj0
= 0 ;
32137 PyObject
* obj1
= 0 ;
32138 char *kwnames
[] = {
32139 (char *) "name",(char *) "parent", NULL
32142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32144 arg1
= wxString_in_helper(obj0
);
32145 if (arg1
== NULL
) SWIG_fail
;
32149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32150 if (SWIG_arg_fail(2)) SWIG_fail
;
32153 if (!wxPyCheckForApp()) SWIG_fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= wxPyMake_wxObject(result
, 0);
32177 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32178 PyObject
*resultobj
;
32179 wxString
*arg1
= 0 ;
32180 wxWindow
*arg2
= (wxWindow
*) NULL
;
32182 bool temp1
= false ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "label",(char *) "parent", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32191 arg1
= wxString_in_helper(obj0
);
32192 if (arg1
== NULL
) SWIG_fail
;
32196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32197 if (SWIG_arg_fail(2)) SWIG_fail
;
32200 if (!wxPyCheckForApp()) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= wxPyMake_wxObject(result
, 0);
32224 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
;
32226 wxWindow
*arg1
= (wxWindow
*) 0 ;
32227 unsigned long arg2
;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "parent",(char *) "_hWnd", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32237 if (SWIG_arg_fail(1)) SWIG_fail
;
32239 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32240 if (SWIG_arg_fail(2)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= wxPyMake_wxObject(result
, 0);
32258 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32261 char *kwnames
[] = {
32265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 result
= (PyObject
*)GetTopLevelWindows();
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= result
;
32280 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
;
32282 wxValidator
*result
;
32283 char *kwnames
[] = {
32287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (wxValidator
*)new wxValidator();
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32302 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
;
32304 wxValidator
*arg1
= (wxValidator
*) 0 ;
32305 wxValidator
*result
;
32306 PyObject
* obj0
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32313 if (SWIG_arg_fail(1)) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (wxValidator
*)(arg1
)->Clone();
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= wxPyMake_wxObject(result
, 0);
32330 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 wxValidator
*arg1
= (wxValidator
*) 0 ;
32333 wxWindow
*arg2
= (wxWindow
*) 0 ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 char *kwnames
[] = {
32338 (char *) "self",(char *) "parent", NULL
32341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32343 if (SWIG_arg_fail(1)) SWIG_fail
;
32344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32345 if (SWIG_arg_fail(2)) SWIG_fail
;
32347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32348 result
= (bool)(arg1
)->Validate(arg2
);
32350 wxPyEndAllowThreads(__tstate
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32362 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32363 PyObject
*resultobj
;
32364 wxValidator
*arg1
= (wxValidator
*) 0 ;
32366 PyObject
* obj0
= 0 ;
32367 char *kwnames
[] = {
32368 (char *) "self", NULL
32371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32373 if (SWIG_arg_fail(1)) SWIG_fail
;
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 result
= (bool)(arg1
)->TransferToWindow();
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32390 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxValidator
*arg1
= (wxValidator
*) 0 ;
32394 PyObject
* obj0
= 0 ;
32395 char *kwnames
[] = {
32396 (char *) "self", NULL
32399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32401 if (SWIG_arg_fail(1)) SWIG_fail
;
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 result
= (bool)(arg1
)->TransferFromWindow();
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32418 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 wxValidator
*arg1
= (wxValidator
*) 0 ;
32422 PyObject
* obj0
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32429 if (SWIG_arg_fail(1)) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (wxWindow
*)(arg1
)->GetWindow();
32434 wxPyEndAllowThreads(__tstate
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= wxPyMake_wxObject(result
, 0);
32446 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxValidator
*arg1
= (wxValidator
*) 0 ;
32449 wxWindow
*arg2
= (wxWindow
*) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 char *kwnames
[] = {
32453 (char *) "self",(char *) "window", NULL
32456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32458 if (SWIG_arg_fail(1)) SWIG_fail
;
32459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32460 if (SWIG_arg_fail(2)) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 (arg1
)->SetWindow(arg2
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 Py_INCREF(Py_None
); resultobj
= Py_None
;
32475 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
;
32478 char *kwnames
[] = {
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 result
= (bool)wxValidator::IsSilent();
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32499 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
;
32501 int arg1
= (int) true ;
32502 PyObject
* obj0
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "doIt", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32510 arg1
= (int)(SWIG_As_int(obj0
));
32511 if (SWIG_arg_fail(1)) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 wxValidator::SetBellOnError(arg1
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32521 Py_INCREF(Py_None
); resultobj
= Py_None
;
32528 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32531 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32533 return Py_BuildValue((char *)"");
32535 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32536 PyObject
*resultobj
;
32537 wxPyValidator
*result
;
32538 char *kwnames
[] = {
32542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= (wxPyValidator
*)new wxPyValidator();
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32557 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
;
32559 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32560 PyObject
*arg2
= (PyObject
*) 0 ;
32561 PyObject
*arg3
= (PyObject
*) 0 ;
32562 int arg4
= (int) true ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 PyObject
* obj2
= 0 ;
32566 PyObject
* obj3
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32573 if (SWIG_arg_fail(1)) SWIG_fail
;
32578 arg4
= (int)(SWIG_As_int(obj3
));
32579 if (SWIG_arg_fail(4)) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32589 Py_INCREF(Py_None
); resultobj
= Py_None
;
32596 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32599 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32601 return Py_BuildValue((char *)"");
32603 static int _wrap_DefaultValidator_set(PyObject
*) {
32604 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32609 static PyObject
*_wrap_DefaultValidator_get(void) {
32612 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32617 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32620 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32621 long arg2
= (long) 0 ;
32623 bool temp1
= false ;
32624 PyObject
* obj0
= 0 ;
32625 PyObject
* obj1
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "title",(char *) "style", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32633 arg1
= wxString_in_helper(obj0
);
32634 if (arg1
== NULL
) SWIG_fail
;
32640 arg2
= (long)(SWIG_As_long(obj1
));
32641 if (SWIG_arg_fail(2)) SWIG_fail
;
32645 if (!wxPyCheckForApp()) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32667 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxMenu
*arg1
= (wxMenu
*) 0 ;
32671 wxString
*arg3
= 0 ;
32672 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32673 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32674 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32675 wxMenuItem
*result
;
32676 bool temp3
= false ;
32677 bool temp4
= false ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 PyObject
* obj2
= 0 ;
32681 PyObject
* obj3
= 0 ;
32682 PyObject
* obj4
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32689 if (SWIG_arg_fail(1)) SWIG_fail
;
32691 arg2
= (int)(SWIG_As_int(obj1
));
32692 if (SWIG_arg_fail(2)) SWIG_fail
;
32695 arg3
= wxString_in_helper(obj2
);
32696 if (arg3
== NULL
) SWIG_fail
;
32701 arg4
= wxString_in_helper(obj3
);
32702 if (arg4
== NULL
) SWIG_fail
;
32708 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32709 if (SWIG_arg_fail(5)) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= wxPyMake_wxObject(result
, 0);
32744 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32745 PyObject
*resultobj
;
32746 wxMenu
*arg1
= (wxMenu
*) 0 ;
32747 wxMenuItem
*result
;
32748 PyObject
* obj0
= 0 ;
32749 char *kwnames
[] = {
32750 (char *) "self", NULL
32753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32755 if (SWIG_arg_fail(1)) SWIG_fail
;
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= wxPyMake_wxObject(result
, 0);
32772 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxMenu
*arg1
= (wxMenu
*) 0 ;
32776 wxString
*arg3
= 0 ;
32777 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32778 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32779 wxMenuItem
*result
;
32780 bool temp3
= false ;
32781 bool temp4
= false ;
32782 PyObject
* obj0
= 0 ;
32783 PyObject
* obj1
= 0 ;
32784 PyObject
* obj2
= 0 ;
32785 PyObject
* obj3
= 0 ;
32786 char *kwnames
[] = {
32787 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32792 if (SWIG_arg_fail(1)) SWIG_fail
;
32794 arg2
= (int)(SWIG_As_int(obj1
));
32795 if (SWIG_arg_fail(2)) SWIG_fail
;
32798 arg3
= wxString_in_helper(obj2
);
32799 if (arg3
== NULL
) SWIG_fail
;
32804 arg4
= wxString_in_helper(obj3
);
32805 if (arg4
== NULL
) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= wxPyMake_wxObject(result
, 0);
32841 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxMenu
*arg1
= (wxMenu
*) 0 ;
32845 wxString
*arg3
= 0 ;
32846 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32847 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32848 wxMenuItem
*result
;
32849 bool temp3
= false ;
32850 bool temp4
= false ;
32851 PyObject
* obj0
= 0 ;
32852 PyObject
* obj1
= 0 ;
32853 PyObject
* obj2
= 0 ;
32854 PyObject
* obj3
= 0 ;
32855 char *kwnames
[] = {
32856 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32861 if (SWIG_arg_fail(1)) SWIG_fail
;
32863 arg2
= (int)(SWIG_As_int(obj1
));
32864 if (SWIG_arg_fail(2)) SWIG_fail
;
32867 arg3
= wxString_in_helper(obj2
);
32868 if (arg3
== NULL
) SWIG_fail
;
32873 arg4
= wxString_in_helper(obj3
);
32874 if (arg4
== NULL
) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= wxPyMake_wxObject(result
, 0);
32910 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxMenu
*arg1
= (wxMenu
*) 0 ;
32914 wxString
*arg3
= 0 ;
32915 wxMenu
*arg4
= (wxMenu
*) 0 ;
32916 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32917 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32918 wxMenuItem
*result
;
32919 bool temp3
= false ;
32920 bool temp5
= false ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 PyObject
* obj3
= 0 ;
32925 PyObject
* obj4
= 0 ;
32926 char *kwnames
[] = {
32927 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32932 if (SWIG_arg_fail(1)) SWIG_fail
;
32934 arg2
= (int)(SWIG_As_int(obj1
));
32935 if (SWIG_arg_fail(2)) SWIG_fail
;
32938 arg3
= wxString_in_helper(obj2
);
32939 if (arg3
== NULL
) SWIG_fail
;
32942 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32943 if (SWIG_arg_fail(4)) SWIG_fail
;
32946 arg5
= wxString_in_helper(obj4
);
32947 if (arg5
== NULL
) SWIG_fail
;
32952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32953 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= wxPyMake_wxObject(result
, 0);
32983 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
;
32985 wxMenu
*arg1
= (wxMenu
*) 0 ;
32986 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32987 wxMenuItem
*result
;
32988 PyObject
* obj0
= 0 ;
32989 PyObject
* obj1
= 0 ;
32990 char *kwnames
[] = {
32991 (char *) "self",(char *) "item", NULL
32994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32996 if (SWIG_arg_fail(1)) SWIG_fail
;
32997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32998 if (SWIG_arg_fail(2)) SWIG_fail
;
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= wxPyMake_wxObject(result
, 0);
33015 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
;
33017 wxMenu
*arg1
= (wxMenu
*) 0 ;
33018 PyObject
* obj0
= 0 ;
33019 char *kwnames
[] = {
33020 (char *) "self", NULL
33023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33025 if (SWIG_arg_fail(1)) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 Py_INCREF(Py_None
); resultobj
= Py_None
;
33040 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxMenu
*arg1
= (wxMenu
*) 0 ;
33044 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33045 wxMenuItem
*result
;
33046 PyObject
* obj0
= 0 ;
33047 PyObject
* obj1
= 0 ;
33048 PyObject
* obj2
= 0 ;
33049 char *kwnames
[] = {
33050 (char *) "self",(char *) "pos",(char *) "item", NULL
33053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33055 if (SWIG_arg_fail(1)) SWIG_fail
;
33057 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33058 if (SWIG_arg_fail(2)) SWIG_fail
;
33060 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33061 if (SWIG_arg_fail(3)) SWIG_fail
;
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33066 wxPyEndAllowThreads(__tstate
);
33067 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= wxPyMake_wxObject(result
, 0);
33078 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
;
33080 wxMenu
*arg1
= (wxMenu
*) 0 ;
33083 wxString
*arg4
= 0 ;
33084 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33085 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33086 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33087 wxMenuItem
*result
;
33088 bool temp4
= false ;
33089 bool temp5
= false ;
33090 PyObject
* obj0
= 0 ;
33091 PyObject
* obj1
= 0 ;
33092 PyObject
* obj2
= 0 ;
33093 PyObject
* obj3
= 0 ;
33094 PyObject
* obj4
= 0 ;
33095 PyObject
* obj5
= 0 ;
33096 char *kwnames
[] = {
33097 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33102 if (SWIG_arg_fail(1)) SWIG_fail
;
33104 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33105 if (SWIG_arg_fail(2)) SWIG_fail
;
33108 arg3
= (int)(SWIG_As_int(obj2
));
33109 if (SWIG_arg_fail(3)) SWIG_fail
;
33112 arg4
= wxString_in_helper(obj3
);
33113 if (arg4
== NULL
) SWIG_fail
;
33118 arg5
= wxString_in_helper(obj4
);
33119 if (arg5
== NULL
) SWIG_fail
;
33125 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33126 if (SWIG_arg_fail(6)) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= wxPyMake_wxObject(result
, 0);
33161 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33162 PyObject
*resultobj
;
33163 wxMenu
*arg1
= (wxMenu
*) 0 ;
33165 wxMenuItem
*result
;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 char *kwnames
[] = {
33169 (char *) "self",(char *) "pos", NULL
33172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33174 if (SWIG_arg_fail(1)) SWIG_fail
;
33176 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33177 if (SWIG_arg_fail(2)) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= wxPyMake_wxObject(result
, 0);
33195 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33196 PyObject
*resultobj
;
33197 wxMenu
*arg1
= (wxMenu
*) 0 ;
33200 wxString
*arg4
= 0 ;
33201 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33202 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33203 wxMenuItem
*result
;
33204 bool temp4
= false ;
33205 bool temp5
= false ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 PyObject
* obj2
= 0 ;
33209 PyObject
* obj3
= 0 ;
33210 PyObject
* obj4
= 0 ;
33211 char *kwnames
[] = {
33212 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33217 if (SWIG_arg_fail(1)) SWIG_fail
;
33219 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33220 if (SWIG_arg_fail(2)) SWIG_fail
;
33223 arg3
= (int)(SWIG_As_int(obj2
));
33224 if (SWIG_arg_fail(3)) SWIG_fail
;
33227 arg4
= wxString_in_helper(obj3
);
33228 if (arg4
== NULL
) SWIG_fail
;
33233 arg5
= wxString_in_helper(obj4
);
33234 if (arg5
== NULL
) SWIG_fail
;
33239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33240 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= wxPyMake_wxObject(result
, 0);
33270 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33271 PyObject
*resultobj
;
33272 wxMenu
*arg1
= (wxMenu
*) 0 ;
33275 wxString
*arg4
= 0 ;
33276 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33277 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33278 wxMenuItem
*result
;
33279 bool temp4
= false ;
33280 bool temp5
= false ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 PyObject
* obj2
= 0 ;
33284 PyObject
* obj3
= 0 ;
33285 PyObject
* obj4
= 0 ;
33286 char *kwnames
[] = {
33287 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33292 if (SWIG_arg_fail(1)) SWIG_fail
;
33294 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33295 if (SWIG_arg_fail(2)) SWIG_fail
;
33298 arg3
= (int)(SWIG_As_int(obj2
));
33299 if (SWIG_arg_fail(3)) SWIG_fail
;
33302 arg4
= wxString_in_helper(obj3
);
33303 if (arg4
== NULL
) SWIG_fail
;
33308 arg5
= wxString_in_helper(obj4
);
33309 if (arg5
== NULL
) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= wxPyMake_wxObject(result
, 0);
33345 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33346 PyObject
*resultobj
;
33347 wxMenu
*arg1
= (wxMenu
*) 0 ;
33350 wxString
*arg4
= 0 ;
33351 wxMenu
*arg5
= (wxMenu
*) 0 ;
33352 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33353 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33354 wxMenuItem
*result
;
33355 bool temp4
= false ;
33356 bool temp6
= false ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 PyObject
* obj3
= 0 ;
33361 PyObject
* obj4
= 0 ;
33362 PyObject
* obj5
= 0 ;
33363 char *kwnames
[] = {
33364 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33369 if (SWIG_arg_fail(1)) SWIG_fail
;
33371 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33372 if (SWIG_arg_fail(2)) SWIG_fail
;
33375 arg3
= (int)(SWIG_As_int(obj2
));
33376 if (SWIG_arg_fail(3)) SWIG_fail
;
33379 arg4
= wxString_in_helper(obj3
);
33380 if (arg4
== NULL
) SWIG_fail
;
33383 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33384 if (SWIG_arg_fail(5)) SWIG_fail
;
33387 arg6
= wxString_in_helper(obj5
);
33388 if (arg6
== NULL
) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33400 resultobj
= wxPyMake_wxObject(result
, 0);
33424 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
;
33426 wxMenu
*arg1
= (wxMenu
*) 0 ;
33427 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33428 wxMenuItem
*result
;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 char *kwnames
[] = {
33432 (char *) "self",(char *) "item", NULL
33435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33437 if (SWIG_arg_fail(1)) SWIG_fail
;
33438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33439 if (SWIG_arg_fail(2)) SWIG_fail
;
33441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= wxPyMake_wxObject(result
, 0);
33456 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxMenu
*arg1
= (wxMenu
*) 0 ;
33460 wxString
*arg3
= 0 ;
33461 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33462 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33463 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33464 wxMenuItem
*result
;
33465 bool temp3
= false ;
33466 bool temp4
= false ;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 PyObject
* obj2
= 0 ;
33470 PyObject
* obj3
= 0 ;
33471 PyObject
* obj4
= 0 ;
33472 char *kwnames
[] = {
33473 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33478 if (SWIG_arg_fail(1)) SWIG_fail
;
33480 arg2
= (int)(SWIG_As_int(obj1
));
33481 if (SWIG_arg_fail(2)) SWIG_fail
;
33484 arg3
= wxString_in_helper(obj2
);
33485 if (arg3
== NULL
) SWIG_fail
;
33490 arg4
= wxString_in_helper(obj3
);
33491 if (arg4
== NULL
) SWIG_fail
;
33497 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33498 if (SWIG_arg_fail(5)) SWIG_fail
;
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= wxPyMake_wxObject(result
, 0);
33533 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33534 PyObject
*resultobj
;
33535 wxMenu
*arg1
= (wxMenu
*) 0 ;
33536 wxMenuItem
*result
;
33537 PyObject
* obj0
= 0 ;
33538 char *kwnames
[] = {
33539 (char *) "self", NULL
33542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33544 if (SWIG_arg_fail(1)) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= wxPyMake_wxObject(result
, 0);
33561 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33562 PyObject
*resultobj
;
33563 wxMenu
*arg1
= (wxMenu
*) 0 ;
33565 wxString
*arg3
= 0 ;
33566 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33567 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33568 wxMenuItem
*result
;
33569 bool temp3
= false ;
33570 bool temp4
= false ;
33571 PyObject
* obj0
= 0 ;
33572 PyObject
* obj1
= 0 ;
33573 PyObject
* obj2
= 0 ;
33574 PyObject
* obj3
= 0 ;
33575 char *kwnames
[] = {
33576 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33581 if (SWIG_arg_fail(1)) SWIG_fail
;
33583 arg2
= (int)(SWIG_As_int(obj1
));
33584 if (SWIG_arg_fail(2)) SWIG_fail
;
33587 arg3
= wxString_in_helper(obj2
);
33588 if (arg3
== NULL
) SWIG_fail
;
33593 arg4
= wxString_in_helper(obj3
);
33594 if (arg4
== NULL
) SWIG_fail
;
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= wxPyMake_wxObject(result
, 0);
33630 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33631 PyObject
*resultobj
;
33632 wxMenu
*arg1
= (wxMenu
*) 0 ;
33634 wxString
*arg3
= 0 ;
33635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33637 wxMenuItem
*result
;
33638 bool temp3
= false ;
33639 bool temp4
= false ;
33640 PyObject
* obj0
= 0 ;
33641 PyObject
* obj1
= 0 ;
33642 PyObject
* obj2
= 0 ;
33643 PyObject
* obj3
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33650 if (SWIG_arg_fail(1)) SWIG_fail
;
33652 arg2
= (int)(SWIG_As_int(obj1
));
33653 if (SWIG_arg_fail(2)) SWIG_fail
;
33656 arg3
= wxString_in_helper(obj2
);
33657 if (arg3
== NULL
) SWIG_fail
;
33662 arg4
= wxString_in_helper(obj3
);
33663 if (arg4
== NULL
) SWIG_fail
;
33668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33669 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33671 wxPyEndAllowThreads(__tstate
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= wxPyMake_wxObject(result
, 0);
33699 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxMenu
*arg1
= (wxMenu
*) 0 ;
33703 wxString
*arg3
= 0 ;
33704 wxMenu
*arg4
= (wxMenu
*) 0 ;
33705 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33706 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33707 wxMenuItem
*result
;
33708 bool temp3
= false ;
33709 bool temp5
= false ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 PyObject
* obj2
= 0 ;
33713 PyObject
* obj3
= 0 ;
33714 PyObject
* obj4
= 0 ;
33715 char *kwnames
[] = {
33716 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33721 if (SWIG_arg_fail(1)) SWIG_fail
;
33723 arg2
= (int)(SWIG_As_int(obj1
));
33724 if (SWIG_arg_fail(2)) SWIG_fail
;
33727 arg3
= wxString_in_helper(obj2
);
33728 if (arg3
== NULL
) SWIG_fail
;
33731 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33732 if (SWIG_arg_fail(4)) SWIG_fail
;
33735 arg5
= wxString_in_helper(obj4
);
33736 if (arg5
== NULL
) SWIG_fail
;
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33744 wxPyEndAllowThreads(__tstate
);
33745 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= wxPyMake_wxObject(result
, 0);
33772 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
;
33774 wxMenu
*arg1
= (wxMenu
*) 0 ;
33776 wxMenuItem
*result
;
33777 PyObject
* obj0
= 0 ;
33778 PyObject
* obj1
= 0 ;
33779 char *kwnames
[] = {
33780 (char *) "self",(char *) "id", NULL
33783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33785 if (SWIG_arg_fail(1)) SWIG_fail
;
33787 arg2
= (int)(SWIG_As_int(obj1
));
33788 if (SWIG_arg_fail(2)) SWIG_fail
;
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= wxPyMake_wxObject(result
, 0);
33806 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
;
33808 wxMenu
*arg1
= (wxMenu
*) 0 ;
33809 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33810 wxMenuItem
*result
;
33811 PyObject
* obj0
= 0 ;
33812 PyObject
* obj1
= 0 ;
33813 char *kwnames
[] = {
33814 (char *) "self",(char *) "item", NULL
33817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33819 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33821 if (SWIG_arg_fail(2)) SWIG_fail
;
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= wxPyMake_wxObject(result
, 0);
33838 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
;
33840 wxMenu
*arg1
= (wxMenu
*) 0 ;
33843 PyObject
* obj0
= 0 ;
33844 PyObject
* obj1
= 0 ;
33845 char *kwnames
[] = {
33846 (char *) "self",(char *) "id", NULL
33849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33851 if (SWIG_arg_fail(1)) SWIG_fail
;
33853 arg2
= (int)(SWIG_As_int(obj1
));
33854 if (SWIG_arg_fail(2)) SWIG_fail
;
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 result
= (bool)(arg1
)->Delete(arg2
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33872 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33873 PyObject
*resultobj
;
33874 wxMenu
*arg1
= (wxMenu
*) 0 ;
33875 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33877 PyObject
* obj0
= 0 ;
33878 PyObject
* obj1
= 0 ;
33879 char *kwnames
[] = {
33880 (char *) "self",(char *) "item", NULL
33883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33885 if (SWIG_arg_fail(1)) SWIG_fail
;
33886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33887 if (SWIG_arg_fail(2)) SWIG_fail
;
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 result
= (bool)(arg1
)->Delete(arg2
);
33892 wxPyEndAllowThreads(__tstate
);
33893 if (PyErr_Occurred()) SWIG_fail
;
33896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33904 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
;
33906 wxMenu
*arg1
= (wxMenu
*) 0 ;
33907 PyObject
* obj0
= 0 ;
33908 char *kwnames
[] = {
33909 (char *) "self", NULL
33912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33914 if (SWIG_arg_fail(1)) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 wxMenu_Destroy(arg1
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 Py_INCREF(Py_None
); resultobj
= Py_None
;
33929 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
;
33931 wxMenu
*arg1
= (wxMenu
*) 0 ;
33934 PyObject
* obj0
= 0 ;
33935 PyObject
* obj1
= 0 ;
33936 char *kwnames
[] = {
33937 (char *) "self",(char *) "id", NULL
33940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33942 if (SWIG_arg_fail(1)) SWIG_fail
;
33944 arg2
= (int)(SWIG_As_int(obj1
));
33945 if (SWIG_arg_fail(2)) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 result
= (bool)(arg1
)->Destroy(arg2
);
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33963 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33964 PyObject
*resultobj
;
33965 wxMenu
*arg1
= (wxMenu
*) 0 ;
33966 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33968 PyObject
* obj0
= 0 ;
33969 PyObject
* obj1
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self",(char *) "item", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33976 if (SWIG_arg_fail(1)) SWIG_fail
;
33977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33978 if (SWIG_arg_fail(2)) SWIG_fail
;
33980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 result
= (bool)(arg1
)->Destroy(arg2
);
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33995 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxMenu
*arg1
= (wxMenu
*) 0 ;
33999 PyObject
* obj0
= 0 ;
34000 char *kwnames
[] = {
34001 (char *) "self", NULL
34004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34006 if (SWIG_arg_fail(1)) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34023 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
;
34025 wxMenu
*arg1
= (wxMenu
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 char *kwnames
[] = {
34029 (char *) "self", NULL
34032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(1)) SWIG_fail
;
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= result
;
34049 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
;
34051 wxMenu
*arg1
= (wxMenu
*) 0 ;
34052 wxString
*arg2
= 0 ;
34054 bool temp2
= false ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char *kwnames
[] = {
34058 (char *) "self",(char *) "item", NULL
34061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34063 if (SWIG_arg_fail(1)) SWIG_fail
;
34065 arg2
= wxString_in_helper(obj1
);
34066 if (arg2
== NULL
) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34077 resultobj
= SWIG_From_int((int)(result
));
34093 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
;
34095 wxMenu
*arg1
= (wxMenu
*) 0 ;
34097 wxMenuItem
*result
;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 char *kwnames
[] = {
34101 (char *) "self",(char *) "id", NULL
34104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34106 if (SWIG_arg_fail(1)) SWIG_fail
;
34108 arg2
= (int)(SWIG_As_int(obj1
));
34109 if (SWIG_arg_fail(2)) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34119 resultobj
= wxPyMake_wxObject(result
, 0);
34127 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
;
34129 wxMenu
*arg1
= (wxMenu
*) 0 ;
34131 wxMenuItem
*result
;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 char *kwnames
[] = {
34135 (char *) "self",(char *) "position", NULL
34138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34140 if (SWIG_arg_fail(1)) SWIG_fail
;
34142 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34143 if (SWIG_arg_fail(2)) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34149 wxPyEndAllowThreads(__tstate
);
34150 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= wxPyMake_wxObject(result
, 0);
34161 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
;
34163 wxMenu
*arg1
= (wxMenu
*) 0 ;
34166 PyObject
* obj0
= 0 ;
34167 PyObject
* obj1
= 0 ;
34168 PyObject
* obj2
= 0 ;
34169 char *kwnames
[] = {
34170 (char *) "self",(char *) "id",(char *) "enable", NULL
34173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34175 if (SWIG_arg_fail(1)) SWIG_fail
;
34177 arg2
= (int)(SWIG_As_int(obj1
));
34178 if (SWIG_arg_fail(2)) SWIG_fail
;
34181 arg3
= (bool)(SWIG_As_bool(obj2
));
34182 if (SWIG_arg_fail(3)) SWIG_fail
;
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 (arg1
)->Enable(arg2
,arg3
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 Py_INCREF(Py_None
); resultobj
= Py_None
;
34198 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxMenu
*arg1
= (wxMenu
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 char *kwnames
[] = {
34206 (char *) "self",(char *) "id", NULL
34209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34211 if (SWIG_arg_fail(1)) SWIG_fail
;
34213 arg2
= (int)(SWIG_As_int(obj1
));
34214 if (SWIG_arg_fail(2)) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34232 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
;
34234 wxMenu
*arg1
= (wxMenu
*) 0 ;
34237 PyObject
* obj0
= 0 ;
34238 PyObject
* obj1
= 0 ;
34239 PyObject
* obj2
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "id",(char *) "check", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34246 if (SWIG_arg_fail(1)) SWIG_fail
;
34248 arg2
= (int)(SWIG_As_int(obj1
));
34249 if (SWIG_arg_fail(2)) SWIG_fail
;
34252 arg3
= (bool)(SWIG_As_bool(obj2
));
34253 if (SWIG_arg_fail(3)) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->Check(arg2
,arg3
);
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 Py_INCREF(Py_None
); resultobj
= Py_None
;
34269 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34270 PyObject
*resultobj
;
34271 wxMenu
*arg1
= (wxMenu
*) 0 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 char *kwnames
[] = {
34277 (char *) "self",(char *) "id", NULL
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34282 if (SWIG_arg_fail(1)) SWIG_fail
;
34284 arg2
= (int)(SWIG_As_int(obj1
));
34285 if (SWIG_arg_fail(2)) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34303 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxMenu
*arg1
= (wxMenu
*) 0 ;
34307 wxString
*arg3
= 0 ;
34308 bool temp3
= false ;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 PyObject
* obj2
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "id",(char *) "label", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34318 if (SWIG_arg_fail(1)) SWIG_fail
;
34320 arg2
= (int)(SWIG_As_int(obj1
));
34321 if (SWIG_arg_fail(2)) SWIG_fail
;
34324 arg3
= wxString_in_helper(obj2
);
34325 if (arg3
== NULL
) SWIG_fail
;
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 Py_INCREF(Py_None
); resultobj
= Py_None
;
34350 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
;
34352 wxMenu
*arg1
= (wxMenu
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self",(char *) "id", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34363 if (SWIG_arg_fail(1)) SWIG_fail
;
34365 arg2
= (int)(SWIG_As_int(obj1
));
34366 if (SWIG_arg_fail(2)) SWIG_fail
;
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34388 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
;
34390 wxMenu
*arg1
= (wxMenu
*) 0 ;
34392 wxString
*arg3
= 0 ;
34393 bool temp3
= false ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 PyObject
* obj2
= 0 ;
34397 char *kwnames
[] = {
34398 (char *) "self",(char *) "id",(char *) "helpString", NULL
34401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34403 if (SWIG_arg_fail(1)) SWIG_fail
;
34405 arg2
= (int)(SWIG_As_int(obj1
));
34406 if (SWIG_arg_fail(2)) SWIG_fail
;
34409 arg3
= wxString_in_helper(obj2
);
34410 if (arg3
== NULL
) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34420 Py_INCREF(Py_None
); resultobj
= Py_None
;
34435 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34436 PyObject
*resultobj
;
34437 wxMenu
*arg1
= (wxMenu
*) 0 ;
34440 PyObject
* obj0
= 0 ;
34441 PyObject
* obj1
= 0 ;
34442 char *kwnames
[] = {
34443 (char *) "self",(char *) "id", NULL
34446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34448 if (SWIG_arg_fail(1)) SWIG_fail
;
34450 arg2
= (int)(SWIG_As_int(obj1
));
34451 if (SWIG_arg_fail(2)) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34473 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
;
34475 wxMenu
*arg1
= (wxMenu
*) 0 ;
34476 wxString
*arg2
= 0 ;
34477 bool temp2
= false ;
34478 PyObject
* obj0
= 0 ;
34479 PyObject
* obj1
= 0 ;
34480 char *kwnames
[] = {
34481 (char *) "self",(char *) "title", NULL
34484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34486 if (SWIG_arg_fail(1)) SWIG_fail
;
34488 arg2
= wxString_in_helper(obj1
);
34489 if (arg2
== NULL
) SWIG_fail
;
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 (arg1
)->SetTitle((wxString
const &)*arg2
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 Py_INCREF(Py_None
); resultobj
= Py_None
;
34514 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
;
34516 wxMenu
*arg1
= (wxMenu
*) 0 ;
34518 PyObject
* obj0
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34525 if (SWIG_arg_fail(1)) SWIG_fail
;
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 result
= ((wxMenu
const *)arg1
)->GetTitle();
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34546 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
;
34548 wxMenu
*arg1
= (wxMenu
*) 0 ;
34549 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "handler", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34558 if (SWIG_arg_fail(1)) SWIG_fail
;
34559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 (arg1
)->SetEventHandler(arg2
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 Py_INCREF(Py_None
); resultobj
= Py_None
;
34575 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
;
34577 wxMenu
*arg1
= (wxMenu
*) 0 ;
34578 wxEvtHandler
*result
;
34579 PyObject
* obj0
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34586 if (SWIG_arg_fail(1)) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= wxPyMake_wxObject(result
, 0);
34603 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
;
34605 wxMenu
*arg1
= (wxMenu
*) 0 ;
34606 wxWindow
*arg2
= (wxWindow
*) 0 ;
34607 PyObject
* obj0
= 0 ;
34608 PyObject
* obj1
= 0 ;
34609 char *kwnames
[] = {
34610 (char *) "self",(char *) "win", NULL
34613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34615 if (SWIG_arg_fail(1)) SWIG_fail
;
34616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34617 if (SWIG_arg_fail(2)) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 (arg1
)->SetInvokingWindow(arg2
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34625 Py_INCREF(Py_None
); resultobj
= Py_None
;
34632 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
;
34634 wxMenu
*arg1
= (wxMenu
*) 0 ;
34636 PyObject
* obj0
= 0 ;
34637 char *kwnames
[] = {
34638 (char *) "self", NULL
34641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34643 if (SWIG_arg_fail(1)) SWIG_fail
;
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34648 wxPyEndAllowThreads(__tstate
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= wxPyMake_wxObject(result
, 0);
34660 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxMenu
*arg1
= (wxMenu
*) 0 ;
34664 PyObject
* obj0
= 0 ;
34665 char *kwnames
[] = {
34666 (char *) "self", NULL
34669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34671 if (SWIG_arg_fail(1)) SWIG_fail
;
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34676 wxPyEndAllowThreads(__tstate
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= SWIG_From_long((long)(result
));
34688 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34689 PyObject
*resultobj
;
34690 wxMenu
*arg1
= (wxMenu
*) 0 ;
34691 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34692 PyObject
* obj0
= 0 ;
34693 PyObject
* obj1
= 0 ;
34694 char *kwnames
[] = {
34695 (char *) "self",(char *) "source", NULL
34698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34700 if (SWIG_arg_fail(1)) SWIG_fail
;
34702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34703 if (SWIG_arg_fail(2)) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->UpdateUI(arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 Py_INCREF(Py_None
); resultobj
= Py_None
;
34719 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxMenu
*arg1
= (wxMenu
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34730 if (SWIG_arg_fail(1)) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= wxPyMake_wxObject(result
, 0);
34747 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34748 PyObject
*resultobj
;
34749 wxMenu
*arg1
= (wxMenu
*) 0 ;
34750 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self",(char *) "menubar", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34759 if (SWIG_arg_fail(1)) SWIG_fail
;
34760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34761 if (SWIG_arg_fail(2)) SWIG_fail
;
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 (arg1
)->Attach(arg2
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 Py_INCREF(Py_None
); resultobj
= Py_None
;
34776 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
;
34778 wxMenu
*arg1
= (wxMenu
*) 0 ;
34779 PyObject
* obj0
= 0 ;
34780 char *kwnames
[] = {
34781 (char *) "self", NULL
34784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34786 if (SWIG_arg_fail(1)) SWIG_fail
;
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34794 Py_INCREF(Py_None
); resultobj
= Py_None
;
34801 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34802 PyObject
*resultobj
;
34803 wxMenu
*arg1
= (wxMenu
*) 0 ;
34805 PyObject
* obj0
= 0 ;
34806 char *kwnames
[] = {
34807 (char *) "self", NULL
34810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34812 if (SWIG_arg_fail(1)) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34829 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 wxMenu
*arg1
= (wxMenu
*) 0 ;
34832 wxMenu
*arg2
= (wxMenu
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "parent", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34843 if (SWIG_arg_fail(2)) SWIG_fail
;
34845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34846 (arg1
)->SetParent(arg2
);
34848 wxPyEndAllowThreads(__tstate
);
34849 if (PyErr_Occurred()) SWIG_fail
;
34851 Py_INCREF(Py_None
); resultobj
= Py_None
;
34858 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
;
34860 wxMenu
*arg1
= (wxMenu
*) 0 ;
34862 PyObject
* obj0
= 0 ;
34863 char *kwnames
[] = {
34864 (char *) "self", NULL
34867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34869 if (SWIG_arg_fail(1)) SWIG_fail
;
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34874 wxPyEndAllowThreads(__tstate
);
34875 if (PyErr_Occurred()) SWIG_fail
;
34878 resultobj
= wxPyMake_wxObject(result
, 0);
34886 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34889 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34891 return Py_BuildValue((char *)"");
34893 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
;
34895 long arg1
= (long) 0 ;
34897 PyObject
* obj0
= 0 ;
34898 char *kwnames
[] = {
34899 (char *) "style", NULL
34902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34905 arg1
= (long)(SWIG_As_long(obj0
));
34906 if (SWIG_arg_fail(1)) SWIG_fail
;
34910 if (!wxPyCheckForApp()) SWIG_fail
;
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34924 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
;
34926 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34927 wxMenu
*arg2
= (wxMenu
*) 0 ;
34928 wxString
*arg3
= 0 ;
34930 bool temp3
= false ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "menu",(char *) "title", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34940 if (SWIG_arg_fail(1)) SWIG_fail
;
34941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34942 if (SWIG_arg_fail(2)) SWIG_fail
;
34944 arg3
= wxString_in_helper(obj2
);
34945 if (arg3
== NULL
) SWIG_fail
;
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34972 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34976 wxMenu
*arg3
= (wxMenu
*) 0 ;
34977 wxString
*arg4
= 0 ;
34979 bool temp4
= false ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 PyObject
* obj2
= 0 ;
34983 PyObject
* obj3
= 0 ;
34984 char *kwnames
[] = {
34985 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34990 if (SWIG_arg_fail(1)) SWIG_fail
;
34992 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34993 if (SWIG_arg_fail(2)) SWIG_fail
;
34995 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34996 if (SWIG_arg_fail(3)) SWIG_fail
;
34998 arg4
= wxString_in_helper(obj3
);
34999 if (arg4
== NULL
) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35026 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
;
35028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35030 PyObject
* obj0
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35037 if (SWIG_arg_fail(1)) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35054 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
;
35056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35059 PyObject
* obj0
= 0 ;
35060 PyObject
* obj1
= 0 ;
35061 char *kwnames
[] = {
35062 (char *) "self",(char *) "pos", NULL
35065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35067 if (SWIG_arg_fail(1)) SWIG_fail
;
35069 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35070 if (SWIG_arg_fail(2)) SWIG_fail
;
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35076 wxPyEndAllowThreads(__tstate
);
35077 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= wxPyMake_wxObject(result
, 0);
35088 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
;
35090 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35092 wxMenu
*arg3
= (wxMenu
*) 0 ;
35093 wxString
*arg4
= 0 ;
35095 bool temp4
= false ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 PyObject
* obj2
= 0 ;
35099 PyObject
* obj3
= 0 ;
35100 char *kwnames
[] = {
35101 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35106 if (SWIG_arg_fail(1)) SWIG_fail
;
35108 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35109 if (SWIG_arg_fail(2)) SWIG_fail
;
35111 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35112 if (SWIG_arg_fail(3)) SWIG_fail
;
35114 arg4
= wxString_in_helper(obj3
);
35115 if (arg4
== NULL
) SWIG_fail
;
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= wxPyMake_wxObject(result
, 0);
35142 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
;
35144 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 char *kwnames
[] = {
35150 (char *) "self",(char *) "pos", NULL
35153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35155 if (SWIG_arg_fail(1)) SWIG_fail
;
35157 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35158 if (SWIG_arg_fail(2)) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= wxPyMake_wxObject(result
, 0);
35176 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35177 PyObject
*resultobj
;
35178 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35181 PyObject
* obj0
= 0 ;
35182 PyObject
* obj1
= 0 ;
35183 PyObject
* obj2
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self",(char *) "pos",(char *) "enable", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35190 if (SWIG_arg_fail(1)) SWIG_fail
;
35192 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35193 if (SWIG_arg_fail(2)) SWIG_fail
;
35196 arg3
= (bool)(SWIG_As_bool(obj2
));
35197 if (SWIG_arg_fail(3)) SWIG_fail
;
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 (arg1
)->EnableTop(arg2
,arg3
);
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 Py_INCREF(Py_None
); resultobj
= Py_None
;
35213 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
;
35215 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35218 PyObject
* obj0
= 0 ;
35219 PyObject
* obj1
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self",(char *) "pos", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35226 if (SWIG_arg_fail(1)) SWIG_fail
;
35228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35229 if (SWIG_arg_fail(2)) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35247 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
;
35249 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35251 wxString
*arg3
= 0 ;
35252 bool temp3
= false ;
35253 PyObject
* obj0
= 0 ;
35254 PyObject
* obj1
= 0 ;
35255 PyObject
* obj2
= 0 ;
35256 char *kwnames
[] = {
35257 (char *) "self",(char *) "pos",(char *) "label", NULL
35260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35262 if (SWIG_arg_fail(1)) SWIG_fail
;
35264 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35265 if (SWIG_arg_fail(2)) SWIG_fail
;
35268 arg3
= wxString_in_helper(obj2
);
35269 if (arg3
== NULL
) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 Py_INCREF(Py_None
); resultobj
= Py_None
;
35294 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35295 PyObject
*resultobj
;
35296 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 char *kwnames
[] = {
35302 (char *) "self",(char *) "pos", NULL
35305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35307 if (SWIG_arg_fail(1)) SWIG_fail
;
35309 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35310 if (SWIG_arg_fail(2)) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35332 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35333 PyObject
*resultobj
;
35334 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35335 wxString
*arg2
= 0 ;
35336 wxString
*arg3
= 0 ;
35338 bool temp2
= false ;
35339 bool temp3
= false ;
35340 PyObject
* obj0
= 0 ;
35341 PyObject
* obj1
= 0 ;
35342 PyObject
* obj2
= 0 ;
35343 char *kwnames
[] = {
35344 (char *) "self",(char *) "menu",(char *) "item", NULL
35347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35349 if (SWIG_arg_fail(1)) SWIG_fail
;
35351 arg2
= wxString_in_helper(obj1
);
35352 if (arg2
== NULL
) SWIG_fail
;
35356 arg3
= wxString_in_helper(obj2
);
35357 if (arg3
== NULL
) SWIG_fail
;
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35364 wxPyEndAllowThreads(__tstate
);
35365 if (PyErr_Occurred()) SWIG_fail
;
35368 resultobj
= SWIG_From_int((int)(result
));
35392 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
;
35394 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35396 wxMenuItem
*result
;
35397 PyObject
* obj0
= 0 ;
35398 PyObject
* obj1
= 0 ;
35399 char *kwnames
[] = {
35400 (char *) "self",(char *) "id", NULL
35403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35405 if (SWIG_arg_fail(1)) SWIG_fail
;
35407 arg2
= (int)(SWIG_As_int(obj1
));
35408 if (SWIG_arg_fail(2)) SWIG_fail
;
35411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35418 resultobj
= wxPyMake_wxObject(result
, 0);
35426 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35427 PyObject
*resultobj
;
35428 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35429 wxString
*arg2
= 0 ;
35431 bool temp2
= false ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 char *kwnames
[] = {
35435 (char *) "self",(char *) "title", NULL
35438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35440 if (SWIG_arg_fail(1)) SWIG_fail
;
35442 arg2
= wxString_in_helper(obj1
);
35443 if (arg2
== NULL
) SWIG_fail
;
35447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35450 wxPyEndAllowThreads(__tstate
);
35451 if (PyErr_Occurred()) SWIG_fail
;
35454 resultobj
= SWIG_From_int((int)(result
));
35470 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 PyObject
* obj2
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self",(char *) "id",(char *) "enable", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35484 if (SWIG_arg_fail(1)) SWIG_fail
;
35486 arg2
= (int)(SWIG_As_int(obj1
));
35487 if (SWIG_arg_fail(2)) SWIG_fail
;
35490 arg3
= (bool)(SWIG_As_bool(obj2
));
35491 if (SWIG_arg_fail(3)) SWIG_fail
;
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 (arg1
)->Enable(arg2
,arg3
);
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 Py_INCREF(Py_None
); resultobj
= Py_None
;
35507 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
;
35509 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35512 PyObject
* obj0
= 0 ;
35513 PyObject
* obj1
= 0 ;
35514 PyObject
* obj2
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self",(char *) "id",(char *) "check", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35521 if (SWIG_arg_fail(1)) SWIG_fail
;
35523 arg2
= (int)(SWIG_As_int(obj1
));
35524 if (SWIG_arg_fail(2)) SWIG_fail
;
35527 arg3
= (bool)(SWIG_As_bool(obj2
));
35528 if (SWIG_arg_fail(3)) SWIG_fail
;
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 (arg1
)->Check(arg2
,arg3
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35537 Py_INCREF(Py_None
); resultobj
= Py_None
;
35544 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
;
35546 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35549 PyObject
* obj0
= 0 ;
35550 PyObject
* obj1
= 0 ;
35551 char *kwnames
[] = {
35552 (char *) "self",(char *) "id", NULL
35555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35557 if (SWIG_arg_fail(1)) SWIG_fail
;
35559 arg2
= (int)(SWIG_As_int(obj1
));
35560 if (SWIG_arg_fail(2)) SWIG_fail
;
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35578 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
;
35580 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 char *kwnames
[] = {
35586 (char *) "self",(char *) "id", NULL
35589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35591 if (SWIG_arg_fail(1)) SWIG_fail
;
35593 arg2
= (int)(SWIG_As_int(obj1
));
35594 if (SWIG_arg_fail(2)) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35612 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
;
35614 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35616 wxString
*arg3
= 0 ;
35617 bool temp3
= false ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 PyObject
* obj2
= 0 ;
35621 char *kwnames
[] = {
35622 (char *) "self",(char *) "id",(char *) "label", NULL
35625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35627 if (SWIG_arg_fail(1)) SWIG_fail
;
35629 arg2
= (int)(SWIG_As_int(obj1
));
35630 if (SWIG_arg_fail(2)) SWIG_fail
;
35633 arg3
= wxString_in_helper(obj2
);
35634 if (arg3
== NULL
) SWIG_fail
;
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 Py_INCREF(Py_None
); resultobj
= Py_None
;
35659 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
;
35661 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35664 PyObject
* obj0
= 0 ;
35665 PyObject
* obj1
= 0 ;
35666 char *kwnames
[] = {
35667 (char *) "self",(char *) "id", NULL
35670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35672 if (SWIG_arg_fail(1)) SWIG_fail
;
35674 arg2
= (int)(SWIG_As_int(obj1
));
35675 if (SWIG_arg_fail(2)) SWIG_fail
;
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35697 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
;
35699 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35701 wxString
*arg3
= 0 ;
35702 bool temp3
= false ;
35703 PyObject
* obj0
= 0 ;
35704 PyObject
* obj1
= 0 ;
35705 PyObject
* obj2
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self",(char *) "id",(char *) "helpString", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35712 if (SWIG_arg_fail(1)) SWIG_fail
;
35714 arg2
= (int)(SWIG_As_int(obj1
));
35715 if (SWIG_arg_fail(2)) SWIG_fail
;
35718 arg3
= wxString_in_helper(obj2
);
35719 if (arg3
== NULL
) SWIG_fail
;
35723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 Py_INCREF(Py_None
); resultobj
= Py_None
;
35744 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35745 PyObject
*resultobj
;
35746 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35749 PyObject
* obj0
= 0 ;
35750 PyObject
* obj1
= 0 ;
35751 char *kwnames
[] = {
35752 (char *) "self",(char *) "id", NULL
35755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35757 if (SWIG_arg_fail(1)) SWIG_fail
;
35759 arg2
= (int)(SWIG_As_int(obj1
));
35760 if (SWIG_arg_fail(2)) SWIG_fail
;
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35782 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
;
35784 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35793 if (SWIG_arg_fail(1)) SWIG_fail
;
35795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35796 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35802 resultobj
= wxPyMake_wxObject(result
, 0);
35810 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35811 PyObject
*resultobj
;
35812 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35814 PyObject
* obj0
= 0 ;
35815 char *kwnames
[] = {
35816 (char *) "self", NULL
35819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35821 if (SWIG_arg_fail(1)) SWIG_fail
;
35823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35826 wxPyEndAllowThreads(__tstate
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35838 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35841 wxFrame
*arg2
= (wxFrame
*) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self",(char *) "frame", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35850 if (SWIG_arg_fail(1)) SWIG_fail
;
35851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35852 if (SWIG_arg_fail(2)) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 (arg1
)->Attach(arg2
);
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 Py_INCREF(Py_None
); resultobj
= Py_None
;
35867 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
;
35869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35870 PyObject
* obj0
= 0 ;
35871 char *kwnames
[] = {
35872 (char *) "self", NULL
35875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35877 if (SWIG_arg_fail(1)) SWIG_fail
;
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 Py_INCREF(Py_None
); resultobj
= Py_None
;
35892 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35895 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35897 return Py_BuildValue((char *)"");
35899 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
;
35901 wxMenu
*arg1
= (wxMenu
*) NULL
;
35902 int arg2
= (int) wxID_ANY
;
35903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35905 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35906 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35907 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35908 wxMenu
*arg6
= (wxMenu
*) NULL
;
35909 wxMenuItem
*result
;
35910 bool temp3
= false ;
35911 bool temp4
= false ;
35912 PyObject
* obj0
= 0 ;
35913 PyObject
* obj1
= 0 ;
35914 PyObject
* obj2
= 0 ;
35915 PyObject
* obj3
= 0 ;
35916 PyObject
* obj4
= 0 ;
35917 PyObject
* obj5
= 0 ;
35918 char *kwnames
[] = {
35919 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35925 if (SWIG_arg_fail(1)) SWIG_fail
;
35929 arg2
= (int)(SWIG_As_int(obj1
));
35930 if (SWIG_arg_fail(2)) SWIG_fail
;
35935 arg3
= wxString_in_helper(obj2
);
35936 if (arg3
== NULL
) SWIG_fail
;
35942 arg4
= wxString_in_helper(obj3
);
35943 if (arg4
== NULL
) SWIG_fail
;
35949 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35950 if (SWIG_arg_fail(5)) SWIG_fail
;
35954 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(6)) SWIG_fail
;
35958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= wxPyMake_wxObject(result
, 1);
35989 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
;
35991 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35993 PyObject
* obj0
= 0 ;
35994 char *kwnames
[] = {
35995 (char *) "self", NULL
35998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36000 if (SWIG_arg_fail(1)) SWIG_fail
;
36002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36003 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36005 wxPyEndAllowThreads(__tstate
);
36006 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= wxPyMake_wxObject(result
, 0);
36017 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
;
36019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36020 wxMenu
*arg2
= (wxMenu
*) 0 ;
36021 PyObject
* obj0
= 0 ;
36022 PyObject
* obj1
= 0 ;
36023 char *kwnames
[] = {
36024 (char *) "self",(char *) "menu", NULL
36027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36029 if (SWIG_arg_fail(1)) SWIG_fail
;
36030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36031 if (SWIG_arg_fail(2)) SWIG_fail
;
36033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36034 (arg1
)->SetMenu(arg2
);
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 Py_INCREF(Py_None
); resultobj
= Py_None
;
36046 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
;
36048 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36050 PyObject
* obj0
= 0 ;
36051 PyObject
* obj1
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self",(char *) "id", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(1)) SWIG_fail
;
36060 arg2
= (int)(SWIG_As_int(obj1
));
36061 if (SWIG_arg_fail(2)) SWIG_fail
;
36064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36065 (arg1
)->SetId(arg2
);
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 Py_INCREF(Py_None
); resultobj
= Py_None
;
36077 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
;
36079 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36088 if (SWIG_arg_fail(1)) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= SWIG_From_int((int)(result
));
36105 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36116 if (SWIG_arg_fail(1)) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36133 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
;
36135 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36136 wxString
*arg2
= 0 ;
36137 bool temp2
= false ;
36138 PyObject
* obj0
= 0 ;
36139 PyObject
* obj1
= 0 ;
36140 char *kwnames
[] = {
36141 (char *) "self",(char *) "str", NULL
36144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36146 if (SWIG_arg_fail(1)) SWIG_fail
;
36148 arg2
= wxString_in_helper(obj1
);
36149 if (arg2
== NULL
) SWIG_fail
;
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 (arg1
)->SetText((wxString
const &)*arg2
);
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36159 Py_INCREF(Py_None
); resultobj
= Py_None
;
36174 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
;
36176 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36178 PyObject
* obj0
= 0 ;
36179 char *kwnames
[] = {
36180 (char *) "self", NULL
36183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36185 if (SWIG_arg_fail(1)) SWIG_fail
;
36187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36190 wxPyEndAllowThreads(__tstate
);
36191 if (PyErr_Occurred()) SWIG_fail
;
36195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36206 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
;
36208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36210 PyObject
* obj0
= 0 ;
36211 char *kwnames
[] = {
36212 (char *) "self", NULL
36215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36217 if (SWIG_arg_fail(1)) SWIG_fail
;
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36221 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36222 result
= (wxString
*) &_result_ref
;
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36230 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36232 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36241 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36242 PyObject
*resultobj
;
36243 wxString
*arg1
= 0 ;
36245 bool temp1
= false ;
36246 PyObject
* obj0
= 0 ;
36247 char *kwnames
[] = {
36248 (char *) "text", NULL
36251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36253 arg1
= wxString_in_helper(obj0
);
36254 if (arg1
== NULL
) SWIG_fail
;
36258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36261 wxPyEndAllowThreads(__tstate
);
36262 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36285 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
;
36287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36289 PyObject
* obj0
= 0 ;
36290 char *kwnames
[] = {
36291 (char *) "self", NULL
36294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36296 if (SWIG_arg_fail(1)) SWIG_fail
;
36298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36299 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36304 resultobj
= SWIG_From_int((result
));
36311 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
;
36313 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36315 PyObject
* obj0
= 0 ;
36316 PyObject
* obj1
= 0 ;
36317 char *kwnames
[] = {
36318 (char *) "self",(char *) "kind", NULL
36321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36323 if (SWIG_arg_fail(1)) SWIG_fail
;
36325 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36326 if (SWIG_arg_fail(2)) SWIG_fail
;
36329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36330 (arg1
)->SetKind((wxItemKind
)arg2
);
36332 wxPyEndAllowThreads(__tstate
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36335 Py_INCREF(Py_None
); resultobj
= Py_None
;
36342 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36343 PyObject
*resultobj
;
36344 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36346 PyObject
* obj0
= 0 ;
36347 PyObject
* obj1
= 0 ;
36348 char *kwnames
[] = {
36349 (char *) "self",(char *) "checkable", NULL
36352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36354 if (SWIG_arg_fail(1)) SWIG_fail
;
36356 arg2
= (bool)(SWIG_As_bool(obj1
));
36357 if (SWIG_arg_fail(2)) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 (arg1
)->SetCheckable(arg2
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 Py_INCREF(Py_None
); resultobj
= Py_None
;
36373 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36374 PyObject
*resultobj
;
36375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36377 PyObject
* obj0
= 0 ;
36378 char *kwnames
[] = {
36379 (char *) "self", NULL
36382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36384 if (SWIG_arg_fail(1)) SWIG_fail
;
36386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36387 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36389 wxPyEndAllowThreads(__tstate
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36401 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36405 PyObject
* obj0
= 0 ;
36406 char *kwnames
[] = {
36407 (char *) "self", NULL
36410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36412 if (SWIG_arg_fail(1)) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36429 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
;
36431 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36432 wxMenu
*arg2
= (wxMenu
*) 0 ;
36433 PyObject
* obj0
= 0 ;
36434 PyObject
* obj1
= 0 ;
36435 char *kwnames
[] = {
36436 (char *) "self",(char *) "menu", NULL
36439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36441 if (SWIG_arg_fail(1)) SWIG_fail
;
36442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36443 if (SWIG_arg_fail(2)) SWIG_fail
;
36445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36446 (arg1
)->SetSubMenu(arg2
);
36448 wxPyEndAllowThreads(__tstate
);
36449 if (PyErr_Occurred()) SWIG_fail
;
36451 Py_INCREF(Py_None
); resultobj
= Py_None
;
36458 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36459 PyObject
*resultobj
;
36460 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36462 PyObject
* obj0
= 0 ;
36463 char *kwnames
[] = {
36464 (char *) "self", NULL
36467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36469 if (SWIG_arg_fail(1)) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= wxPyMake_wxObject(result
, 0);
36486 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
;
36488 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36489 bool arg2
= (bool) true ;
36490 PyObject
* obj0
= 0 ;
36491 PyObject
* obj1
= 0 ;
36492 char *kwnames
[] = {
36493 (char *) "self",(char *) "enable", NULL
36496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36498 if (SWIG_arg_fail(1)) SWIG_fail
;
36501 arg2
= (bool)(SWIG_As_bool(obj1
));
36502 if (SWIG_arg_fail(2)) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 (arg1
)->Enable(arg2
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 Py_INCREF(Py_None
); resultobj
= Py_None
;
36519 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
;
36521 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36523 PyObject
* obj0
= 0 ;
36524 char *kwnames
[] = {
36525 (char *) "self", NULL
36528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36530 if (SWIG_arg_fail(1)) SWIG_fail
;
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36547 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36548 PyObject
*resultobj
;
36549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36550 bool arg2
= (bool) true ;
36551 PyObject
* obj0
= 0 ;
36552 PyObject
* obj1
= 0 ;
36553 char *kwnames
[] = {
36554 (char *) "self",(char *) "check", NULL
36557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36559 if (SWIG_arg_fail(1)) SWIG_fail
;
36562 arg2
= (bool)(SWIG_As_bool(obj1
));
36563 if (SWIG_arg_fail(2)) SWIG_fail
;
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 (arg1
)->Check(arg2
);
36570 wxPyEndAllowThreads(__tstate
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36573 Py_INCREF(Py_None
); resultobj
= Py_None
;
36580 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
;
36582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36584 PyObject
* obj0
= 0 ;
36585 char *kwnames
[] = {
36586 (char *) "self", NULL
36589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36591 if (SWIG_arg_fail(1)) SWIG_fail
;
36593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36594 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36608 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
;
36610 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36611 PyObject
* obj0
= 0 ;
36612 char *kwnames
[] = {
36613 (char *) "self", NULL
36616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36618 if (SWIG_arg_fail(1)) SWIG_fail
;
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 wxPyEndAllowThreads(__tstate
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36626 Py_INCREF(Py_None
); resultobj
= Py_None
;
36633 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36634 PyObject
*resultobj
;
36635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36636 wxString
*arg2
= 0 ;
36637 bool temp2
= false ;
36638 PyObject
* obj0
= 0 ;
36639 PyObject
* obj1
= 0 ;
36640 char *kwnames
[] = {
36641 (char *) "self",(char *) "str", NULL
36644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36646 if (SWIG_arg_fail(1)) SWIG_fail
;
36648 arg2
= wxString_in_helper(obj1
);
36649 if (arg2
== NULL
) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->SetHelp((wxString
const &)*arg2
);
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 Py_INCREF(Py_None
); resultobj
= Py_None
;
36674 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
;
36676 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36678 PyObject
* obj0
= 0 ;
36679 char *kwnames
[] = {
36680 (char *) "self", NULL
36683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36685 if (SWIG_arg_fail(1)) SWIG_fail
;
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36690 result
= (wxString
*) &_result_ref
;
36693 wxPyEndAllowThreads(__tstate
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36698 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36700 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36709 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36710 PyObject
*resultobj
;
36711 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36712 wxAcceleratorEntry
*result
;
36713 PyObject
* obj0
= 0 ;
36714 char *kwnames
[] = {
36715 (char *) "self", NULL
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36720 if (SWIG_arg_fail(1)) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36735 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
;
36737 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36738 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 PyObject
* obj1
= 0 ;
36741 char *kwnames
[] = {
36742 (char *) "self",(char *) "accel", NULL
36745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36747 if (SWIG_arg_fail(1)) SWIG_fail
;
36748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36749 if (SWIG_arg_fail(2)) SWIG_fail
;
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 (arg1
)->SetAccel(arg2
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 Py_INCREF(Py_None
); resultobj
= Py_None
;
36764 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
;
36766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36768 PyObject
* obj0
= 0 ;
36769 PyObject
* obj1
= 0 ;
36770 char *kwnames
[] = {
36771 (char *) "self",(char *) "font", NULL
36774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36776 if (SWIG_arg_fail(1)) SWIG_fail
;
36778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36779 if (SWIG_arg_fail(2)) SWIG_fail
;
36780 if (arg2
== NULL
) {
36781 SWIG_null_ref("wxFont");
36783 if (SWIG_arg_fail(2)) SWIG_fail
;
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36787 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 Py_INCREF(Py_None
); resultobj
= Py_None
;
36799 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
;
36801 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36803 PyObject
* obj0
= 0 ;
36804 char *kwnames
[] = {
36805 (char *) "self", NULL
36808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36810 if (SWIG_arg_fail(1)) SWIG_fail
;
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 result
= wxMenuItem_GetFont(arg1
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36819 wxFont
* resultptr
;
36820 resultptr
= new wxFont((wxFont
&)(result
));
36821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36829 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
;
36831 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36832 wxColour
*arg2
= 0 ;
36834 PyObject
* obj0
= 0 ;
36835 PyObject
* obj1
= 0 ;
36836 char *kwnames
[] = {
36837 (char *) "self",(char *) "colText", NULL
36840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36842 if (SWIG_arg_fail(1)) SWIG_fail
;
36845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 Py_INCREF(Py_None
); resultobj
= Py_None
;
36861 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
;
36863 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36865 PyObject
* obj0
= 0 ;
36866 char *kwnames
[] = {
36867 (char *) "self", NULL
36870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36872 if (SWIG_arg_fail(1)) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 result
= wxMenuItem_GetTextColour(arg1
);
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36881 wxColour
* resultptr
;
36882 resultptr
= new wxColour((wxColour
&)(result
));
36883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36891 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36892 PyObject
*resultobj
;
36893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36894 wxColour
*arg2
= 0 ;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char *kwnames
[] = {
36899 (char *) "self",(char *) "colBack", NULL
36902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36904 if (SWIG_arg_fail(1)) SWIG_fail
;
36907 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 Py_INCREF(Py_None
); resultobj
= Py_None
;
36923 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
;
36925 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36927 PyObject
* obj0
= 0 ;
36928 char *kwnames
[] = {
36929 (char *) "self", NULL
36932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36934 if (SWIG_arg_fail(1)) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= wxMenuItem_GetBackgroundColour(arg1
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36943 wxColour
* resultptr
;
36944 resultptr
= new wxColour((wxColour
&)(result
));
36945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36953 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
;
36955 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36956 wxBitmap
*arg2
= 0 ;
36957 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36958 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36959 PyObject
* obj0
= 0 ;
36960 PyObject
* obj1
= 0 ;
36961 PyObject
* obj2
= 0 ;
36962 char *kwnames
[] = {
36963 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36968 if (SWIG_arg_fail(1)) SWIG_fail
;
36970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36971 if (SWIG_arg_fail(2)) SWIG_fail
;
36972 if (arg2
== NULL
) {
36973 SWIG_null_ref("wxBitmap");
36975 if (SWIG_arg_fail(2)) SWIG_fail
;
36979 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36980 if (SWIG_arg_fail(3)) SWIG_fail
;
36981 if (arg3
== NULL
) {
36982 SWIG_null_ref("wxBitmap");
36984 if (SWIG_arg_fail(3)) SWIG_fail
;
36988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36989 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 Py_INCREF(Py_None
); resultobj
= Py_None
;
37001 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
;
37003 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37004 wxBitmap
*arg2
= 0 ;
37005 PyObject
* obj0
= 0 ;
37006 PyObject
* obj1
= 0 ;
37007 char *kwnames
[] = {
37008 (char *) "self",(char *) "bmpDisabled", NULL
37011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37013 if (SWIG_arg_fail(1)) SWIG_fail
;
37015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37016 if (SWIG_arg_fail(2)) SWIG_fail
;
37017 if (arg2
== NULL
) {
37018 SWIG_null_ref("wxBitmap");
37020 if (SWIG_arg_fail(2)) SWIG_fail
;
37023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37024 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37026 wxPyEndAllowThreads(__tstate
);
37027 if (PyErr_Occurred()) SWIG_fail
;
37029 Py_INCREF(Py_None
); resultobj
= Py_None
;
37036 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37037 PyObject
*resultobj
;
37038 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37040 PyObject
* obj0
= 0 ;
37041 char *kwnames
[] = {
37042 (char *) "self", NULL
37045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37047 if (SWIG_arg_fail(1)) SWIG_fail
;
37049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37052 result
= (wxBitmap
*) &_result_ref
;
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37059 wxBitmap
* resultptr
= new wxBitmap(*result
);
37060 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37068 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
;
37070 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37072 PyObject
* obj0
= 0 ;
37073 PyObject
* obj1
= 0 ;
37074 char *kwnames
[] = {
37075 (char *) "self",(char *) "nWidth", NULL
37078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37080 if (SWIG_arg_fail(1)) SWIG_fail
;
37082 arg2
= (int)(SWIG_As_int(obj1
));
37083 if (SWIG_arg_fail(2)) SWIG_fail
;
37086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37087 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37089 wxPyEndAllowThreads(__tstate
);
37090 if (PyErr_Occurred()) SWIG_fail
;
37092 Py_INCREF(Py_None
); resultobj
= Py_None
;
37099 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
;
37101 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37103 PyObject
* obj0
= 0 ;
37104 char *kwnames
[] = {
37105 (char *) "self", NULL
37108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37110 if (SWIG_arg_fail(1)) SWIG_fail
;
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37115 wxPyEndAllowThreads(__tstate
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_From_int((int)(result
));
37127 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
;
37130 char *kwnames
[] = {
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 result
= (int)MenuItem_GetDefaultMarginWidth();
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37143 resultobj
= SWIG_From_int((int)(result
));
37151 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
;
37153 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37155 PyObject
* obj0
= 0 ;
37156 char *kwnames
[] = {
37157 (char *) "self", NULL
37160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37162 if (SWIG_arg_fail(1)) SWIG_fail
;
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37179 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37180 PyObject
*resultobj
;
37181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37182 bool arg2
= (bool) true ;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37185 char *kwnames
[] = {
37186 (char *) "self",(char *) "ownerDrawn", NULL
37189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37191 if (SWIG_arg_fail(1)) SWIG_fail
;
37194 arg2
= (bool)(SWIG_As_bool(obj1
));
37195 if (SWIG_arg_fail(2)) SWIG_fail
;
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 Py_INCREF(Py_None
); resultobj
= Py_None
;
37212 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37213 PyObject
*resultobj
;
37214 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37215 PyObject
* obj0
= 0 ;
37216 char *kwnames
[] = {
37217 (char *) "self", NULL
37220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37222 if (SWIG_arg_fail(1)) SWIG_fail
;
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 wxMenuItem_ResetOwnerDrawn(arg1
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 Py_INCREF(Py_None
); resultobj
= Py_None
;
37237 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
;
37239 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37240 wxBitmap
*arg2
= 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 char *kwnames
[] = {
37244 (char *) "self",(char *) "bitmap", NULL
37247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37249 if (SWIG_arg_fail(1)) SWIG_fail
;
37251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37252 if (SWIG_arg_fail(2)) SWIG_fail
;
37253 if (arg2
== NULL
) {
37254 SWIG_null_ref("wxBitmap");
37256 if (SWIG_arg_fail(2)) SWIG_fail
;
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 Py_INCREF(Py_None
); resultobj
= Py_None
;
37272 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
;
37274 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37276 PyObject
* obj0
= 0 ;
37277 char *kwnames
[] = {
37278 (char *) "self", NULL
37281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37283 if (SWIG_arg_fail(1)) SWIG_fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37287 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37288 result
= (wxBitmap
*) &_result_ref
;
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37295 wxBitmap
* resultptr
= new wxBitmap(*result
);
37296 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37304 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37307 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37309 return Py_BuildValue((char *)"");
37311 static int _wrap_ControlNameStr_set(PyObject
*) {
37312 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37317 static PyObject
*_wrap_ControlNameStr_get(void) {
37322 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37324 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37331 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
;
37333 wxWindow
*arg1
= (wxWindow
*) 0 ;
37334 int arg2
= (int) -1 ;
37335 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37336 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37337 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37338 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37339 long arg5
= (long) 0 ;
37340 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37341 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37342 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37347 bool temp7
= false ;
37348 PyObject
* obj0
= 0 ;
37349 PyObject
* obj1
= 0 ;
37350 PyObject
* obj2
= 0 ;
37351 PyObject
* obj3
= 0 ;
37352 PyObject
* obj4
= 0 ;
37353 PyObject
* obj5
= 0 ;
37354 PyObject
* obj6
= 0 ;
37355 char *kwnames
[] = {
37356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37361 if (SWIG_arg_fail(1)) SWIG_fail
;
37364 arg2
= (int)(SWIG_As_int(obj1
));
37365 if (SWIG_arg_fail(2)) SWIG_fail
;
37371 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37377 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37382 arg5
= (long)(SWIG_As_long(obj4
));
37383 if (SWIG_arg_fail(5)) SWIG_fail
;
37388 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37389 if (SWIG_arg_fail(6)) SWIG_fail
;
37390 if (arg6
== NULL
) {
37391 SWIG_null_ref("wxValidator");
37393 if (SWIG_arg_fail(6)) SWIG_fail
;
37398 arg7
= wxString_in_helper(obj6
);
37399 if (arg7
== NULL
) SWIG_fail
;
37404 if (!wxPyCheckForApp()) SWIG_fail
;
37405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37406 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37426 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37427 PyObject
*resultobj
;
37429 char *kwnames
[] = {
37433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37435 if (!wxPyCheckForApp()) SWIG_fail
;
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 result
= (wxControl
*)new wxControl();
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37449 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37450 PyObject
*resultobj
;
37451 wxControl
*arg1
= (wxControl
*) 0 ;
37452 wxWindow
*arg2
= (wxWindow
*) 0 ;
37453 int arg3
= (int) -1 ;
37454 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37455 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37456 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37457 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37458 long arg6
= (long) 0 ;
37459 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37460 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37461 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37466 bool temp8
= false ;
37467 PyObject
* obj0
= 0 ;
37468 PyObject
* obj1
= 0 ;
37469 PyObject
* obj2
= 0 ;
37470 PyObject
* obj3
= 0 ;
37471 PyObject
* obj4
= 0 ;
37472 PyObject
* obj5
= 0 ;
37473 PyObject
* obj6
= 0 ;
37474 PyObject
* obj7
= 0 ;
37475 char *kwnames
[] = {
37476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37481 if (SWIG_arg_fail(1)) SWIG_fail
;
37482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37483 if (SWIG_arg_fail(2)) SWIG_fail
;
37486 arg3
= (int)(SWIG_As_int(obj2
));
37487 if (SWIG_arg_fail(3)) SWIG_fail
;
37493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37504 arg6
= (long)(SWIG_As_long(obj5
));
37505 if (SWIG_arg_fail(6)) SWIG_fail
;
37510 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37511 if (SWIG_arg_fail(7)) SWIG_fail
;
37512 if (arg7
== NULL
) {
37513 SWIG_null_ref("wxValidator");
37515 if (SWIG_arg_fail(7)) SWIG_fail
;
37520 arg8
= wxString_in_helper(obj7
);
37521 if (arg8
== NULL
) SWIG_fail
;
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37549 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
;
37551 wxControl
*arg1
= (wxControl
*) 0 ;
37552 wxCommandEvent
*arg2
= 0 ;
37553 PyObject
* obj0
= 0 ;
37554 PyObject
* obj1
= 0 ;
37555 char *kwnames
[] = {
37556 (char *) "self",(char *) "event", NULL
37559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37561 if (SWIG_arg_fail(1)) SWIG_fail
;
37563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37564 if (SWIG_arg_fail(2)) SWIG_fail
;
37565 if (arg2
== NULL
) {
37566 SWIG_null_ref("wxCommandEvent");
37568 if (SWIG_arg_fail(2)) SWIG_fail
;
37571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37572 (arg1
)->Command(*arg2
);
37574 wxPyEndAllowThreads(__tstate
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37577 Py_INCREF(Py_None
); resultobj
= Py_None
;
37584 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37585 PyObject
*resultobj
;
37586 wxControl
*arg1
= (wxControl
*) 0 ;
37588 PyObject
* obj0
= 0 ;
37589 char *kwnames
[] = {
37590 (char *) "self", NULL
37593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37595 if (SWIG_arg_fail(1)) SWIG_fail
;
37597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37598 result
= (arg1
)->GetLabel();
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37616 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxControl
*arg1
= (wxControl
*) 0 ;
37619 wxString
*arg2
= 0 ;
37620 bool temp2
= false ;
37621 PyObject
* obj0
= 0 ;
37622 PyObject
* obj1
= 0 ;
37623 char *kwnames
[] = {
37624 (char *) "self",(char *) "label", NULL
37627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37629 if (SWIG_arg_fail(1)) SWIG_fail
;
37631 arg2
= wxString_in_helper(obj1
);
37632 if (arg2
== NULL
) SWIG_fail
;
37636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37637 (arg1
)->SetLabel((wxString
const &)*arg2
);
37639 wxPyEndAllowThreads(__tstate
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37642 Py_INCREF(Py_None
); resultobj
= Py_None
;
37657 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
;
37659 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37660 wxVisualAttributes result
;
37661 PyObject
* obj0
= 0 ;
37662 char *kwnames
[] = {
37663 (char *) "variant", NULL
37666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37669 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37670 if (SWIG_arg_fail(1)) SWIG_fail
;
37674 if (!wxPyCheckForApp()) SWIG_fail
;
37675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37678 wxPyEndAllowThreads(__tstate
);
37679 if (PyErr_Occurred()) SWIG_fail
;
37682 wxVisualAttributes
* resultptr
;
37683 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37692 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37695 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37697 return Py_BuildValue((char *)"");
37699 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37700 PyObject
*resultobj
;
37701 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37702 wxString
*arg2
= 0 ;
37703 PyObject
*arg3
= (PyObject
*) NULL
;
37705 bool temp2
= false ;
37706 PyObject
* obj0
= 0 ;
37707 PyObject
* obj1
= 0 ;
37708 PyObject
* obj2
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "self",(char *) "item",(char *) "clientData", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37715 if (SWIG_arg_fail(1)) SWIG_fail
;
37717 arg2
= wxString_in_helper(obj1
);
37718 if (arg2
== NULL
) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37732 resultobj
= SWIG_From_int((int)(result
));
37748 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37749 PyObject
*resultobj
;
37750 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37751 wxArrayString
*arg2
= 0 ;
37752 bool temp2
= false ;
37753 PyObject
* obj0
= 0 ;
37754 PyObject
* obj1
= 0 ;
37755 char *kwnames
[] = {
37756 (char *) "self",(char *) "strings", NULL
37759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37761 if (SWIG_arg_fail(1)) SWIG_fail
;
37763 if (! PySequence_Check(obj1
)) {
37764 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37767 arg2
= new wxArrayString
;
37769 int i
, len
=PySequence_Length(obj1
);
37770 for (i
=0; i
<len
; i
++) {
37771 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37773 PyObject
* str
= PyObject_Unicode(item
);
37775 PyObject
* str
= PyObject_Str(item
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37778 arg2
->Add(Py2wxString(str
));
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 (arg1
)->Append((wxArrayString
const &)*arg2
);
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37790 Py_INCREF(Py_None
); resultobj
= Py_None
;
37792 if (temp2
) delete arg2
;
37797 if (temp2
) delete arg2
;
37803 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
;
37805 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37806 wxString
*arg2
= 0 ;
37808 PyObject
*arg4
= (PyObject
*) NULL
;
37810 bool temp2
= false ;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 PyObject
* obj2
= 0 ;
37814 PyObject
* obj3
= 0 ;
37815 char *kwnames
[] = {
37816 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37821 if (SWIG_arg_fail(1)) SWIG_fail
;
37823 arg2
= wxString_in_helper(obj1
);
37824 if (arg2
== NULL
) SWIG_fail
;
37828 arg3
= (int)(SWIG_As_int(obj2
));
37829 if (SWIG_arg_fail(3)) SWIG_fail
;
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37842 resultobj
= SWIG_From_int((int)(result
));
37858 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37859 PyObject
*resultobj
;
37860 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37861 PyObject
* obj0
= 0 ;
37862 char *kwnames
[] = {
37863 (char *) "self", NULL
37866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37868 if (SWIG_arg_fail(1)) SWIG_fail
;
37870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37876 Py_INCREF(Py_None
); resultobj
= Py_None
;
37883 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37884 PyObject
*resultobj
;
37885 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37887 PyObject
* obj0
= 0 ;
37888 PyObject
* obj1
= 0 ;
37889 char *kwnames
[] = {
37890 (char *) "self",(char *) "n", NULL
37893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37895 if (SWIG_arg_fail(1)) SWIG_fail
;
37897 arg2
= (int)(SWIG_As_int(obj1
));
37898 if (SWIG_arg_fail(2)) SWIG_fail
;
37901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37902 (arg1
)->Delete(arg2
);
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37907 Py_INCREF(Py_None
); resultobj
= Py_None
;
37914 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37915 PyObject
*resultobj
;
37916 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 PyObject
* obj1
= 0 ;
37921 char *kwnames
[] = {
37922 (char *) "self",(char *) "n", NULL
37925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37927 if (SWIG_arg_fail(1)) SWIG_fail
;
37929 arg2
= (int)(SWIG_As_int(obj1
));
37930 if (SWIG_arg_fail(2)) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37936 wxPyEndAllowThreads(__tstate
);
37937 if (PyErr_Occurred()) SWIG_fail
;
37939 resultobj
= result
;
37946 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37950 PyObject
*arg3
= (PyObject
*) 0 ;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 PyObject
* obj2
= 0 ;
37954 char *kwnames
[] = {
37955 (char *) "self",(char *) "n",(char *) "clientData", NULL
37958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37960 if (SWIG_arg_fail(1)) SWIG_fail
;
37962 arg2
= (int)(SWIG_As_int(obj1
));
37963 if (SWIG_arg_fail(2)) SWIG_fail
;
37967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37968 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37973 Py_INCREF(Py_None
); resultobj
= Py_None
;
37980 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37981 PyObject
*resultobj
;
37982 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37984 PyObject
* obj0
= 0 ;
37985 char *kwnames
[] = {
37986 (char *) "self", NULL
37989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37991 if (SWIG_arg_fail(1)) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
38000 resultobj
= SWIG_From_int((int)(result
));
38008 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
;
38010 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38012 PyObject
* obj0
= 0 ;
38013 char *kwnames
[] = {
38014 (char *) "self", NULL
38017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38019 if (SWIG_arg_fail(1)) SWIG_fail
;
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38036 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38041 PyObject
* obj0
= 0 ;
38042 PyObject
* obj1
= 0 ;
38043 char *kwnames
[] = {
38044 (char *) "self",(char *) "n", NULL
38047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38049 if (SWIG_arg_fail(1)) SWIG_fail
;
38051 arg2
= (int)(SWIG_As_int(obj1
));
38052 if (SWIG_arg_fail(2)) SWIG_fail
;
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38056 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38058 wxPyEndAllowThreads(__tstate
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38074 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
;
38076 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38077 wxArrayString result
;
38078 PyObject
* obj0
= 0 ;
38079 char *kwnames
[] = {
38080 (char *) "self", NULL
38083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38085 if (SWIG_arg_fail(1)) SWIG_fail
;
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38090 wxPyEndAllowThreads(__tstate
);
38091 if (PyErr_Occurred()) SWIG_fail
;
38094 resultobj
= wxArrayString2PyList_helper(result
);
38102 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38103 PyObject
*resultobj
;
38104 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38106 wxString
*arg3
= 0 ;
38107 bool temp3
= false ;
38108 PyObject
* obj0
= 0 ;
38109 PyObject
* obj1
= 0 ;
38110 PyObject
* obj2
= 0 ;
38111 char *kwnames
[] = {
38112 (char *) "self",(char *) "n",(char *) "s", NULL
38115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38117 if (SWIG_arg_fail(1)) SWIG_fail
;
38119 arg2
= (int)(SWIG_As_int(obj1
));
38120 if (SWIG_arg_fail(2)) SWIG_fail
;
38123 arg3
= wxString_in_helper(obj2
);
38124 if (arg3
== NULL
) SWIG_fail
;
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38131 wxPyEndAllowThreads(__tstate
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38134 Py_INCREF(Py_None
); resultobj
= Py_None
;
38149 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
;
38151 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38152 wxString
*arg2
= 0 ;
38154 bool temp2
= false ;
38155 PyObject
* obj0
= 0 ;
38156 PyObject
* obj1
= 0 ;
38157 char *kwnames
[] = {
38158 (char *) "self",(char *) "s", NULL
38161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38163 if (SWIG_arg_fail(1)) SWIG_fail
;
38165 arg2
= wxString_in_helper(obj1
);
38166 if (arg2
== NULL
) SWIG_fail
;
38170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38171 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38173 wxPyEndAllowThreads(__tstate
);
38174 if (PyErr_Occurred()) SWIG_fail
;
38177 resultobj
= SWIG_From_int((int)(result
));
38193 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38194 PyObject
*resultobj
;
38195 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38197 PyObject
* obj0
= 0 ;
38198 PyObject
* obj1
= 0 ;
38199 char *kwnames
[] = {
38200 (char *) "self",(char *) "n", NULL
38203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38205 if (SWIG_arg_fail(1)) SWIG_fail
;
38207 arg2
= (int)(SWIG_As_int(obj1
));
38208 if (SWIG_arg_fail(2)) SWIG_fail
;
38211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38212 (arg1
)->SetSelection(arg2
);
38214 wxPyEndAllowThreads(__tstate
);
38215 if (PyErr_Occurred()) SWIG_fail
;
38217 Py_INCREF(Py_None
); resultobj
= Py_None
;
38224 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38225 PyObject
*resultobj
;
38226 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38228 PyObject
* obj0
= 0 ;
38229 char *kwnames
[] = {
38230 (char *) "self", NULL
38233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38235 if (SWIG_arg_fail(1)) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= SWIG_From_int((int)(result
));
38252 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
;
38254 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38255 wxString
*arg2
= 0 ;
38257 bool temp2
= false ;
38258 PyObject
* obj0
= 0 ;
38259 PyObject
* obj1
= 0 ;
38260 char *kwnames
[] = {
38261 (char *) "self",(char *) "s", NULL
38264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38266 if (SWIG_arg_fail(1)) SWIG_fail
;
38268 arg2
= wxString_in_helper(obj1
);
38269 if (arg2
== NULL
) SWIG_fail
;
38273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38274 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38296 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38300 PyObject
* obj0
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38307 if (SWIG_arg_fail(1)) SWIG_fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38312 wxPyEndAllowThreads(__tstate
);
38313 if (PyErr_Occurred()) SWIG_fail
;
38317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38328 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38329 PyObject
*resultobj
;
38330 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38332 PyObject
* obj0
= 0 ;
38333 PyObject
* obj1
= 0 ;
38334 char *kwnames
[] = {
38335 (char *) "self",(char *) "n", NULL
38338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38340 if (SWIG_arg_fail(1)) SWIG_fail
;
38342 arg2
= (int)(SWIG_As_int(obj1
));
38343 if (SWIG_arg_fail(2)) SWIG_fail
;
38346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38347 (arg1
)->Select(arg2
);
38349 wxPyEndAllowThreads(__tstate
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38352 Py_INCREF(Py_None
); resultobj
= Py_None
;
38359 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38362 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38364 return Py_BuildValue((char *)"");
38366 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38369 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38371 return Py_BuildValue((char *)"");
38373 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38374 PyObject
*resultobj
;
38375 wxSizerItem
*result
;
38376 char *kwnames
[] = {
38380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38383 result
= (wxSizerItem
*)new wxSizerItem();
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38395 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
;
38397 wxWindow
*arg1
= (wxWindow
*) 0 ;
38401 PyObject
*arg5
= (PyObject
*) NULL
;
38402 wxSizerItem
*result
;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38405 PyObject
* obj2
= 0 ;
38406 PyObject
* obj3
= 0 ;
38407 PyObject
* obj4
= 0 ;
38408 char *kwnames
[] = {
38409 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38414 if (SWIG_arg_fail(1)) SWIG_fail
;
38416 arg2
= (int)(SWIG_As_int(obj1
));
38417 if (SWIG_arg_fail(2)) SWIG_fail
;
38420 arg3
= (int)(SWIG_As_int(obj2
));
38421 if (SWIG_arg_fail(3)) SWIG_fail
;
38424 arg4
= (int)(SWIG_As_int(obj3
));
38425 if (SWIG_arg_fail(4)) SWIG_fail
;
38431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38432 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38434 wxPyEndAllowThreads(__tstate
);
38435 if (PyErr_Occurred()) SWIG_fail
;
38437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38444 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38445 PyObject
*resultobj
;
38451 PyObject
*arg6
= (PyObject
*) NULL
;
38452 wxSizerItem
*result
;
38453 PyObject
* obj0
= 0 ;
38454 PyObject
* obj1
= 0 ;
38455 PyObject
* obj2
= 0 ;
38456 PyObject
* obj3
= 0 ;
38457 PyObject
* obj4
= 0 ;
38458 PyObject
* obj5
= 0 ;
38459 char *kwnames
[] = {
38460 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38465 arg1
= (int)(SWIG_As_int(obj0
));
38466 if (SWIG_arg_fail(1)) SWIG_fail
;
38469 arg2
= (int)(SWIG_As_int(obj1
));
38470 if (SWIG_arg_fail(2)) SWIG_fail
;
38473 arg3
= (int)(SWIG_As_int(obj2
));
38474 if (SWIG_arg_fail(3)) SWIG_fail
;
38477 arg4
= (int)(SWIG_As_int(obj3
));
38478 if (SWIG_arg_fail(4)) SWIG_fail
;
38481 arg5
= (int)(SWIG_As_int(obj4
));
38482 if (SWIG_arg_fail(5)) SWIG_fail
;
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38501 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38502 PyObject
*resultobj
;
38503 wxSizer
*arg1
= (wxSizer
*) 0 ;
38507 PyObject
*arg5
= (PyObject
*) NULL
;
38508 wxSizerItem
*result
;
38509 PyObject
* obj0
= 0 ;
38510 PyObject
* obj1
= 0 ;
38511 PyObject
* obj2
= 0 ;
38512 PyObject
* obj3
= 0 ;
38513 PyObject
* obj4
= 0 ;
38514 char *kwnames
[] = {
38515 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38520 if (SWIG_arg_fail(1)) SWIG_fail
;
38522 arg2
= (int)(SWIG_As_int(obj1
));
38523 if (SWIG_arg_fail(2)) SWIG_fail
;
38526 arg3
= (int)(SWIG_As_int(obj2
));
38527 if (SWIG_arg_fail(3)) SWIG_fail
;
38530 arg4
= (int)(SWIG_As_int(obj3
));
38531 if (SWIG_arg_fail(4)) SWIG_fail
;
38537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38538 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38540 wxPyEndAllowThreads(__tstate
);
38541 if (PyErr_Occurred()) SWIG_fail
;
38543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38550 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38551 PyObject
*resultobj
;
38552 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 char *kwnames
[] = {
38555 (char *) "self", NULL
38558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38560 if (SWIG_arg_fail(1)) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 (arg1
)->DeleteWindows();
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 Py_INCREF(Py_None
); resultobj
= Py_None
;
38575 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38576 PyObject
*resultobj
;
38577 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38578 PyObject
* obj0
= 0 ;
38579 char *kwnames
[] = {
38580 (char *) "self", NULL
38583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38585 if (SWIG_arg_fail(1)) SWIG_fail
;
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 (arg1
)->DetachSizer();
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 Py_INCREF(Py_None
); resultobj
= Py_None
;
38600 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
;
38602 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38604 PyObject
* obj0
= 0 ;
38605 char *kwnames
[] = {
38606 (char *) "self", NULL
38609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38611 if (SWIG_arg_fail(1)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 result
= (arg1
)->GetSize();
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38620 wxSize
* resultptr
;
38621 resultptr
= new wxSize((wxSize
&)(result
));
38622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38630 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
;
38632 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38634 PyObject
* obj0
= 0 ;
38635 char *kwnames
[] = {
38636 (char *) "self", NULL
38639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38641 if (SWIG_arg_fail(1)) SWIG_fail
;
38643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38644 result
= (arg1
)->CalcMin();
38646 wxPyEndAllowThreads(__tstate
);
38647 if (PyErr_Occurred()) SWIG_fail
;
38650 wxSize
* resultptr
;
38651 resultptr
= new wxSize((wxSize
&)(result
));
38652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38660 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
;
38662 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38665 PyObject
* obj0
= 0 ;
38666 PyObject
* obj1
= 0 ;
38667 PyObject
* obj2
= 0 ;
38668 char *kwnames
[] = {
38669 (char *) "self",(char *) "pos",(char *) "size", NULL
38672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38674 if (SWIG_arg_fail(1)) SWIG_fail
;
38677 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38678 if (SWIG_arg_fail(2)) SWIG_fail
;
38679 if (argp
== NULL
) {
38680 SWIG_null_ref("wxPoint");
38682 if (SWIG_arg_fail(2)) SWIG_fail
;
38687 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38688 if (SWIG_arg_fail(3)) SWIG_fail
;
38689 if (argp
== NULL
) {
38690 SWIG_null_ref("wxSize");
38692 if (SWIG_arg_fail(3)) SWIG_fail
;
38696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38697 (arg1
)->SetDimension(arg2
,arg3
);
38699 wxPyEndAllowThreads(__tstate
);
38700 if (PyErr_Occurred()) SWIG_fail
;
38702 Py_INCREF(Py_None
); resultobj
= Py_None
;
38709 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38710 PyObject
*resultobj
;
38711 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38713 PyObject
* obj0
= 0 ;
38714 char *kwnames
[] = {
38715 (char *) "self", NULL
38718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38720 if (SWIG_arg_fail(1)) SWIG_fail
;
38722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38723 result
= (arg1
)->GetMinSize();
38725 wxPyEndAllowThreads(__tstate
);
38726 if (PyErr_Occurred()) SWIG_fail
;
38729 wxSize
* resultptr
;
38730 resultptr
= new wxSize((wxSize
&)(result
));
38731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38739 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
;
38741 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38743 PyObject
* obj0
= 0 ;
38744 char *kwnames
[] = {
38745 (char *) "self", NULL
38748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38750 if (SWIG_arg_fail(1)) SWIG_fail
;
38752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38753 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38759 wxSize
* resultptr
;
38760 resultptr
= new wxSize((wxSize
&)(result
));
38761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38769 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38770 PyObject
*resultobj
;
38771 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38774 PyObject
* obj0
= 0 ;
38775 PyObject
* obj1
= 0 ;
38776 PyObject
* obj2
= 0 ;
38777 char *kwnames
[] = {
38778 (char *) "self",(char *) "x",(char *) "y", NULL
38781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38783 if (SWIG_arg_fail(1)) SWIG_fail
;
38785 arg2
= (int)(SWIG_As_int(obj1
));
38786 if (SWIG_arg_fail(2)) SWIG_fail
;
38789 arg3
= (int)(SWIG_As_int(obj2
));
38790 if (SWIG_arg_fail(3)) SWIG_fail
;
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38794 (arg1
)->SetInitSize(arg2
,arg3
);
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 Py_INCREF(Py_None
); resultobj
= Py_None
;
38806 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38807 PyObject
*resultobj
;
38808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38811 PyObject
* obj0
= 0 ;
38812 PyObject
* obj1
= 0 ;
38813 PyObject
* obj2
= 0 ;
38814 char *kwnames
[] = {
38815 (char *) "self",(char *) "width",(char *) "height", NULL
38818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38820 if (SWIG_arg_fail(1)) SWIG_fail
;
38822 arg2
= (int)(SWIG_As_int(obj1
));
38823 if (SWIG_arg_fail(2)) SWIG_fail
;
38826 arg3
= (int)(SWIG_As_int(obj2
));
38827 if (SWIG_arg_fail(3)) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 (arg1
)->SetRatio(arg2
,arg3
);
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38836 Py_INCREF(Py_None
); resultobj
= Py_None
;
38843 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38844 PyObject
*resultobj
;
38845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38848 PyObject
* obj0
= 0 ;
38849 PyObject
* obj1
= 0 ;
38850 char *kwnames
[] = {
38851 (char *) "self",(char *) "size", NULL
38854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38856 if (SWIG_arg_fail(1)) SWIG_fail
;
38859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38863 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38865 wxPyEndAllowThreads(__tstate
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38868 Py_INCREF(Py_None
); resultobj
= Py_None
;
38875 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38876 PyObject
*resultobj
;
38877 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38879 PyObject
* obj0
= 0 ;
38880 PyObject
* obj1
= 0 ;
38881 char *kwnames
[] = {
38882 (char *) "self",(char *) "ratio", NULL
38885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38887 if (SWIG_arg_fail(1)) SWIG_fail
;
38889 arg2
= (float)(SWIG_As_float(obj1
));
38890 if (SWIG_arg_fail(2)) SWIG_fail
;
38893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38894 (arg1
)->SetRatio(arg2
);
38896 wxPyEndAllowThreads(__tstate
);
38897 if (PyErr_Occurred()) SWIG_fail
;
38899 Py_INCREF(Py_None
); resultobj
= Py_None
;
38906 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38907 PyObject
*resultobj
;
38908 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38910 PyObject
* obj0
= 0 ;
38911 char *kwnames
[] = {
38912 (char *) "self", NULL
38915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38917 if (SWIG_arg_fail(1)) SWIG_fail
;
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (float)(arg1
)->GetRatio();
38922 wxPyEndAllowThreads(__tstate
);
38923 if (PyErr_Occurred()) SWIG_fail
;
38926 resultobj
= SWIG_From_float((float)(result
));
38934 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38935 PyObject
*resultobj
;
38936 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38938 PyObject
* obj0
= 0 ;
38939 char *kwnames
[] = {
38940 (char *) "self", NULL
38943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38945 if (SWIG_arg_fail(1)) SWIG_fail
;
38947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38948 result
= (arg1
)->GetRect();
38950 wxPyEndAllowThreads(__tstate
);
38951 if (PyErr_Occurred()) SWIG_fail
;
38954 wxRect
* resultptr
;
38955 resultptr
= new wxRect((wxRect
&)(result
));
38956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38964 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
;
38966 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38968 PyObject
* obj0
= 0 ;
38969 char *kwnames
[] = {
38970 (char *) "self", NULL
38973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38975 if (SWIG_arg_fail(1)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 result
= (bool)(arg1
)->IsWindow();
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38992 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 char *kwnames
[] = {
38998 (char *) "self", NULL
39001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39003 if (SWIG_arg_fail(1)) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (bool)(arg1
)->IsSizer();
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39020 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39021 PyObject
*resultobj
;
39022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39024 PyObject
* obj0
= 0 ;
39025 char *kwnames
[] = {
39026 (char *) "self", NULL
39029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39031 if (SWIG_arg_fail(1)) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 result
= (bool)(arg1
)->IsSpacer();
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39048 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39049 PyObject
*resultobj
;
39050 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39052 PyObject
* obj0
= 0 ;
39053 PyObject
* obj1
= 0 ;
39054 char *kwnames
[] = {
39055 (char *) "self",(char *) "proportion", NULL
39058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39060 if (SWIG_arg_fail(1)) SWIG_fail
;
39062 arg2
= (int)(SWIG_As_int(obj1
));
39063 if (SWIG_arg_fail(2)) SWIG_fail
;
39066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39067 (arg1
)->SetProportion(arg2
);
39069 wxPyEndAllowThreads(__tstate
);
39070 if (PyErr_Occurred()) SWIG_fail
;
39072 Py_INCREF(Py_None
); resultobj
= Py_None
;
39079 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39080 PyObject
*resultobj
;
39081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39083 PyObject
* obj0
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39090 if (SWIG_arg_fail(1)) SWIG_fail
;
39092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39093 result
= (int)(arg1
)->GetProportion();
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39099 resultobj
= SWIG_From_int((int)(result
));
39107 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
;
39109 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39111 PyObject
* obj0
= 0 ;
39112 PyObject
* obj1
= 0 ;
39113 char *kwnames
[] = {
39114 (char *) "self",(char *) "flag", NULL
39117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39119 if (SWIG_arg_fail(1)) SWIG_fail
;
39121 arg2
= (int)(SWIG_As_int(obj1
));
39122 if (SWIG_arg_fail(2)) SWIG_fail
;
39125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39126 (arg1
)->SetFlag(arg2
);
39128 wxPyEndAllowThreads(__tstate
);
39129 if (PyErr_Occurred()) SWIG_fail
;
39131 Py_INCREF(Py_None
); resultobj
= Py_None
;
39138 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39139 PyObject
*resultobj
;
39140 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39142 PyObject
* obj0
= 0 ;
39143 char *kwnames
[] = {
39144 (char *) "self", NULL
39147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39149 if (SWIG_arg_fail(1)) SWIG_fail
;
39151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39152 result
= (int)(arg1
)->GetFlag();
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39158 resultobj
= SWIG_From_int((int)(result
));
39166 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39167 PyObject
*resultobj
;
39168 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39170 PyObject
* obj0
= 0 ;
39171 PyObject
* obj1
= 0 ;
39172 char *kwnames
[] = {
39173 (char *) "self",(char *) "border", NULL
39176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39178 if (SWIG_arg_fail(1)) SWIG_fail
;
39180 arg2
= (int)(SWIG_As_int(obj1
));
39181 if (SWIG_arg_fail(2)) SWIG_fail
;
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 (arg1
)->SetBorder(arg2
);
39187 wxPyEndAllowThreads(__tstate
);
39188 if (PyErr_Occurred()) SWIG_fail
;
39190 Py_INCREF(Py_None
); resultobj
= Py_None
;
39197 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39201 PyObject
* obj0
= 0 ;
39202 char *kwnames
[] = {
39203 (char *) "self", NULL
39206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39208 if (SWIG_arg_fail(1)) SWIG_fail
;
39210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39211 result
= (int)(arg1
)->GetBorder();
39213 wxPyEndAllowThreads(__tstate
);
39214 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= SWIG_From_int((int)(result
));
39225 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39226 PyObject
*resultobj
;
39227 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39229 PyObject
* obj0
= 0 ;
39230 char *kwnames
[] = {
39231 (char *) "self", NULL
39234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39236 if (SWIG_arg_fail(1)) SWIG_fail
;
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 result
= (wxWindow
*)(arg1
)->GetWindow();
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39245 resultobj
= wxPyMake_wxObject(result
, 0);
39253 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39254 PyObject
*resultobj
;
39255 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39256 wxWindow
*arg2
= (wxWindow
*) 0 ;
39257 PyObject
* obj0
= 0 ;
39258 PyObject
* obj1
= 0 ;
39259 char *kwnames
[] = {
39260 (char *) "self",(char *) "window", NULL
39263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39265 if (SWIG_arg_fail(1)) SWIG_fail
;
39266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39267 if (SWIG_arg_fail(2)) SWIG_fail
;
39269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39270 (arg1
)->SetWindow(arg2
);
39272 wxPyEndAllowThreads(__tstate
);
39273 if (PyErr_Occurred()) SWIG_fail
;
39275 Py_INCREF(Py_None
); resultobj
= Py_None
;
39282 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39283 PyObject
*resultobj
;
39284 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39286 PyObject
* obj0
= 0 ;
39287 char *kwnames
[] = {
39288 (char *) "self", NULL
39291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39293 if (SWIG_arg_fail(1)) SWIG_fail
;
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 result
= (wxSizer
*)(arg1
)->GetSizer();
39298 wxPyEndAllowThreads(__tstate
);
39299 if (PyErr_Occurred()) SWIG_fail
;
39302 resultobj
= wxPyMake_wxSizer(result
, 0);
39310 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39311 PyObject
*resultobj
;
39312 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39313 wxSizer
*arg2
= (wxSizer
*) 0 ;
39314 PyObject
* obj0
= 0 ;
39315 PyObject
* obj1
= 0 ;
39316 char *kwnames
[] = {
39317 (char *) "self",(char *) "sizer", NULL
39320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39322 if (SWIG_arg_fail(1)) SWIG_fail
;
39323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39324 if (SWIG_arg_fail(2)) SWIG_fail
;
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 (arg1
)->SetSizer(arg2
);
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 Py_INCREF(Py_None
); resultobj
= Py_None
;
39339 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39340 PyObject
*resultobj
;
39341 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39343 PyObject
* obj0
= 0 ;
39344 char *kwnames
[] = {
39345 (char *) "self", NULL
39348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39350 if (SWIG_arg_fail(1)) SWIG_fail
;
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39355 result
= (wxSize
*) &_result_ref
;
39358 wxPyEndAllowThreads(__tstate
);
39359 if (PyErr_Occurred()) SWIG_fail
;
39361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39368 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39369 PyObject
*resultobj
;
39370 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39373 PyObject
* obj0
= 0 ;
39374 PyObject
* obj1
= 0 ;
39375 char *kwnames
[] = {
39376 (char *) "self",(char *) "size", NULL
39379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39381 if (SWIG_arg_fail(1)) SWIG_fail
;
39384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39388 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39390 wxPyEndAllowThreads(__tstate
);
39391 if (PyErr_Occurred()) SWIG_fail
;
39393 Py_INCREF(Py_None
); resultobj
= Py_None
;
39400 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39401 PyObject
*resultobj
;
39402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39404 PyObject
* obj0
= 0 ;
39405 PyObject
* obj1
= 0 ;
39406 char *kwnames
[] = {
39407 (char *) "self",(char *) "show", NULL
39410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39412 if (SWIG_arg_fail(1)) SWIG_fail
;
39414 arg2
= (bool)(SWIG_As_bool(obj1
));
39415 if (SWIG_arg_fail(2)) SWIG_fail
;
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 (arg1
)->Show(arg2
);
39421 wxPyEndAllowThreads(__tstate
);
39422 if (PyErr_Occurred()) SWIG_fail
;
39424 Py_INCREF(Py_None
); resultobj
= Py_None
;
39431 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
;
39433 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39435 PyObject
* obj0
= 0 ;
39436 char *kwnames
[] = {
39437 (char *) "self", NULL
39440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39442 if (SWIG_arg_fail(1)) SWIG_fail
;
39444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39445 result
= (bool)(arg1
)->IsShown();
39447 wxPyEndAllowThreads(__tstate
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39459 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39460 PyObject
*resultobj
;
39461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39463 PyObject
* obj0
= 0 ;
39464 char *kwnames
[] = {
39465 (char *) "self", NULL
39468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39470 if (SWIG_arg_fail(1)) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (arg1
)->GetPosition();
39475 wxPyEndAllowThreads(__tstate
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39479 wxPoint
* resultptr
;
39480 resultptr
= new wxPoint((wxPoint
&)(result
));
39481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39489 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39490 PyObject
*resultobj
;
39491 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39493 PyObject
* obj0
= 0 ;
39494 char *kwnames
[] = {
39495 (char *) "self", NULL
39498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39500 if (SWIG_arg_fail(1)) SWIG_fail
;
39502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39503 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39505 wxPyEndAllowThreads(__tstate
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 resultobj
= result
;
39515 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39518 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39520 return Py_BuildValue((char *)"");
39522 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39523 PyObject
*resultobj
;
39524 wxSizer
*arg1
= (wxSizer
*) 0 ;
39525 PyObject
*arg2
= (PyObject
*) 0 ;
39526 PyObject
* obj0
= 0 ;
39527 PyObject
* obj1
= 0 ;
39528 char *kwnames
[] = {
39529 (char *) "self",(char *) "_self", NULL
39532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39534 if (SWIG_arg_fail(1)) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 wxSizer__setOORInfo(arg1
,arg2
);
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39543 Py_INCREF(Py_None
); resultobj
= Py_None
;
39550 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39551 PyObject
*resultobj
;
39552 wxSizer
*arg1
= (wxSizer
*) 0 ;
39553 PyObject
*arg2
= (PyObject
*) 0 ;
39554 int arg3
= (int) 0 ;
39555 int arg4
= (int) 0 ;
39556 int arg5
= (int) 0 ;
39557 PyObject
*arg6
= (PyObject
*) NULL
;
39558 wxSizerItem
*result
;
39559 PyObject
* obj0
= 0 ;
39560 PyObject
* obj1
= 0 ;
39561 PyObject
* obj2
= 0 ;
39562 PyObject
* obj3
= 0 ;
39563 PyObject
* obj4
= 0 ;
39564 PyObject
* obj5
= 0 ;
39565 char *kwnames
[] = {
39566 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39571 if (SWIG_arg_fail(1)) SWIG_fail
;
39575 arg3
= (int)(SWIG_As_int(obj2
));
39576 if (SWIG_arg_fail(3)) SWIG_fail
;
39581 arg4
= (int)(SWIG_As_int(obj3
));
39582 if (SWIG_arg_fail(4)) SWIG_fail
;
39587 arg5
= (int)(SWIG_As_int(obj4
));
39588 if (SWIG_arg_fail(5)) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39608 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxSizer
*arg1
= (wxSizer
*) 0 ;
39612 PyObject
*arg3
= (PyObject
*) 0 ;
39613 int arg4
= (int) 0 ;
39614 int arg5
= (int) 0 ;
39615 int arg6
= (int) 0 ;
39616 PyObject
*arg7
= (PyObject
*) NULL
;
39617 wxSizerItem
*result
;
39618 PyObject
* obj0
= 0 ;
39619 PyObject
* obj1
= 0 ;
39620 PyObject
* obj2
= 0 ;
39621 PyObject
* obj3
= 0 ;
39622 PyObject
* obj4
= 0 ;
39623 PyObject
* obj5
= 0 ;
39624 PyObject
* obj6
= 0 ;
39625 char *kwnames
[] = {
39626 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39631 if (SWIG_arg_fail(1)) SWIG_fail
;
39633 arg2
= (int)(SWIG_As_int(obj1
));
39634 if (SWIG_arg_fail(2)) SWIG_fail
;
39639 arg4
= (int)(SWIG_As_int(obj3
));
39640 if (SWIG_arg_fail(4)) SWIG_fail
;
39645 arg5
= (int)(SWIG_As_int(obj4
));
39646 if (SWIG_arg_fail(5)) SWIG_fail
;
39651 arg6
= (int)(SWIG_As_int(obj5
));
39652 if (SWIG_arg_fail(6)) SWIG_fail
;
39659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39660 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39672 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39673 PyObject
*resultobj
;
39674 wxSizer
*arg1
= (wxSizer
*) 0 ;
39675 PyObject
*arg2
= (PyObject
*) 0 ;
39676 int arg3
= (int) 0 ;
39677 int arg4
= (int) 0 ;
39678 int arg5
= (int) 0 ;
39679 PyObject
*arg6
= (PyObject
*) NULL
;
39680 wxSizerItem
*result
;
39681 PyObject
* obj0
= 0 ;
39682 PyObject
* obj1
= 0 ;
39683 PyObject
* obj2
= 0 ;
39684 PyObject
* obj3
= 0 ;
39685 PyObject
* obj4
= 0 ;
39686 PyObject
* obj5
= 0 ;
39687 char *kwnames
[] = {
39688 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39693 if (SWIG_arg_fail(1)) SWIG_fail
;
39697 arg3
= (int)(SWIG_As_int(obj2
));
39698 if (SWIG_arg_fail(3)) SWIG_fail
;
39703 arg4
= (int)(SWIG_As_int(obj3
));
39704 if (SWIG_arg_fail(4)) SWIG_fail
;
39709 arg5
= (int)(SWIG_As_int(obj4
));
39710 if (SWIG_arg_fail(5)) SWIG_fail
;
39717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39718 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39730 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
;
39732 wxSizer
*arg1
= (wxSizer
*) 0 ;
39733 PyObject
*arg2
= (PyObject
*) 0 ;
39735 PyObject
* obj0
= 0 ;
39736 PyObject
* obj1
= 0 ;
39737 char *kwnames
[] = {
39738 (char *) "self",(char *) "item", NULL
39741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39743 if (SWIG_arg_fail(1)) SWIG_fail
;
39746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39747 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39749 wxPyEndAllowThreads(__tstate
);
39750 if (PyErr_Occurred()) SWIG_fail
;
39753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39761 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39762 PyObject
*resultobj
;
39763 wxSizer
*arg1
= (wxSizer
*) 0 ;
39764 PyObject
*arg2
= (PyObject
*) 0 ;
39766 PyObject
* obj0
= 0 ;
39767 PyObject
* obj1
= 0 ;
39768 char *kwnames
[] = {
39769 (char *) "self",(char *) "item", NULL
39772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39774 if (SWIG_arg_fail(1)) SWIG_fail
;
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39780 wxPyEndAllowThreads(__tstate
);
39781 if (PyErr_Occurred()) SWIG_fail
;
39784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39792 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39793 PyObject
*resultobj
;
39794 wxSizer
*arg1
= (wxSizer
*) 0 ;
39795 PyObject
*arg2
= (PyObject
*) 0 ;
39796 wxSizerItem
*result
;
39797 PyObject
* obj0
= 0 ;
39798 PyObject
* obj1
= 0 ;
39799 char *kwnames
[] = {
39800 (char *) "self",(char *) "item", NULL
39803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39805 if (SWIG_arg_fail(1)) SWIG_fail
;
39808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39809 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39811 wxPyEndAllowThreads(__tstate
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39821 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39822 PyObject
*resultobj
;
39823 wxSizer
*arg1
= (wxSizer
*) 0 ;
39824 PyObject
*arg2
= (PyObject
*) 0 ;
39827 PyObject
* obj0
= 0 ;
39828 PyObject
* obj1
= 0 ;
39829 PyObject
* obj2
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self",(char *) "item",(char *) "size", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39836 if (SWIG_arg_fail(1)) SWIG_fail
;
39840 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39844 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39849 Py_INCREF(Py_None
); resultobj
= Py_None
;
39856 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39857 PyObject
*resultobj
;
39858 wxSizer
*arg1
= (wxSizer
*) 0 ;
39859 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39860 wxSizerItem
*result
;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 char *kwnames
[] = {
39864 (char *) "self",(char *) "item", NULL
39867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39869 if (SWIG_arg_fail(1)) SWIG_fail
;
39870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39871 if (SWIG_arg_fail(2)) SWIG_fail
;
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39876 wxPyEndAllowThreads(__tstate
);
39877 if (PyErr_Occurred()) SWIG_fail
;
39879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39886 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39887 PyObject
*resultobj
;
39888 wxSizer
*arg1
= (wxSizer
*) 0 ;
39890 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39891 wxSizerItem
*result
;
39892 PyObject
* obj0
= 0 ;
39893 PyObject
* obj1
= 0 ;
39894 PyObject
* obj2
= 0 ;
39895 char *kwnames
[] = {
39896 (char *) "self",(char *) "index",(char *) "item", NULL
39899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39901 if (SWIG_arg_fail(1)) SWIG_fail
;
39903 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39904 if (SWIG_arg_fail(2)) SWIG_fail
;
39906 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39907 if (SWIG_arg_fail(3)) SWIG_fail
;
39909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39910 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39922 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxSizer
*arg1
= (wxSizer
*) 0 ;
39925 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39926 wxSizerItem
*result
;
39927 PyObject
* obj0
= 0 ;
39928 PyObject
* obj1
= 0 ;
39929 char *kwnames
[] = {
39930 (char *) "self",(char *) "item", NULL
39933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39935 if (SWIG_arg_fail(1)) SWIG_fail
;
39936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39937 if (SWIG_arg_fail(2)) SWIG_fail
;
39939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39940 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39952 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
;
39954 wxSizer
*arg1
= (wxSizer
*) 0 ;
39959 PyObject
* obj0
= 0 ;
39960 PyObject
* obj1
= 0 ;
39961 PyObject
* obj2
= 0 ;
39962 PyObject
* obj3
= 0 ;
39963 PyObject
* obj4
= 0 ;
39964 char *kwnames
[] = {
39965 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39970 if (SWIG_arg_fail(1)) SWIG_fail
;
39972 arg2
= (int)(SWIG_As_int(obj1
));
39973 if (SWIG_arg_fail(2)) SWIG_fail
;
39976 arg3
= (int)(SWIG_As_int(obj2
));
39977 if (SWIG_arg_fail(3)) SWIG_fail
;
39980 arg4
= (int)(SWIG_As_int(obj3
));
39981 if (SWIG_arg_fail(4)) SWIG_fail
;
39984 arg5
= (int)(SWIG_As_int(obj4
));
39985 if (SWIG_arg_fail(5)) SWIG_fail
;
39988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39989 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39991 wxPyEndAllowThreads(__tstate
);
39992 if (PyErr_Occurred()) SWIG_fail
;
39994 Py_INCREF(Py_None
); resultobj
= Py_None
;
40001 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40002 PyObject
*resultobj
;
40003 wxSizer
*arg1
= (wxSizer
*) 0 ;
40006 PyObject
* obj0
= 0 ;
40007 PyObject
* obj1
= 0 ;
40008 char *kwnames
[] = {
40009 (char *) "self",(char *) "size", NULL
40012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40014 if (SWIG_arg_fail(1)) SWIG_fail
;
40017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40021 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40023 wxPyEndAllowThreads(__tstate
);
40024 if (PyErr_Occurred()) SWIG_fail
;
40026 Py_INCREF(Py_None
); resultobj
= Py_None
;
40033 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40034 PyObject
*resultobj
;
40035 wxSizer
*arg1
= (wxSizer
*) 0 ;
40037 PyObject
* obj0
= 0 ;
40038 char *kwnames
[] = {
40039 (char *) "self", NULL
40042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40044 if (SWIG_arg_fail(1)) SWIG_fail
;
40046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40047 result
= (arg1
)->GetSize();
40049 wxPyEndAllowThreads(__tstate
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40053 wxSize
* resultptr
;
40054 resultptr
= new wxSize((wxSize
&)(result
));
40055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40063 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40064 PyObject
*resultobj
;
40065 wxSizer
*arg1
= (wxSizer
*) 0 ;
40067 PyObject
* obj0
= 0 ;
40068 char *kwnames
[] = {
40069 (char *) "self", NULL
40072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40074 if (SWIG_arg_fail(1)) SWIG_fail
;
40076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40077 result
= (arg1
)->GetPosition();
40079 wxPyEndAllowThreads(__tstate
);
40080 if (PyErr_Occurred()) SWIG_fail
;
40083 wxPoint
* resultptr
;
40084 resultptr
= new wxPoint((wxPoint
&)(result
));
40085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40093 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40095 wxSizer
*arg1
= (wxSizer
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 char *kwnames
[] = {
40099 (char *) "self", NULL
40102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40104 if (SWIG_arg_fail(1)) SWIG_fail
;
40106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40107 result
= (arg1
)->GetMinSize();
40109 wxPyEndAllowThreads(__tstate
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40113 wxSize
* resultptr
;
40114 resultptr
= new wxSize((wxSize
&)(result
));
40115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40123 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
;
40125 wxSizer
*arg1
= (wxSizer
*) 0 ;
40126 PyObject
* obj0
= 0 ;
40127 char *kwnames
[] = {
40128 (char *) "self", NULL
40131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40133 if (SWIG_arg_fail(1)) SWIG_fail
;
40135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40136 (arg1
)->RecalcSizes();
40138 wxPyEndAllowThreads(__tstate
);
40139 if (PyErr_Occurred()) SWIG_fail
;
40141 Py_INCREF(Py_None
); resultobj
= Py_None
;
40148 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40149 PyObject
*resultobj
;
40150 wxSizer
*arg1
= (wxSizer
*) 0 ;
40152 PyObject
* obj0
= 0 ;
40153 char *kwnames
[] = {
40154 (char *) "self", NULL
40157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40159 if (SWIG_arg_fail(1)) SWIG_fail
;
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= (arg1
)->CalcMin();
40164 wxPyEndAllowThreads(__tstate
);
40165 if (PyErr_Occurred()) SWIG_fail
;
40168 wxSize
* resultptr
;
40169 resultptr
= new wxSize((wxSize
&)(result
));
40170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40178 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40179 PyObject
*resultobj
;
40180 wxSizer
*arg1
= (wxSizer
*) 0 ;
40181 PyObject
* obj0
= 0 ;
40182 char *kwnames
[] = {
40183 (char *) "self", NULL
40186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40188 if (SWIG_arg_fail(1)) SWIG_fail
;
40190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40193 wxPyEndAllowThreads(__tstate
);
40194 if (PyErr_Occurred()) SWIG_fail
;
40196 Py_INCREF(Py_None
); resultobj
= Py_None
;
40203 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40204 PyObject
*resultobj
;
40205 wxSizer
*arg1
= (wxSizer
*) 0 ;
40206 wxWindow
*arg2
= (wxWindow
*) 0 ;
40208 PyObject
* obj0
= 0 ;
40209 PyObject
* obj1
= 0 ;
40210 char *kwnames
[] = {
40211 (char *) "self",(char *) "window", NULL
40214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40216 if (SWIG_arg_fail(1)) SWIG_fail
;
40217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40218 if (SWIG_arg_fail(2)) SWIG_fail
;
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 result
= (arg1
)->Fit(arg2
);
40223 wxPyEndAllowThreads(__tstate
);
40224 if (PyErr_Occurred()) SWIG_fail
;
40227 wxSize
* resultptr
;
40228 resultptr
= new wxSize((wxSize
&)(result
));
40229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40237 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40238 PyObject
*resultobj
;
40239 wxSizer
*arg1
= (wxSizer
*) 0 ;
40240 wxWindow
*arg2
= (wxWindow
*) 0 ;
40241 PyObject
* obj0
= 0 ;
40242 PyObject
* obj1
= 0 ;
40243 char *kwnames
[] = {
40244 (char *) "self",(char *) "window", NULL
40247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40249 if (SWIG_arg_fail(1)) SWIG_fail
;
40250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40251 if (SWIG_arg_fail(2)) SWIG_fail
;
40253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40254 (arg1
)->FitInside(arg2
);
40256 wxPyEndAllowThreads(__tstate
);
40257 if (PyErr_Occurred()) SWIG_fail
;
40259 Py_INCREF(Py_None
); resultobj
= Py_None
;
40266 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40267 PyObject
*resultobj
;
40268 wxSizer
*arg1
= (wxSizer
*) 0 ;
40269 wxWindow
*arg2
= (wxWindow
*) 0 ;
40270 PyObject
* obj0
= 0 ;
40271 PyObject
* obj1
= 0 ;
40272 char *kwnames
[] = {
40273 (char *) "self",(char *) "window", NULL
40276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40278 if (SWIG_arg_fail(1)) SWIG_fail
;
40279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40280 if (SWIG_arg_fail(2)) SWIG_fail
;
40282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 (arg1
)->SetSizeHints(arg2
);
40285 wxPyEndAllowThreads(__tstate
);
40286 if (PyErr_Occurred()) SWIG_fail
;
40288 Py_INCREF(Py_None
); resultobj
= Py_None
;
40295 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40296 PyObject
*resultobj
;
40297 wxSizer
*arg1
= (wxSizer
*) 0 ;
40298 wxWindow
*arg2
= (wxWindow
*) 0 ;
40299 PyObject
* obj0
= 0 ;
40300 PyObject
* obj1
= 0 ;
40301 char *kwnames
[] = {
40302 (char *) "self",(char *) "window", NULL
40305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40307 if (SWIG_arg_fail(1)) SWIG_fail
;
40308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40309 if (SWIG_arg_fail(2)) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 (arg1
)->SetVirtualSizeHints(arg2
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40317 Py_INCREF(Py_None
); resultobj
= Py_None
;
40324 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40325 PyObject
*resultobj
;
40326 wxSizer
*arg1
= (wxSizer
*) 0 ;
40327 bool arg2
= (bool) false ;
40328 PyObject
* obj0
= 0 ;
40329 PyObject
* obj1
= 0 ;
40330 char *kwnames
[] = {
40331 (char *) "self",(char *) "deleteWindows", NULL
40334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40336 if (SWIG_arg_fail(1)) SWIG_fail
;
40339 arg2
= (bool)(SWIG_As_bool(obj1
));
40340 if (SWIG_arg_fail(2)) SWIG_fail
;
40344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40345 (arg1
)->Clear(arg2
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40350 Py_INCREF(Py_None
); resultobj
= Py_None
;
40357 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40358 PyObject
*resultobj
;
40359 wxSizer
*arg1
= (wxSizer
*) 0 ;
40360 PyObject
* obj0
= 0 ;
40361 char *kwnames
[] = {
40362 (char *) "self", NULL
40365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40367 if (SWIG_arg_fail(1)) SWIG_fail
;
40369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40370 (arg1
)->DeleteWindows();
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40375 Py_INCREF(Py_None
); resultobj
= Py_None
;
40382 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40383 PyObject
*resultobj
;
40384 wxSizer
*arg1
= (wxSizer
*) 0 ;
40386 PyObject
* obj0
= 0 ;
40387 char *kwnames
[] = {
40388 (char *) "self", NULL
40391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40393 if (SWIG_arg_fail(1)) SWIG_fail
;
40395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40396 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40398 wxPyEndAllowThreads(__tstate
);
40399 if (PyErr_Occurred()) SWIG_fail
;
40401 resultobj
= result
;
40408 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40409 PyObject
*resultobj
;
40410 wxSizer
*arg1
= (wxSizer
*) 0 ;
40411 PyObject
*arg2
= (PyObject
*) 0 ;
40412 bool arg3
= (bool) true ;
40413 bool arg4
= (bool) false ;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 PyObject
* obj2
= 0 ;
40418 PyObject
* obj3
= 0 ;
40419 char *kwnames
[] = {
40420 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40425 if (SWIG_arg_fail(1)) SWIG_fail
;
40429 arg3
= (bool)(SWIG_As_bool(obj2
));
40430 if (SWIG_arg_fail(3)) SWIG_fail
;
40435 arg4
= (bool)(SWIG_As_bool(obj3
));
40436 if (SWIG_arg_fail(4)) SWIG_fail
;
40440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40441 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40443 wxPyEndAllowThreads(__tstate
);
40444 if (PyErr_Occurred()) SWIG_fail
;
40447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40455 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40456 PyObject
*resultobj
;
40457 wxSizer
*arg1
= (wxSizer
*) 0 ;
40458 PyObject
*arg2
= (PyObject
*) 0 ;
40460 PyObject
* obj0
= 0 ;
40461 PyObject
* obj1
= 0 ;
40462 char *kwnames
[] = {
40463 (char *) "self",(char *) "item", NULL
40466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40468 if (SWIG_arg_fail(1)) SWIG_fail
;
40471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40472 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40474 wxPyEndAllowThreads(__tstate
);
40475 if (PyErr_Occurred()) SWIG_fail
;
40478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40486 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40487 PyObject
*resultobj
;
40488 wxSizer
*arg1
= (wxSizer
*) 0 ;
40490 PyObject
* obj0
= 0 ;
40491 PyObject
* obj1
= 0 ;
40492 char *kwnames
[] = {
40493 (char *) "self",(char *) "show", NULL
40496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40498 if (SWIG_arg_fail(1)) SWIG_fail
;
40500 arg2
= (bool)(SWIG_As_bool(obj1
));
40501 if (SWIG_arg_fail(2)) SWIG_fail
;
40504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40505 (arg1
)->ShowItems(arg2
);
40507 wxPyEndAllowThreads(__tstate
);
40508 if (PyErr_Occurred()) SWIG_fail
;
40510 Py_INCREF(Py_None
); resultobj
= Py_None
;
40517 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40520 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40522 return Py_BuildValue((char *)"");
40524 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40525 PyObject
*resultobj
;
40527 char *kwnames
[] = {
40531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40534 result
= (wxPySizer
*)new wxPySizer();
40536 wxPyEndAllowThreads(__tstate
);
40537 if (PyErr_Occurred()) SWIG_fail
;
40539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40546 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40547 PyObject
*resultobj
;
40548 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40549 PyObject
*arg2
= (PyObject
*) 0 ;
40550 PyObject
*arg3
= (PyObject
*) 0 ;
40551 PyObject
* obj0
= 0 ;
40552 PyObject
* obj1
= 0 ;
40553 PyObject
* obj2
= 0 ;
40554 char *kwnames
[] = {
40555 (char *) "self",(char *) "self",(char *) "_class", NULL
40558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40560 if (SWIG_arg_fail(1)) SWIG_fail
;
40564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40567 wxPyEndAllowThreads(__tstate
);
40568 if (PyErr_Occurred()) SWIG_fail
;
40570 Py_INCREF(Py_None
); resultobj
= Py_None
;
40577 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40580 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40582 return Py_BuildValue((char *)"");
40584 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
;
40586 int arg1
= (int) wxHORIZONTAL
;
40587 wxBoxSizer
*result
;
40588 PyObject
* obj0
= 0 ;
40589 char *kwnames
[] = {
40590 (char *) "orient", NULL
40593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40596 arg1
= (int)(SWIG_As_int(obj0
));
40597 if (SWIG_arg_fail(1)) SWIG_fail
;
40601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40602 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40604 wxPyEndAllowThreads(__tstate
);
40605 if (PyErr_Occurred()) SWIG_fail
;
40607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40614 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40615 PyObject
*resultobj
;
40616 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40618 PyObject
* obj0
= 0 ;
40619 char *kwnames
[] = {
40620 (char *) "self", NULL
40623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40625 if (SWIG_arg_fail(1)) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 result
= (int)(arg1
)->GetOrientation();
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40634 resultobj
= SWIG_From_int((int)(result
));
40642 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40643 PyObject
*resultobj
;
40644 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40646 PyObject
* obj0
= 0 ;
40647 PyObject
* obj1
= 0 ;
40648 char *kwnames
[] = {
40649 (char *) "self",(char *) "orient", NULL
40652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40654 if (SWIG_arg_fail(1)) SWIG_fail
;
40656 arg2
= (int)(SWIG_As_int(obj1
));
40657 if (SWIG_arg_fail(2)) SWIG_fail
;
40660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40661 (arg1
)->SetOrientation(arg2
);
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40666 Py_INCREF(Py_None
); resultobj
= Py_None
;
40673 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40676 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40678 return Py_BuildValue((char *)"");
40680 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40681 PyObject
*resultobj
;
40682 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40683 int arg2
= (int) wxHORIZONTAL
;
40684 wxStaticBoxSizer
*result
;
40685 PyObject
* obj0
= 0 ;
40686 PyObject
* obj1
= 0 ;
40687 char *kwnames
[] = {
40688 (char *) "box",(char *) "orient", NULL
40691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40693 if (SWIG_arg_fail(1)) SWIG_fail
;
40696 arg2
= (int)(SWIG_As_int(obj1
));
40697 if (SWIG_arg_fail(2)) SWIG_fail
;
40701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40702 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40704 wxPyEndAllowThreads(__tstate
);
40705 if (PyErr_Occurred()) SWIG_fail
;
40707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40714 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40715 PyObject
*resultobj
;
40716 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40717 wxStaticBox
*result
;
40718 PyObject
* obj0
= 0 ;
40719 char *kwnames
[] = {
40720 (char *) "self", NULL
40723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40725 if (SWIG_arg_fail(1)) SWIG_fail
;
40727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40728 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40730 wxPyEndAllowThreads(__tstate
);
40731 if (PyErr_Occurred()) SWIG_fail
;
40734 resultobj
= wxPyMake_wxObject(result
, 0);
40742 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40745 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40747 return Py_BuildValue((char *)"");
40749 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40750 PyObject
*resultobj
;
40751 int arg1
= (int) 1 ;
40752 int arg2
= (int) 0 ;
40753 int arg3
= (int) 0 ;
40754 int arg4
= (int) 0 ;
40755 wxGridSizer
*result
;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 PyObject
* obj2
= 0 ;
40759 PyObject
* obj3
= 0 ;
40760 char *kwnames
[] = {
40761 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40767 arg1
= (int)(SWIG_As_int(obj0
));
40768 if (SWIG_arg_fail(1)) SWIG_fail
;
40773 arg2
= (int)(SWIG_As_int(obj1
));
40774 if (SWIG_arg_fail(2)) SWIG_fail
;
40779 arg3
= (int)(SWIG_As_int(obj2
));
40780 if (SWIG_arg_fail(3)) SWIG_fail
;
40785 arg4
= (int)(SWIG_As_int(obj3
));
40786 if (SWIG_arg_fail(4)) SWIG_fail
;
40790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40791 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40793 wxPyEndAllowThreads(__tstate
);
40794 if (PyErr_Occurred()) SWIG_fail
;
40796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40803 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40804 PyObject
*resultobj
;
40805 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 char *kwnames
[] = {
40810 (char *) "self",(char *) "cols", NULL
40813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40815 if (SWIG_arg_fail(1)) SWIG_fail
;
40817 arg2
= (int)(SWIG_As_int(obj1
));
40818 if (SWIG_arg_fail(2)) SWIG_fail
;
40821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40822 (arg1
)->SetCols(arg2
);
40824 wxPyEndAllowThreads(__tstate
);
40825 if (PyErr_Occurred()) SWIG_fail
;
40827 Py_INCREF(Py_None
); resultobj
= Py_None
;
40834 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40835 PyObject
*resultobj
;
40836 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40838 PyObject
* obj0
= 0 ;
40839 PyObject
* obj1
= 0 ;
40840 char *kwnames
[] = {
40841 (char *) "self",(char *) "rows", NULL
40844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40846 if (SWIG_arg_fail(1)) SWIG_fail
;
40848 arg2
= (int)(SWIG_As_int(obj1
));
40849 if (SWIG_arg_fail(2)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 (arg1
)->SetRows(arg2
);
40855 wxPyEndAllowThreads(__tstate
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40858 Py_INCREF(Py_None
); resultobj
= Py_None
;
40865 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40866 PyObject
*resultobj
;
40867 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40869 PyObject
* obj0
= 0 ;
40870 PyObject
* obj1
= 0 ;
40871 char *kwnames
[] = {
40872 (char *) "self",(char *) "gap", NULL
40875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40877 if (SWIG_arg_fail(1)) SWIG_fail
;
40879 arg2
= (int)(SWIG_As_int(obj1
));
40880 if (SWIG_arg_fail(2)) SWIG_fail
;
40883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40884 (arg1
)->SetVGap(arg2
);
40886 wxPyEndAllowThreads(__tstate
);
40887 if (PyErr_Occurred()) SWIG_fail
;
40889 Py_INCREF(Py_None
); resultobj
= Py_None
;
40896 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40897 PyObject
*resultobj
;
40898 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40900 PyObject
* obj0
= 0 ;
40901 PyObject
* obj1
= 0 ;
40902 char *kwnames
[] = {
40903 (char *) "self",(char *) "gap", NULL
40906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40908 if (SWIG_arg_fail(1)) SWIG_fail
;
40910 arg2
= (int)(SWIG_As_int(obj1
));
40911 if (SWIG_arg_fail(2)) SWIG_fail
;
40914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40915 (arg1
)->SetHGap(arg2
);
40917 wxPyEndAllowThreads(__tstate
);
40918 if (PyErr_Occurred()) SWIG_fail
;
40920 Py_INCREF(Py_None
); resultobj
= Py_None
;
40927 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40928 PyObject
*resultobj
;
40929 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40931 PyObject
* obj0
= 0 ;
40932 char *kwnames
[] = {
40933 (char *) "self", NULL
40936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40938 if (SWIG_arg_fail(1)) SWIG_fail
;
40940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40941 result
= (int)(arg1
)->GetCols();
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40947 resultobj
= SWIG_From_int((int)(result
));
40955 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40956 PyObject
*resultobj
;
40957 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40959 PyObject
* obj0
= 0 ;
40960 char *kwnames
[] = {
40961 (char *) "self", NULL
40964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40966 if (SWIG_arg_fail(1)) SWIG_fail
;
40968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40969 result
= (int)(arg1
)->GetRows();
40971 wxPyEndAllowThreads(__tstate
);
40972 if (PyErr_Occurred()) SWIG_fail
;
40975 resultobj
= SWIG_From_int((int)(result
));
40983 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40984 PyObject
*resultobj
;
40985 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40987 PyObject
* obj0
= 0 ;
40988 char *kwnames
[] = {
40989 (char *) "self", NULL
40992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40994 if (SWIG_arg_fail(1)) SWIG_fail
;
40996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40997 result
= (int)(arg1
)->GetVGap();
40999 wxPyEndAllowThreads(__tstate
);
41000 if (PyErr_Occurred()) SWIG_fail
;
41003 resultobj
= SWIG_From_int((int)(result
));
41011 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41012 PyObject
*resultobj
;
41013 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41015 PyObject
* obj0
= 0 ;
41016 char *kwnames
[] = {
41017 (char *) "self", NULL
41020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41022 if (SWIG_arg_fail(1)) SWIG_fail
;
41024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41025 result
= (int)(arg1
)->GetHGap();
41027 wxPyEndAllowThreads(__tstate
);
41028 if (PyErr_Occurred()) SWIG_fail
;
41031 resultobj
= SWIG_From_int((int)(result
));
41039 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41042 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41044 return Py_BuildValue((char *)"");
41046 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41047 PyObject
*resultobj
;
41048 int arg1
= (int) 1 ;
41049 int arg2
= (int) 0 ;
41050 int arg3
= (int) 0 ;
41051 int arg4
= (int) 0 ;
41052 wxFlexGridSizer
*result
;
41053 PyObject
* obj0
= 0 ;
41054 PyObject
* obj1
= 0 ;
41055 PyObject
* obj2
= 0 ;
41056 PyObject
* obj3
= 0 ;
41057 char *kwnames
[] = {
41058 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41064 arg1
= (int)(SWIG_As_int(obj0
));
41065 if (SWIG_arg_fail(1)) SWIG_fail
;
41070 arg2
= (int)(SWIG_As_int(obj1
));
41071 if (SWIG_arg_fail(2)) SWIG_fail
;
41076 arg3
= (int)(SWIG_As_int(obj2
));
41077 if (SWIG_arg_fail(3)) SWIG_fail
;
41082 arg4
= (int)(SWIG_As_int(obj3
));
41083 if (SWIG_arg_fail(4)) SWIG_fail
;
41087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41088 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41090 wxPyEndAllowThreads(__tstate
);
41091 if (PyErr_Occurred()) SWIG_fail
;
41093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41100 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41101 PyObject
*resultobj
;
41102 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41104 int arg3
= (int) 0 ;
41105 PyObject
* obj0
= 0 ;
41106 PyObject
* obj1
= 0 ;
41107 PyObject
* obj2
= 0 ;
41108 char *kwnames
[] = {
41109 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41114 if (SWIG_arg_fail(1)) SWIG_fail
;
41116 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41117 if (SWIG_arg_fail(2)) SWIG_fail
;
41121 arg3
= (int)(SWIG_As_int(obj2
));
41122 if (SWIG_arg_fail(3)) SWIG_fail
;
41126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41127 (arg1
)->AddGrowableRow(arg2
,arg3
);
41129 wxPyEndAllowThreads(__tstate
);
41130 if (PyErr_Occurred()) SWIG_fail
;
41132 Py_INCREF(Py_None
); resultobj
= Py_None
;
41139 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41140 PyObject
*resultobj
;
41141 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41143 PyObject
* obj0
= 0 ;
41144 PyObject
* obj1
= 0 ;
41145 char *kwnames
[] = {
41146 (char *) "self",(char *) "idx", NULL
41149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41151 if (SWIG_arg_fail(1)) SWIG_fail
;
41153 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41154 if (SWIG_arg_fail(2)) SWIG_fail
;
41157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41158 (arg1
)->RemoveGrowableRow(arg2
);
41160 wxPyEndAllowThreads(__tstate
);
41161 if (PyErr_Occurred()) SWIG_fail
;
41163 Py_INCREF(Py_None
); resultobj
= Py_None
;
41170 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41171 PyObject
*resultobj
;
41172 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41174 int arg3
= (int) 0 ;
41175 PyObject
* obj0
= 0 ;
41176 PyObject
* obj1
= 0 ;
41177 PyObject
* obj2
= 0 ;
41178 char *kwnames
[] = {
41179 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41184 if (SWIG_arg_fail(1)) SWIG_fail
;
41186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41187 if (SWIG_arg_fail(2)) SWIG_fail
;
41191 arg3
= (int)(SWIG_As_int(obj2
));
41192 if (SWIG_arg_fail(3)) SWIG_fail
;
41196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41197 (arg1
)->AddGrowableCol(arg2
,arg3
);
41199 wxPyEndAllowThreads(__tstate
);
41200 if (PyErr_Occurred()) SWIG_fail
;
41202 Py_INCREF(Py_None
); resultobj
= Py_None
;
41209 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41210 PyObject
*resultobj
;
41211 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41213 PyObject
* obj0
= 0 ;
41214 PyObject
* obj1
= 0 ;
41215 char *kwnames
[] = {
41216 (char *) "self",(char *) "idx", NULL
41219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41221 if (SWIG_arg_fail(1)) SWIG_fail
;
41223 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41224 if (SWIG_arg_fail(2)) SWIG_fail
;
41227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41228 (arg1
)->RemoveGrowableCol(arg2
);
41230 wxPyEndAllowThreads(__tstate
);
41231 if (PyErr_Occurred()) SWIG_fail
;
41233 Py_INCREF(Py_None
); resultobj
= Py_None
;
41240 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41241 PyObject
*resultobj
;
41242 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41244 PyObject
* obj0
= 0 ;
41245 PyObject
* obj1
= 0 ;
41246 char *kwnames
[] = {
41247 (char *) "self",(char *) "direction", NULL
41250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41252 if (SWIG_arg_fail(1)) SWIG_fail
;
41254 arg2
= (int)(SWIG_As_int(obj1
));
41255 if (SWIG_arg_fail(2)) SWIG_fail
;
41258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41259 (arg1
)->SetFlexibleDirection(arg2
);
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41264 Py_INCREF(Py_None
); resultobj
= Py_None
;
41271 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41272 PyObject
*resultobj
;
41273 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41275 PyObject
* obj0
= 0 ;
41276 char *kwnames
[] = {
41277 (char *) "self", NULL
41280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41282 if (SWIG_arg_fail(1)) SWIG_fail
;
41284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41285 result
= (int)(arg1
)->GetFlexibleDirection();
41287 wxPyEndAllowThreads(__tstate
);
41288 if (PyErr_Occurred()) SWIG_fail
;
41291 resultobj
= SWIG_From_int((int)(result
));
41299 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41300 PyObject
*resultobj
;
41301 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41302 wxFlexSizerGrowMode arg2
;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 char *kwnames
[] = {
41306 (char *) "self",(char *) "mode", NULL
41309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41311 if (SWIG_arg_fail(1)) SWIG_fail
;
41313 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41314 if (SWIG_arg_fail(2)) SWIG_fail
;
41317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41318 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41320 wxPyEndAllowThreads(__tstate
);
41321 if (PyErr_Occurred()) SWIG_fail
;
41323 Py_INCREF(Py_None
); resultobj
= Py_None
;
41330 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41331 PyObject
*resultobj
;
41332 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41333 wxFlexSizerGrowMode result
;
41334 PyObject
* obj0
= 0 ;
41335 char *kwnames
[] = {
41336 (char *) "self", NULL
41339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41341 if (SWIG_arg_fail(1)) SWIG_fail
;
41343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41344 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41346 wxPyEndAllowThreads(__tstate
);
41347 if (PyErr_Occurred()) SWIG_fail
;
41349 resultobj
= SWIG_From_int((result
));
41356 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41357 PyObject
*resultobj
;
41358 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41359 wxArrayInt
*result
;
41360 PyObject
* obj0
= 0 ;
41361 char *kwnames
[] = {
41362 (char *) "self", NULL
41365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41367 if (SWIG_arg_fail(1)) SWIG_fail
;
41369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41371 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41372 result
= (wxArrayInt
*) &_result_ref
;
41375 wxPyEndAllowThreads(__tstate
);
41376 if (PyErr_Occurred()) SWIG_fail
;
41379 resultobj
= PyList_New(0);
41381 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41382 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41383 PyList_Append(resultobj
, val
);
41393 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
;
41395 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41396 wxArrayInt
*result
;
41397 PyObject
* obj0
= 0 ;
41398 char *kwnames
[] = {
41399 (char *) "self", NULL
41402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41404 if (SWIG_arg_fail(1)) SWIG_fail
;
41406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41408 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41409 result
= (wxArrayInt
*) &_result_ref
;
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41416 resultobj
= PyList_New(0);
41418 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41419 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41420 PyList_Append(resultobj
, val
);
41430 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41433 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41435 return Py_BuildValue((char *)"");
41437 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41438 PyObject
*resultobj
;
41439 wxStdDialogButtonSizer
*result
;
41440 char *kwnames
[] = {
41444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41447 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41449 wxPyEndAllowThreads(__tstate
);
41450 if (PyErr_Occurred()) SWIG_fail
;
41452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41459 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41460 PyObject
*resultobj
;
41461 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41462 wxButton
*arg2
= (wxButton
*) 0 ;
41463 PyObject
* obj0
= 0 ;
41464 PyObject
* obj1
= 0 ;
41465 char *kwnames
[] = {
41466 (char *) "self",(char *) "button", NULL
41469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41471 if (SWIG_arg_fail(1)) SWIG_fail
;
41472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41473 if (SWIG_arg_fail(2)) SWIG_fail
;
41475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41476 (arg1
)->AddButton(arg2
);
41478 wxPyEndAllowThreads(__tstate
);
41479 if (PyErr_Occurred()) SWIG_fail
;
41481 Py_INCREF(Py_None
); resultobj
= Py_None
;
41488 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41489 PyObject
*resultobj
;
41490 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41491 PyObject
* obj0
= 0 ;
41492 char *kwnames
[] = {
41493 (char *) "self", NULL
41496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41498 if (SWIG_arg_fail(1)) SWIG_fail
;
41500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41503 wxPyEndAllowThreads(__tstate
);
41504 if (PyErr_Occurred()) SWIG_fail
;
41506 Py_INCREF(Py_None
); resultobj
= Py_None
;
41513 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41514 PyObject
*resultobj
;
41515 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41516 wxButton
*arg2
= (wxButton
*) 0 ;
41517 PyObject
* obj0
= 0 ;
41518 PyObject
* obj1
= 0 ;
41519 char *kwnames
[] = {
41520 (char *) "self",(char *) "button", NULL
41523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41525 if (SWIG_arg_fail(1)) SWIG_fail
;
41526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41527 if (SWIG_arg_fail(2)) SWIG_fail
;
41529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41530 (arg1
)->SetAffirmativeButton(arg2
);
41532 wxPyEndAllowThreads(__tstate
);
41533 if (PyErr_Occurred()) SWIG_fail
;
41535 Py_INCREF(Py_None
); resultobj
= Py_None
;
41542 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41543 PyObject
*resultobj
;
41544 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41545 wxButton
*arg2
= (wxButton
*) 0 ;
41546 PyObject
* obj0
= 0 ;
41547 PyObject
* obj1
= 0 ;
41548 char *kwnames
[] = {
41549 (char *) "self",(char *) "button", NULL
41552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41554 if (SWIG_arg_fail(1)) SWIG_fail
;
41555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41556 if (SWIG_arg_fail(2)) SWIG_fail
;
41558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41559 (arg1
)->SetNegativeButton(arg2
);
41561 wxPyEndAllowThreads(__tstate
);
41562 if (PyErr_Occurred()) SWIG_fail
;
41564 Py_INCREF(Py_None
); resultobj
= Py_None
;
41571 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41572 PyObject
*resultobj
;
41573 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41574 wxButton
*arg2
= (wxButton
*) 0 ;
41575 PyObject
* obj0
= 0 ;
41576 PyObject
* obj1
= 0 ;
41577 char *kwnames
[] = {
41578 (char *) "self",(char *) "button", NULL
41581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41583 if (SWIG_arg_fail(1)) SWIG_fail
;
41584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41585 if (SWIG_arg_fail(2)) SWIG_fail
;
41587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41588 (arg1
)->SetCancelButton(arg2
);
41590 wxPyEndAllowThreads(__tstate
);
41591 if (PyErr_Occurred()) SWIG_fail
;
41593 Py_INCREF(Py_None
); resultobj
= Py_None
;
41600 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41601 PyObject
*resultobj
;
41602 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41604 PyObject
* obj0
= 0 ;
41605 char *kwnames
[] = {
41606 (char *) "self", NULL
41609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41611 if (SWIG_arg_fail(1)) SWIG_fail
;
41613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41614 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41616 wxPyEndAllowThreads(__tstate
);
41617 if (PyErr_Occurred()) SWIG_fail
;
41620 resultobj
= wxPyMake_wxObject(result
, 0);
41628 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41629 PyObject
*resultobj
;
41630 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41632 PyObject
* obj0
= 0 ;
41633 char *kwnames
[] = {
41634 (char *) "self", NULL
41637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41639 if (SWIG_arg_fail(1)) SWIG_fail
;
41641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41642 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41644 wxPyEndAllowThreads(__tstate
);
41645 if (PyErr_Occurred()) SWIG_fail
;
41648 resultobj
= wxPyMake_wxObject(result
, 0);
41656 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41657 PyObject
*resultobj
;
41658 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41660 PyObject
* obj0
= 0 ;
41661 char *kwnames
[] = {
41662 (char *) "self", NULL
41665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41667 if (SWIG_arg_fail(1)) SWIG_fail
;
41669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41670 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41672 wxPyEndAllowThreads(__tstate
);
41673 if (PyErr_Occurred()) SWIG_fail
;
41676 resultobj
= wxPyMake_wxObject(result
, 0);
41684 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41685 PyObject
*resultobj
;
41686 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41688 PyObject
* obj0
= 0 ;
41689 char *kwnames
[] = {
41690 (char *) "self", NULL
41693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41695 if (SWIG_arg_fail(1)) SWIG_fail
;
41697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41698 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41700 wxPyEndAllowThreads(__tstate
);
41701 if (PyErr_Occurred()) SWIG_fail
;
41704 resultobj
= wxPyMake_wxObject(result
, 0);
41712 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41713 PyObject
*resultobj
;
41714 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41716 PyObject
* obj0
= 0 ;
41717 char *kwnames
[] = {
41718 (char *) "self", NULL
41721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41723 if (SWIG_arg_fail(1)) SWIG_fail
;
41725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41726 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41728 wxPyEndAllowThreads(__tstate
);
41729 if (PyErr_Occurred()) SWIG_fail
;
41732 resultobj
= wxPyMake_wxObject(result
, 0);
41740 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41743 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41745 return Py_BuildValue((char *)"");
41747 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41748 PyObject
*resultobj
;
41749 int arg1
= (int) 0 ;
41750 int arg2
= (int) 0 ;
41751 wxGBPosition
*result
;
41752 PyObject
* obj0
= 0 ;
41753 PyObject
* obj1
= 0 ;
41754 char *kwnames
[] = {
41755 (char *) "row",(char *) "col", NULL
41758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41761 arg1
= (int)(SWIG_As_int(obj0
));
41762 if (SWIG_arg_fail(1)) SWIG_fail
;
41767 arg2
= (int)(SWIG_As_int(obj1
));
41768 if (SWIG_arg_fail(2)) SWIG_fail
;
41772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41773 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41775 wxPyEndAllowThreads(__tstate
);
41776 if (PyErr_Occurred()) SWIG_fail
;
41778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41785 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41786 PyObject
*resultobj
;
41787 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41789 PyObject
* obj0
= 0 ;
41790 char *kwnames
[] = {
41791 (char *) "self", NULL
41794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41796 if (SWIG_arg_fail(1)) SWIG_fail
;
41798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41799 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41801 wxPyEndAllowThreads(__tstate
);
41802 if (PyErr_Occurred()) SWIG_fail
;
41805 resultobj
= SWIG_From_int((int)(result
));
41813 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41814 PyObject
*resultobj
;
41815 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41817 PyObject
* obj0
= 0 ;
41818 char *kwnames
[] = {
41819 (char *) "self", NULL
41822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41824 if (SWIG_arg_fail(1)) SWIG_fail
;
41826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41827 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41829 wxPyEndAllowThreads(__tstate
);
41830 if (PyErr_Occurred()) SWIG_fail
;
41833 resultobj
= SWIG_From_int((int)(result
));
41841 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41842 PyObject
*resultobj
;
41843 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41845 PyObject
* obj0
= 0 ;
41846 PyObject
* obj1
= 0 ;
41847 char *kwnames
[] = {
41848 (char *) "self",(char *) "row", NULL
41851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41853 if (SWIG_arg_fail(1)) SWIG_fail
;
41855 arg2
= (int)(SWIG_As_int(obj1
));
41856 if (SWIG_arg_fail(2)) SWIG_fail
;
41859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41860 (arg1
)->SetRow(arg2
);
41862 wxPyEndAllowThreads(__tstate
);
41863 if (PyErr_Occurred()) SWIG_fail
;
41865 Py_INCREF(Py_None
); resultobj
= Py_None
;
41872 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41873 PyObject
*resultobj
;
41874 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41876 PyObject
* obj0
= 0 ;
41877 PyObject
* obj1
= 0 ;
41878 char *kwnames
[] = {
41879 (char *) "self",(char *) "col", NULL
41882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41884 if (SWIG_arg_fail(1)) SWIG_fail
;
41886 arg2
= (int)(SWIG_As_int(obj1
));
41887 if (SWIG_arg_fail(2)) SWIG_fail
;
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 (arg1
)->SetCol(arg2
);
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41896 Py_INCREF(Py_None
); resultobj
= Py_None
;
41903 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41904 PyObject
*resultobj
;
41905 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41906 wxGBPosition
*arg2
= 0 ;
41908 wxGBPosition temp2
;
41909 PyObject
* obj0
= 0 ;
41910 PyObject
* obj1
= 0 ;
41911 char *kwnames
[] = {
41912 (char *) "self",(char *) "other", NULL
41915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41917 if (SWIG_arg_fail(1)) SWIG_fail
;
41920 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41924 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41926 wxPyEndAllowThreads(__tstate
);
41927 if (PyErr_Occurred()) SWIG_fail
;
41930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41938 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41939 PyObject
*resultobj
;
41940 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41941 wxGBPosition
*arg2
= 0 ;
41943 wxGBPosition temp2
;
41944 PyObject
* obj0
= 0 ;
41945 PyObject
* obj1
= 0 ;
41946 char *kwnames
[] = {
41947 (char *) "self",(char *) "other", NULL
41950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41952 if (SWIG_arg_fail(1)) SWIG_fail
;
41955 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41959 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41961 wxPyEndAllowThreads(__tstate
);
41962 if (PyErr_Occurred()) SWIG_fail
;
41965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41973 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41974 PyObject
*resultobj
;
41975 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41976 int arg2
= (int) 0 ;
41977 int arg3
= (int) 0 ;
41978 PyObject
* obj0
= 0 ;
41979 PyObject
* obj1
= 0 ;
41980 PyObject
* obj2
= 0 ;
41981 char *kwnames
[] = {
41982 (char *) "self",(char *) "row",(char *) "col", NULL
41985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41987 if (SWIG_arg_fail(1)) SWIG_fail
;
41990 arg2
= (int)(SWIG_As_int(obj1
));
41991 if (SWIG_arg_fail(2)) SWIG_fail
;
41996 arg3
= (int)(SWIG_As_int(obj2
));
41997 if (SWIG_arg_fail(3)) SWIG_fail
;
42001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42002 wxGBPosition_Set(arg1
,arg2
,arg3
);
42004 wxPyEndAllowThreads(__tstate
);
42005 if (PyErr_Occurred()) SWIG_fail
;
42007 Py_INCREF(Py_None
); resultobj
= Py_None
;
42014 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42015 PyObject
*resultobj
;
42016 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42018 PyObject
* obj0
= 0 ;
42019 char *kwnames
[] = {
42020 (char *) "self", NULL
42023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42025 if (SWIG_arg_fail(1)) SWIG_fail
;
42027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42028 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42033 resultobj
= result
;
42040 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42043 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42045 return Py_BuildValue((char *)"");
42047 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42048 PyObject
*resultobj
;
42049 int arg1
= (int) 1 ;
42050 int arg2
= (int) 1 ;
42052 PyObject
* obj0
= 0 ;
42053 PyObject
* obj1
= 0 ;
42054 char *kwnames
[] = {
42055 (char *) "rowspan",(char *) "colspan", NULL
42058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42061 arg1
= (int)(SWIG_As_int(obj0
));
42062 if (SWIG_arg_fail(1)) SWIG_fail
;
42067 arg2
= (int)(SWIG_As_int(obj1
));
42068 if (SWIG_arg_fail(2)) SWIG_fail
;
42072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42073 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42075 wxPyEndAllowThreads(__tstate
);
42076 if (PyErr_Occurred()) SWIG_fail
;
42078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42085 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42086 PyObject
*resultobj
;
42087 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42089 PyObject
* obj0
= 0 ;
42090 char *kwnames
[] = {
42091 (char *) "self", NULL
42094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42096 if (SWIG_arg_fail(1)) SWIG_fail
;
42098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42099 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42101 wxPyEndAllowThreads(__tstate
);
42102 if (PyErr_Occurred()) SWIG_fail
;
42105 resultobj
= SWIG_From_int((int)(result
));
42113 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42114 PyObject
*resultobj
;
42115 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42117 PyObject
* obj0
= 0 ;
42118 char *kwnames
[] = {
42119 (char *) "self", NULL
42122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42124 if (SWIG_arg_fail(1)) SWIG_fail
;
42126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42129 wxPyEndAllowThreads(__tstate
);
42130 if (PyErr_Occurred()) SWIG_fail
;
42133 resultobj
= SWIG_From_int((int)(result
));
42141 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42142 PyObject
*resultobj
;
42143 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42145 PyObject
* obj0
= 0 ;
42146 PyObject
* obj1
= 0 ;
42147 char *kwnames
[] = {
42148 (char *) "self",(char *) "rowspan", NULL
42151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42153 if (SWIG_arg_fail(1)) SWIG_fail
;
42155 arg2
= (int)(SWIG_As_int(obj1
));
42156 if (SWIG_arg_fail(2)) SWIG_fail
;
42159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42160 (arg1
)->SetRowspan(arg2
);
42162 wxPyEndAllowThreads(__tstate
);
42163 if (PyErr_Occurred()) SWIG_fail
;
42165 Py_INCREF(Py_None
); resultobj
= Py_None
;
42172 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42173 PyObject
*resultobj
;
42174 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42176 PyObject
* obj0
= 0 ;
42177 PyObject
* obj1
= 0 ;
42178 char *kwnames
[] = {
42179 (char *) "self",(char *) "colspan", NULL
42182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42184 if (SWIG_arg_fail(1)) SWIG_fail
;
42186 arg2
= (int)(SWIG_As_int(obj1
));
42187 if (SWIG_arg_fail(2)) SWIG_fail
;
42190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42191 (arg1
)->SetColspan(arg2
);
42193 wxPyEndAllowThreads(__tstate
);
42194 if (PyErr_Occurred()) SWIG_fail
;
42196 Py_INCREF(Py_None
); resultobj
= Py_None
;
42203 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42204 PyObject
*resultobj
;
42205 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42206 wxGBSpan
*arg2
= 0 ;
42209 PyObject
* obj0
= 0 ;
42210 PyObject
* obj1
= 0 ;
42211 char *kwnames
[] = {
42212 (char *) "self",(char *) "other", NULL
42215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42217 if (SWIG_arg_fail(1)) SWIG_fail
;
42220 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42224 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42226 wxPyEndAllowThreads(__tstate
);
42227 if (PyErr_Occurred()) SWIG_fail
;
42230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42238 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42239 PyObject
*resultobj
;
42240 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42241 wxGBSpan
*arg2
= 0 ;
42244 PyObject
* obj0
= 0 ;
42245 PyObject
* obj1
= 0 ;
42246 char *kwnames
[] = {
42247 (char *) "self",(char *) "other", NULL
42250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42252 if (SWIG_arg_fail(1)) SWIG_fail
;
42255 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42259 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42261 wxPyEndAllowThreads(__tstate
);
42262 if (PyErr_Occurred()) SWIG_fail
;
42265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42273 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42274 PyObject
*resultobj
;
42275 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42276 int arg2
= (int) 1 ;
42277 int arg3
= (int) 1 ;
42278 PyObject
* obj0
= 0 ;
42279 PyObject
* obj1
= 0 ;
42280 PyObject
* obj2
= 0 ;
42281 char *kwnames
[] = {
42282 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42287 if (SWIG_arg_fail(1)) SWIG_fail
;
42290 arg2
= (int)(SWIG_As_int(obj1
));
42291 if (SWIG_arg_fail(2)) SWIG_fail
;
42296 arg3
= (int)(SWIG_As_int(obj2
));
42297 if (SWIG_arg_fail(3)) SWIG_fail
;
42301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42302 wxGBSpan_Set(arg1
,arg2
,arg3
);
42304 wxPyEndAllowThreads(__tstate
);
42305 if (PyErr_Occurred()) SWIG_fail
;
42307 Py_INCREF(Py_None
); resultobj
= Py_None
;
42314 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42315 PyObject
*resultobj
;
42316 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42318 PyObject
* obj0
= 0 ;
42319 char *kwnames
[] = {
42320 (char *) "self", NULL
42323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42325 if (SWIG_arg_fail(1)) SWIG_fail
;
42327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42328 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42330 wxPyEndAllowThreads(__tstate
);
42331 if (PyErr_Occurred()) SWIG_fail
;
42333 resultobj
= result
;
42340 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42343 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42345 return Py_BuildValue((char *)"");
42347 static int _wrap_DefaultSpan_set(PyObject
*) {
42348 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42353 static PyObject
*_wrap_DefaultSpan_get(void) {
42356 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42361 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42362 PyObject
*resultobj
;
42363 wxGBSizerItem
*result
;
42364 char *kwnames
[] = {
42368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42371 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42373 wxPyEndAllowThreads(__tstate
);
42374 if (PyErr_Occurred()) SWIG_fail
;
42376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42383 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42384 PyObject
*resultobj
;
42385 wxWindow
*arg1
= (wxWindow
*) 0 ;
42386 wxGBPosition
*arg2
= 0 ;
42387 wxGBSpan
*arg3
= 0 ;
42390 PyObject
*arg6
= (PyObject
*) NULL
;
42391 wxGBSizerItem
*result
;
42392 wxGBPosition temp2
;
42394 PyObject
* obj0
= 0 ;
42395 PyObject
* obj1
= 0 ;
42396 PyObject
* obj2
= 0 ;
42397 PyObject
* obj3
= 0 ;
42398 PyObject
* obj4
= 0 ;
42399 PyObject
* obj5
= 0 ;
42400 char *kwnames
[] = {
42401 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42406 if (SWIG_arg_fail(1)) SWIG_fail
;
42409 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42413 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42416 arg4
= (int)(SWIG_As_int(obj3
));
42417 if (SWIG_arg_fail(4)) SWIG_fail
;
42420 arg5
= (int)(SWIG_As_int(obj4
));
42421 if (SWIG_arg_fail(5)) SWIG_fail
;
42427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42428 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42430 wxPyEndAllowThreads(__tstate
);
42431 if (PyErr_Occurred()) SWIG_fail
;
42433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42440 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42441 PyObject
*resultobj
;
42442 wxSizer
*arg1
= (wxSizer
*) 0 ;
42443 wxGBPosition
*arg2
= 0 ;
42444 wxGBSpan
*arg3
= 0 ;
42447 PyObject
*arg6
= (PyObject
*) NULL
;
42448 wxGBSizerItem
*result
;
42449 wxGBPosition temp2
;
42451 PyObject
* obj0
= 0 ;
42452 PyObject
* obj1
= 0 ;
42453 PyObject
* obj2
= 0 ;
42454 PyObject
* obj3
= 0 ;
42455 PyObject
* obj4
= 0 ;
42456 PyObject
* obj5
= 0 ;
42457 char *kwnames
[] = {
42458 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42463 if (SWIG_arg_fail(1)) SWIG_fail
;
42466 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42470 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42473 arg4
= (int)(SWIG_As_int(obj3
));
42474 if (SWIG_arg_fail(4)) SWIG_fail
;
42477 arg5
= (int)(SWIG_As_int(obj4
));
42478 if (SWIG_arg_fail(5)) SWIG_fail
;
42484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42485 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42487 wxPyEndAllowThreads(__tstate
);
42488 if (PyErr_Occurred()) SWIG_fail
;
42490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42497 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42498 PyObject
*resultobj
;
42501 wxGBPosition
*arg3
= 0 ;
42502 wxGBSpan
*arg4
= 0 ;
42505 PyObject
*arg7
= (PyObject
*) NULL
;
42506 wxGBSizerItem
*result
;
42507 wxGBPosition temp3
;
42509 PyObject
* obj0
= 0 ;
42510 PyObject
* obj1
= 0 ;
42511 PyObject
* obj2
= 0 ;
42512 PyObject
* obj3
= 0 ;
42513 PyObject
* obj4
= 0 ;
42514 PyObject
* obj5
= 0 ;
42515 PyObject
* obj6
= 0 ;
42516 char *kwnames
[] = {
42517 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42522 arg1
= (int)(SWIG_As_int(obj0
));
42523 if (SWIG_arg_fail(1)) SWIG_fail
;
42526 arg2
= (int)(SWIG_As_int(obj1
));
42527 if (SWIG_arg_fail(2)) SWIG_fail
;
42531 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42535 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42538 arg5
= (int)(SWIG_As_int(obj4
));
42539 if (SWIG_arg_fail(5)) SWIG_fail
;
42542 arg6
= (int)(SWIG_As_int(obj5
));
42543 if (SWIG_arg_fail(6)) SWIG_fail
;
42549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42550 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42552 wxPyEndAllowThreads(__tstate
);
42553 if (PyErr_Occurred()) SWIG_fail
;
42555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42562 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42563 PyObject
*resultobj
;
42564 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42565 wxGBPosition result
;
42566 PyObject
* obj0
= 0 ;
42567 char *kwnames
[] = {
42568 (char *) "self", NULL
42571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42573 if (SWIG_arg_fail(1)) SWIG_fail
;
42575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42576 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42578 wxPyEndAllowThreads(__tstate
);
42579 if (PyErr_Occurred()) SWIG_fail
;
42582 wxGBPosition
* resultptr
;
42583 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42592 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42593 PyObject
*resultobj
;
42594 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42596 PyObject
* obj0
= 0 ;
42597 char *kwnames
[] = {
42598 (char *) "self", NULL
42601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42603 if (SWIG_arg_fail(1)) SWIG_fail
;
42605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42606 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42608 wxPyEndAllowThreads(__tstate
);
42609 if (PyErr_Occurred()) SWIG_fail
;
42612 wxGBSpan
* resultptr
;
42613 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42622 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42623 PyObject
*resultobj
;
42624 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42625 wxGBPosition
*arg2
= 0 ;
42627 wxGBPosition temp2
;
42628 PyObject
* obj0
= 0 ;
42629 PyObject
* obj1
= 0 ;
42630 char *kwnames
[] = {
42631 (char *) "self",(char *) "pos", NULL
42634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42636 if (SWIG_arg_fail(1)) SWIG_fail
;
42639 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42643 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42657 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42658 PyObject
*resultobj
;
42659 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42660 wxGBSpan
*arg2
= 0 ;
42663 PyObject
* obj0
= 0 ;
42664 PyObject
* obj1
= 0 ;
42665 char *kwnames
[] = {
42666 (char *) "self",(char *) "span", NULL
42669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42671 if (SWIG_arg_fail(1)) SWIG_fail
;
42674 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42678 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42680 wxPyEndAllowThreads(__tstate
);
42681 if (PyErr_Occurred()) SWIG_fail
;
42684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42692 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42693 PyObject
*resultobj
;
42694 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42695 wxGBSizerItem
*arg2
= 0 ;
42697 PyObject
* obj0
= 0 ;
42698 PyObject
* obj1
= 0 ;
42699 char *kwnames
[] = {
42700 (char *) "self",(char *) "other", NULL
42703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42705 if (SWIG_arg_fail(1)) SWIG_fail
;
42707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42708 if (SWIG_arg_fail(2)) SWIG_fail
;
42709 if (arg2
== NULL
) {
42710 SWIG_null_ref("wxGBSizerItem");
42712 if (SWIG_arg_fail(2)) SWIG_fail
;
42715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42716 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42718 wxPyEndAllowThreads(__tstate
);
42719 if (PyErr_Occurred()) SWIG_fail
;
42722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42730 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42731 PyObject
*resultobj
;
42732 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42733 wxGBPosition
*arg2
= 0 ;
42734 wxGBSpan
*arg3
= 0 ;
42736 wxGBPosition temp2
;
42738 PyObject
* obj0
= 0 ;
42739 PyObject
* obj1
= 0 ;
42740 PyObject
* obj2
= 0 ;
42741 char *kwnames
[] = {
42742 (char *) "self",(char *) "pos",(char *) "span", NULL
42745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42747 if (SWIG_arg_fail(1)) SWIG_fail
;
42750 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42754 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42758 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42760 wxPyEndAllowThreads(__tstate
);
42761 if (PyErr_Occurred()) SWIG_fail
;
42764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42772 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42773 PyObject
*resultobj
;
42774 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42775 wxGBPosition result
;
42776 PyObject
* obj0
= 0 ;
42777 char *kwnames
[] = {
42778 (char *) "self", NULL
42781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42783 if (SWIG_arg_fail(1)) SWIG_fail
;
42785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42786 result
= wxGBSizerItem_GetEndPos(arg1
);
42788 wxPyEndAllowThreads(__tstate
);
42789 if (PyErr_Occurred()) SWIG_fail
;
42792 wxGBPosition
* resultptr
;
42793 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42802 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42803 PyObject
*resultobj
;
42804 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42805 wxGridBagSizer
*result
;
42806 PyObject
* obj0
= 0 ;
42807 char *kwnames
[] = {
42808 (char *) "self", NULL
42811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42813 if (SWIG_arg_fail(1)) SWIG_fail
;
42815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42816 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42818 wxPyEndAllowThreads(__tstate
);
42819 if (PyErr_Occurred()) SWIG_fail
;
42821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42828 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42829 PyObject
*resultobj
;
42830 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42831 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42832 PyObject
* obj0
= 0 ;
42833 PyObject
* obj1
= 0 ;
42834 char *kwnames
[] = {
42835 (char *) "self",(char *) "sizer", NULL
42838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42840 if (SWIG_arg_fail(1)) SWIG_fail
;
42841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42842 if (SWIG_arg_fail(2)) SWIG_fail
;
42844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42845 (arg1
)->SetGBSizer(arg2
);
42847 wxPyEndAllowThreads(__tstate
);
42848 if (PyErr_Occurred()) SWIG_fail
;
42850 Py_INCREF(Py_None
); resultobj
= Py_None
;
42857 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42860 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42862 return Py_BuildValue((char *)"");
42864 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42865 PyObject
*resultobj
;
42866 int arg1
= (int) 0 ;
42867 int arg2
= (int) 0 ;
42868 wxGridBagSizer
*result
;
42869 PyObject
* obj0
= 0 ;
42870 PyObject
* obj1
= 0 ;
42871 char *kwnames
[] = {
42872 (char *) "vgap",(char *) "hgap", NULL
42875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42878 arg1
= (int)(SWIG_As_int(obj0
));
42879 if (SWIG_arg_fail(1)) SWIG_fail
;
42884 arg2
= (int)(SWIG_As_int(obj1
));
42885 if (SWIG_arg_fail(2)) SWIG_fail
;
42889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42890 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42902 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42903 PyObject
*resultobj
;
42904 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42905 PyObject
*arg2
= (PyObject
*) 0 ;
42906 wxGBPosition
*arg3
= 0 ;
42907 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42908 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42909 int arg5
= (int) 0 ;
42910 int arg6
= (int) 0 ;
42911 PyObject
*arg7
= (PyObject
*) NULL
;
42912 wxGBSizerItem
*result
;
42913 wxGBPosition temp3
;
42915 PyObject
* obj0
= 0 ;
42916 PyObject
* obj1
= 0 ;
42917 PyObject
* obj2
= 0 ;
42918 PyObject
* obj3
= 0 ;
42919 PyObject
* obj4
= 0 ;
42920 PyObject
* obj5
= 0 ;
42921 PyObject
* obj6
= 0 ;
42922 char *kwnames
[] = {
42923 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42928 if (SWIG_arg_fail(1)) SWIG_fail
;
42932 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42937 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42942 arg5
= (int)(SWIG_As_int(obj4
));
42943 if (SWIG_arg_fail(5)) SWIG_fail
;
42948 arg6
= (int)(SWIG_As_int(obj5
));
42949 if (SWIG_arg_fail(6)) SWIG_fail
;
42956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42957 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42959 wxPyEndAllowThreads(__tstate
);
42960 if (PyErr_Occurred()) SWIG_fail
;
42962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42969 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42970 PyObject
*resultobj
;
42971 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42972 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42973 wxGBSizerItem
*result
;
42974 PyObject
* obj0
= 0 ;
42975 PyObject
* obj1
= 0 ;
42976 char *kwnames
[] = {
42977 (char *) "self",(char *) "item", NULL
42980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42982 if (SWIG_arg_fail(1)) SWIG_fail
;
42983 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42984 if (SWIG_arg_fail(2)) SWIG_fail
;
42986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42987 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42989 wxPyEndAllowThreads(__tstate
);
42990 if (PyErr_Occurred()) SWIG_fail
;
42992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42999 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43000 PyObject
*resultobj
;
43001 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43005 PyObject
* obj0
= 0 ;
43006 PyObject
* obj1
= 0 ;
43007 PyObject
* obj2
= 0 ;
43008 char *kwnames
[] = {
43009 (char *) "self",(char *) "row",(char *) "col", NULL
43012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43014 if (SWIG_arg_fail(1)) SWIG_fail
;
43016 arg2
= (int)(SWIG_As_int(obj1
));
43017 if (SWIG_arg_fail(2)) SWIG_fail
;
43020 arg3
= (int)(SWIG_As_int(obj2
));
43021 if (SWIG_arg_fail(3)) SWIG_fail
;
43024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43025 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43027 wxPyEndAllowThreads(__tstate
);
43028 if (PyErr_Occurred()) SWIG_fail
;
43031 wxSize
* resultptr
;
43032 resultptr
= new wxSize((wxSize
&)(result
));
43033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43041 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43042 PyObject
*resultobj
;
43043 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43045 PyObject
* obj0
= 0 ;
43046 char *kwnames
[] = {
43047 (char *) "self", NULL
43050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43052 if (SWIG_arg_fail(1)) SWIG_fail
;
43054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43055 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43057 wxPyEndAllowThreads(__tstate
);
43058 if (PyErr_Occurred()) SWIG_fail
;
43061 wxSize
* resultptr
;
43062 resultptr
= new wxSize((wxSize
&)(result
));
43063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43071 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43072 PyObject
*resultobj
;
43073 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43076 PyObject
* obj0
= 0 ;
43077 PyObject
* obj1
= 0 ;
43078 char *kwnames
[] = {
43079 (char *) "self",(char *) "sz", NULL
43082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43084 if (SWIG_arg_fail(1)) SWIG_fail
;
43087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43091 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43093 wxPyEndAllowThreads(__tstate
);
43094 if (PyErr_Occurred()) SWIG_fail
;
43096 Py_INCREF(Py_None
); resultobj
= Py_None
;
43103 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43104 PyObject
*resultobj
;
43105 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43106 wxWindow
*arg2
= (wxWindow
*) 0 ;
43107 wxGBPosition result
;
43108 PyObject
* obj0
= 0 ;
43109 PyObject
* obj1
= 0 ;
43111 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43113 if (SWIG_arg_fail(1)) SWIG_fail
;
43114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43115 if (SWIG_arg_fail(2)) SWIG_fail
;
43117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43118 result
= (arg1
)->GetItemPosition(arg2
);
43120 wxPyEndAllowThreads(__tstate
);
43121 if (PyErr_Occurred()) SWIG_fail
;
43124 wxGBPosition
* resultptr
;
43125 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43134 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43135 PyObject
*resultobj
;
43136 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43137 wxSizer
*arg2
= (wxSizer
*) 0 ;
43138 wxGBPosition result
;
43139 PyObject
* obj0
= 0 ;
43140 PyObject
* obj1
= 0 ;
43142 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43144 if (SWIG_arg_fail(1)) SWIG_fail
;
43145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43146 if (SWIG_arg_fail(2)) SWIG_fail
;
43148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43149 result
= (arg1
)->GetItemPosition(arg2
);
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43155 wxGBPosition
* resultptr
;
43156 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43165 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43166 PyObject
*resultobj
;
43167 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43169 wxGBPosition result
;
43170 PyObject
* obj0
= 0 ;
43171 PyObject
* obj1
= 0 ;
43173 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43175 if (SWIG_arg_fail(1)) SWIG_fail
;
43177 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43178 if (SWIG_arg_fail(2)) SWIG_fail
;
43181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43182 result
= (arg1
)->GetItemPosition(arg2
);
43184 wxPyEndAllowThreads(__tstate
);
43185 if (PyErr_Occurred()) SWIG_fail
;
43188 wxGBPosition
* resultptr
;
43189 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43198 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43203 argc
= PyObject_Length(args
);
43204 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43205 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43221 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43229 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43255 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43263 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43271 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43273 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43278 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43283 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43284 PyObject
*resultobj
;
43285 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43286 wxWindow
*arg2
= (wxWindow
*) 0 ;
43287 wxGBPosition
*arg3
= 0 ;
43289 wxGBPosition temp3
;
43290 PyObject
* obj0
= 0 ;
43291 PyObject
* obj1
= 0 ;
43292 PyObject
* obj2
= 0 ;
43294 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43296 if (SWIG_arg_fail(1)) SWIG_fail
;
43297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43298 if (SWIG_arg_fail(2)) SWIG_fail
;
43301 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43307 wxPyEndAllowThreads(__tstate
);
43308 if (PyErr_Occurred()) SWIG_fail
;
43311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43319 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43320 PyObject
*resultobj
;
43321 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43322 wxSizer
*arg2
= (wxSizer
*) 0 ;
43323 wxGBPosition
*arg3
= 0 ;
43325 wxGBPosition temp3
;
43326 PyObject
* obj0
= 0 ;
43327 PyObject
* obj1
= 0 ;
43328 PyObject
* obj2
= 0 ;
43330 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43332 if (SWIG_arg_fail(1)) SWIG_fail
;
43333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43334 if (SWIG_arg_fail(2)) SWIG_fail
;
43337 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43341 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43343 wxPyEndAllowThreads(__tstate
);
43344 if (PyErr_Occurred()) SWIG_fail
;
43347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43355 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43356 PyObject
*resultobj
;
43357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43359 wxGBPosition
*arg3
= 0 ;
43361 wxGBPosition temp3
;
43362 PyObject
* obj0
= 0 ;
43363 PyObject
* obj1
= 0 ;
43364 PyObject
* obj2
= 0 ;
43366 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43368 if (SWIG_arg_fail(1)) SWIG_fail
;
43370 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43371 if (SWIG_arg_fail(2)) SWIG_fail
;
43375 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43379 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43381 wxPyEndAllowThreads(__tstate
);
43382 if (PyErr_Occurred()) SWIG_fail
;
43385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43393 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43398 argc
= PyObject_Length(args
);
43399 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43400 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43406 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43416 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43425 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43428 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43437 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43447 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43456 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43459 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43468 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43476 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43479 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43482 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43488 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43493 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43494 PyObject
*resultobj
;
43495 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43496 wxWindow
*arg2
= (wxWindow
*) 0 ;
43498 PyObject
* obj0
= 0 ;
43499 PyObject
* obj1
= 0 ;
43501 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43503 if (SWIG_arg_fail(1)) SWIG_fail
;
43504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43505 if (SWIG_arg_fail(2)) SWIG_fail
;
43507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43508 result
= (arg1
)->GetItemSpan(arg2
);
43510 wxPyEndAllowThreads(__tstate
);
43511 if (PyErr_Occurred()) SWIG_fail
;
43514 wxGBSpan
* resultptr
;
43515 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43524 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43525 PyObject
*resultobj
;
43526 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43527 wxSizer
*arg2
= (wxSizer
*) 0 ;
43529 PyObject
* obj0
= 0 ;
43530 PyObject
* obj1
= 0 ;
43532 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43534 if (SWIG_arg_fail(1)) SWIG_fail
;
43535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43536 if (SWIG_arg_fail(2)) SWIG_fail
;
43538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43539 result
= (arg1
)->GetItemSpan(arg2
);
43541 wxPyEndAllowThreads(__tstate
);
43542 if (PyErr_Occurred()) SWIG_fail
;
43545 wxGBSpan
* resultptr
;
43546 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43555 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43556 PyObject
*resultobj
;
43557 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43560 PyObject
* obj0
= 0 ;
43561 PyObject
* obj1
= 0 ;
43563 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43565 if (SWIG_arg_fail(1)) SWIG_fail
;
43567 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43568 if (SWIG_arg_fail(2)) SWIG_fail
;
43571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43572 result
= (arg1
)->GetItemSpan(arg2
);
43574 wxPyEndAllowThreads(__tstate
);
43575 if (PyErr_Occurred()) SWIG_fail
;
43578 wxGBSpan
* resultptr
;
43579 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43588 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43593 argc
= PyObject_Length(args
);
43594 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43595 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43601 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43611 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43619 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43627 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43637 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43645 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43653 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43661 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43663 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43668 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43673 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43674 PyObject
*resultobj
;
43675 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43676 wxWindow
*arg2
= (wxWindow
*) 0 ;
43677 wxGBSpan
*arg3
= 0 ;
43680 PyObject
* obj0
= 0 ;
43681 PyObject
* obj1
= 0 ;
43682 PyObject
* obj2
= 0 ;
43684 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43686 if (SWIG_arg_fail(1)) SWIG_fail
;
43687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43688 if (SWIG_arg_fail(2)) SWIG_fail
;
43691 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43695 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43697 wxPyEndAllowThreads(__tstate
);
43698 if (PyErr_Occurred()) SWIG_fail
;
43701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43709 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43710 PyObject
*resultobj
;
43711 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43712 wxSizer
*arg2
= (wxSizer
*) 0 ;
43713 wxGBSpan
*arg3
= 0 ;
43716 PyObject
* obj0
= 0 ;
43717 PyObject
* obj1
= 0 ;
43718 PyObject
* obj2
= 0 ;
43720 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43722 if (SWIG_arg_fail(1)) SWIG_fail
;
43723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43724 if (SWIG_arg_fail(2)) SWIG_fail
;
43727 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43731 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43733 wxPyEndAllowThreads(__tstate
);
43734 if (PyErr_Occurred()) SWIG_fail
;
43737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43745 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43746 PyObject
*resultobj
;
43747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43749 wxGBSpan
*arg3
= 0 ;
43752 PyObject
* obj0
= 0 ;
43753 PyObject
* obj1
= 0 ;
43754 PyObject
* obj2
= 0 ;
43756 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43758 if (SWIG_arg_fail(1)) SWIG_fail
;
43760 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43761 if (SWIG_arg_fail(2)) SWIG_fail
;
43765 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43769 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43771 wxPyEndAllowThreads(__tstate
);
43772 if (PyErr_Occurred()) SWIG_fail
;
43775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43783 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43788 argc
= PyObject_Length(args
);
43789 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43790 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43796 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43806 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43815 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43818 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43827 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43837 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43846 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43849 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43858 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43866 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43869 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43872 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43878 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43883 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43884 PyObject
*resultobj
;
43885 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43886 wxWindow
*arg2
= (wxWindow
*) 0 ;
43887 wxGBSizerItem
*result
;
43888 PyObject
* obj0
= 0 ;
43889 PyObject
* obj1
= 0 ;
43891 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43893 if (SWIG_arg_fail(1)) SWIG_fail
;
43894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43895 if (SWIG_arg_fail(2)) SWIG_fail
;
43897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43898 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43900 wxPyEndAllowThreads(__tstate
);
43901 if (PyErr_Occurred()) SWIG_fail
;
43903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43910 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43911 PyObject
*resultobj
;
43912 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43913 wxSizer
*arg2
= (wxSizer
*) 0 ;
43914 wxGBSizerItem
*result
;
43915 PyObject
* obj0
= 0 ;
43916 PyObject
* obj1
= 0 ;
43918 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43920 if (SWIG_arg_fail(1)) SWIG_fail
;
43921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43922 if (SWIG_arg_fail(2)) SWIG_fail
;
43924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43925 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43927 wxPyEndAllowThreads(__tstate
);
43928 if (PyErr_Occurred()) SWIG_fail
;
43930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43937 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43942 argc
= PyObject_Length(args
);
43943 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43944 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43950 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43960 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43968 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43976 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43986 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43994 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43999 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44004 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44005 PyObject
*resultobj
;
44006 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44007 wxGBPosition
*arg2
= 0 ;
44008 wxGBSizerItem
*result
;
44009 wxGBPosition temp2
;
44010 PyObject
* obj0
= 0 ;
44011 PyObject
* obj1
= 0 ;
44012 char *kwnames
[] = {
44013 (char *) "self",(char *) "pos", NULL
44016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44018 if (SWIG_arg_fail(1)) SWIG_fail
;
44021 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44025 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44027 wxPyEndAllowThreads(__tstate
);
44028 if (PyErr_Occurred()) SWIG_fail
;
44030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44037 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44038 PyObject
*resultobj
;
44039 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44040 wxPoint
*arg2
= 0 ;
44041 wxGBSizerItem
*result
;
44043 PyObject
* obj0
= 0 ;
44044 PyObject
* obj1
= 0 ;
44045 char *kwnames
[] = {
44046 (char *) "self",(char *) "pt", NULL
44049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44051 if (SWIG_arg_fail(1)) SWIG_fail
;
44054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44058 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44060 wxPyEndAllowThreads(__tstate
);
44061 if (PyErr_Occurred()) SWIG_fail
;
44063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44070 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44071 PyObject
*resultobj
;
44072 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44073 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44074 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44076 PyObject
* obj0
= 0 ;
44077 PyObject
* obj1
= 0 ;
44078 PyObject
* obj2
= 0 ;
44079 char *kwnames
[] = {
44080 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44085 if (SWIG_arg_fail(1)) SWIG_fail
;
44086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44087 if (SWIG_arg_fail(2)) SWIG_fail
;
44089 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44090 if (SWIG_arg_fail(3)) SWIG_fail
;
44093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44094 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44096 wxPyEndAllowThreads(__tstate
);
44097 if (PyErr_Occurred()) SWIG_fail
;
44100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44108 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44109 PyObject
*resultobj
;
44110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44111 wxGBPosition
*arg2
= 0 ;
44112 wxGBSpan
*arg3
= 0 ;
44113 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44115 wxGBPosition temp2
;
44117 PyObject
* obj0
= 0 ;
44118 PyObject
* obj1
= 0 ;
44119 PyObject
* obj2
= 0 ;
44120 PyObject
* obj3
= 0 ;
44121 char *kwnames
[] = {
44122 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44127 if (SWIG_arg_fail(1)) SWIG_fail
;
44130 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44134 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44137 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44138 if (SWIG_arg_fail(4)) SWIG_fail
;
44141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44142 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44144 wxPyEndAllowThreads(__tstate
);
44145 if (PyErr_Occurred()) SWIG_fail
;
44148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44156 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44159 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44161 return Py_BuildValue((char *)"");
44163 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44164 PyObject
*resultobj
;
44165 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44166 wxRelationship arg2
;
44167 wxWindow
*arg3
= (wxWindow
*) 0 ;
44169 int arg5
= (int) 0 ;
44170 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44171 PyObject
* obj0
= 0 ;
44172 PyObject
* obj1
= 0 ;
44173 PyObject
* obj2
= 0 ;
44174 PyObject
* obj3
= 0 ;
44175 PyObject
* obj4
= 0 ;
44176 PyObject
* obj5
= 0 ;
44177 char *kwnames
[] = {
44178 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44183 if (SWIG_arg_fail(1)) SWIG_fail
;
44185 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44186 if (SWIG_arg_fail(2)) SWIG_fail
;
44188 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44189 if (SWIG_arg_fail(3)) SWIG_fail
;
44191 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44192 if (SWIG_arg_fail(4)) SWIG_fail
;
44196 arg5
= (int)(SWIG_As_int(obj4
));
44197 if (SWIG_arg_fail(5)) SWIG_fail
;
44202 arg6
= (int)(SWIG_As_int(obj5
));
44203 if (SWIG_arg_fail(6)) SWIG_fail
;
44207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44208 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44210 wxPyEndAllowThreads(__tstate
);
44211 if (PyErr_Occurred()) SWIG_fail
;
44213 Py_INCREF(Py_None
); resultobj
= Py_None
;
44220 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44221 PyObject
*resultobj
;
44222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44223 wxWindow
*arg2
= (wxWindow
*) 0 ;
44224 int arg3
= (int) 0 ;
44225 PyObject
* obj0
= 0 ;
44226 PyObject
* obj1
= 0 ;
44227 PyObject
* obj2
= 0 ;
44228 char *kwnames
[] = {
44229 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44234 if (SWIG_arg_fail(1)) SWIG_fail
;
44235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44236 if (SWIG_arg_fail(2)) SWIG_fail
;
44239 arg3
= (int)(SWIG_As_int(obj2
));
44240 if (SWIG_arg_fail(3)) SWIG_fail
;
44244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44245 (arg1
)->LeftOf(arg2
,arg3
);
44247 wxPyEndAllowThreads(__tstate
);
44248 if (PyErr_Occurred()) SWIG_fail
;
44250 Py_INCREF(Py_None
); resultobj
= Py_None
;
44257 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44258 PyObject
*resultobj
;
44259 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44260 wxWindow
*arg2
= (wxWindow
*) 0 ;
44261 int arg3
= (int) 0 ;
44262 PyObject
* obj0
= 0 ;
44263 PyObject
* obj1
= 0 ;
44264 PyObject
* obj2
= 0 ;
44265 char *kwnames
[] = {
44266 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44271 if (SWIG_arg_fail(1)) SWIG_fail
;
44272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44273 if (SWIG_arg_fail(2)) SWIG_fail
;
44276 arg3
= (int)(SWIG_As_int(obj2
));
44277 if (SWIG_arg_fail(3)) SWIG_fail
;
44281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44282 (arg1
)->RightOf(arg2
,arg3
);
44284 wxPyEndAllowThreads(__tstate
);
44285 if (PyErr_Occurred()) SWIG_fail
;
44287 Py_INCREF(Py_None
); resultobj
= Py_None
;
44294 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44295 PyObject
*resultobj
;
44296 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44297 wxWindow
*arg2
= (wxWindow
*) 0 ;
44298 int arg3
= (int) 0 ;
44299 PyObject
* obj0
= 0 ;
44300 PyObject
* obj1
= 0 ;
44301 PyObject
* obj2
= 0 ;
44302 char *kwnames
[] = {
44303 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(1)) SWIG_fail
;
44309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44310 if (SWIG_arg_fail(2)) SWIG_fail
;
44313 arg3
= (int)(SWIG_As_int(obj2
));
44314 if (SWIG_arg_fail(3)) SWIG_fail
;
44318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44319 (arg1
)->Above(arg2
,arg3
);
44321 wxPyEndAllowThreads(__tstate
);
44322 if (PyErr_Occurred()) SWIG_fail
;
44324 Py_INCREF(Py_None
); resultobj
= Py_None
;
44331 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44332 PyObject
*resultobj
;
44333 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44334 wxWindow
*arg2
= (wxWindow
*) 0 ;
44335 int arg3
= (int) 0 ;
44336 PyObject
* obj0
= 0 ;
44337 PyObject
* obj1
= 0 ;
44338 PyObject
* obj2
= 0 ;
44339 char *kwnames
[] = {
44340 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44345 if (SWIG_arg_fail(1)) SWIG_fail
;
44346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44347 if (SWIG_arg_fail(2)) SWIG_fail
;
44350 arg3
= (int)(SWIG_As_int(obj2
));
44351 if (SWIG_arg_fail(3)) SWIG_fail
;
44355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44356 (arg1
)->Below(arg2
,arg3
);
44358 wxPyEndAllowThreads(__tstate
);
44359 if (PyErr_Occurred()) SWIG_fail
;
44361 Py_INCREF(Py_None
); resultobj
= Py_None
;
44368 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44369 PyObject
*resultobj
;
44370 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44371 wxWindow
*arg2
= (wxWindow
*) 0 ;
44373 int arg4
= (int) 0 ;
44374 PyObject
* obj0
= 0 ;
44375 PyObject
* obj1
= 0 ;
44376 PyObject
* obj2
= 0 ;
44377 PyObject
* obj3
= 0 ;
44378 char *kwnames
[] = {
44379 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44384 if (SWIG_arg_fail(1)) SWIG_fail
;
44385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44386 if (SWIG_arg_fail(2)) SWIG_fail
;
44388 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44389 if (SWIG_arg_fail(3)) SWIG_fail
;
44393 arg4
= (int)(SWIG_As_int(obj3
));
44394 if (SWIG_arg_fail(4)) SWIG_fail
;
44398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44399 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44401 wxPyEndAllowThreads(__tstate
);
44402 if (PyErr_Occurred()) SWIG_fail
;
44404 Py_INCREF(Py_None
); resultobj
= Py_None
;
44411 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44412 PyObject
*resultobj
;
44413 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44414 wxWindow
*arg2
= (wxWindow
*) 0 ;
44417 PyObject
* obj0
= 0 ;
44418 PyObject
* obj1
= 0 ;
44419 PyObject
* obj2
= 0 ;
44420 PyObject
* obj3
= 0 ;
44421 char *kwnames
[] = {
44422 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44427 if (SWIG_arg_fail(1)) SWIG_fail
;
44428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44429 if (SWIG_arg_fail(2)) SWIG_fail
;
44431 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44432 if (SWIG_arg_fail(3)) SWIG_fail
;
44435 arg4
= (int)(SWIG_As_int(obj3
));
44436 if (SWIG_arg_fail(4)) SWIG_fail
;
44439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44440 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44442 wxPyEndAllowThreads(__tstate
);
44443 if (PyErr_Occurred()) SWIG_fail
;
44445 Py_INCREF(Py_None
); resultobj
= Py_None
;
44452 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44453 PyObject
*resultobj
;
44454 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44456 PyObject
* obj0
= 0 ;
44457 PyObject
* obj1
= 0 ;
44458 char *kwnames
[] = {
44459 (char *) "self",(char *) "val", NULL
44462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44464 if (SWIG_arg_fail(1)) SWIG_fail
;
44466 arg2
= (int)(SWIG_As_int(obj1
));
44467 if (SWIG_arg_fail(2)) SWIG_fail
;
44470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44471 (arg1
)->Absolute(arg2
);
44473 wxPyEndAllowThreads(__tstate
);
44474 if (PyErr_Occurred()) SWIG_fail
;
44476 Py_INCREF(Py_None
); resultobj
= Py_None
;
44483 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44484 PyObject
*resultobj
;
44485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44486 PyObject
* obj0
= 0 ;
44487 char *kwnames
[] = {
44488 (char *) "self", NULL
44491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44493 if (SWIG_arg_fail(1)) SWIG_fail
;
44495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44496 (arg1
)->Unconstrained();
44498 wxPyEndAllowThreads(__tstate
);
44499 if (PyErr_Occurred()) SWIG_fail
;
44501 Py_INCREF(Py_None
); resultobj
= Py_None
;
44508 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44509 PyObject
*resultobj
;
44510 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44511 PyObject
* obj0
= 0 ;
44512 char *kwnames
[] = {
44513 (char *) "self", NULL
44516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44518 if (SWIG_arg_fail(1)) SWIG_fail
;
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44523 wxPyEndAllowThreads(__tstate
);
44524 if (PyErr_Occurred()) SWIG_fail
;
44526 Py_INCREF(Py_None
); resultobj
= Py_None
;
44533 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44534 PyObject
*resultobj
;
44535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44537 PyObject
* obj0
= 0 ;
44538 char *kwnames
[] = {
44539 (char *) "self", NULL
44542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44544 if (SWIG_arg_fail(1)) SWIG_fail
;
44546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44547 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44549 wxPyEndAllowThreads(__tstate
);
44550 if (PyErr_Occurred()) SWIG_fail
;
44553 resultobj
= wxPyMake_wxObject(result
, 0);
44561 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44562 PyObject
*resultobj
;
44563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44565 PyObject
* obj0
= 0 ;
44566 char *kwnames
[] = {
44567 (char *) "self", NULL
44570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44572 if (SWIG_arg_fail(1)) SWIG_fail
;
44574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44575 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44577 wxPyEndAllowThreads(__tstate
);
44578 if (PyErr_Occurred()) SWIG_fail
;
44580 resultobj
= SWIG_From_int((result
));
44587 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44588 PyObject
*resultobj
;
44589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44591 PyObject
* obj0
= 0 ;
44592 PyObject
* obj1
= 0 ;
44593 char *kwnames
[] = {
44594 (char *) "self",(char *) "which", NULL
44597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44599 if (SWIG_arg_fail(1)) SWIG_fail
;
44601 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44602 if (SWIG_arg_fail(2)) SWIG_fail
;
44605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44606 (arg1
)->SetEdge((wxEdge
)arg2
);
44608 wxPyEndAllowThreads(__tstate
);
44609 if (PyErr_Occurred()) SWIG_fail
;
44611 Py_INCREF(Py_None
); resultobj
= Py_None
;
44618 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44619 PyObject
*resultobj
;
44620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44622 PyObject
* obj0
= 0 ;
44623 PyObject
* obj1
= 0 ;
44624 char *kwnames
[] = {
44625 (char *) "self",(char *) "v", NULL
44628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44630 if (SWIG_arg_fail(1)) SWIG_fail
;
44632 arg2
= (int)(SWIG_As_int(obj1
));
44633 if (SWIG_arg_fail(2)) SWIG_fail
;
44636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44637 (arg1
)->SetValue(arg2
);
44639 wxPyEndAllowThreads(__tstate
);
44640 if (PyErr_Occurred()) SWIG_fail
;
44642 Py_INCREF(Py_None
); resultobj
= Py_None
;
44649 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44650 PyObject
*resultobj
;
44651 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44653 PyObject
* obj0
= 0 ;
44654 char *kwnames
[] = {
44655 (char *) "self", NULL
44658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44660 if (SWIG_arg_fail(1)) SWIG_fail
;
44662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44663 result
= (int)(arg1
)->GetMargin();
44665 wxPyEndAllowThreads(__tstate
);
44666 if (PyErr_Occurred()) SWIG_fail
;
44669 resultobj
= SWIG_From_int((int)(result
));
44677 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44678 PyObject
*resultobj
;
44679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44681 PyObject
* obj0
= 0 ;
44682 PyObject
* obj1
= 0 ;
44683 char *kwnames
[] = {
44684 (char *) "self",(char *) "m", NULL
44687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44689 if (SWIG_arg_fail(1)) SWIG_fail
;
44691 arg2
= (int)(SWIG_As_int(obj1
));
44692 if (SWIG_arg_fail(2)) SWIG_fail
;
44695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44696 (arg1
)->SetMargin(arg2
);
44698 wxPyEndAllowThreads(__tstate
);
44699 if (PyErr_Occurred()) SWIG_fail
;
44701 Py_INCREF(Py_None
); resultobj
= Py_None
;
44708 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44709 PyObject
*resultobj
;
44710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44712 PyObject
* obj0
= 0 ;
44713 char *kwnames
[] = {
44714 (char *) "self", NULL
44717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44719 if (SWIG_arg_fail(1)) SWIG_fail
;
44721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44722 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44724 wxPyEndAllowThreads(__tstate
);
44725 if (PyErr_Occurred()) SWIG_fail
;
44728 resultobj
= SWIG_From_int((int)(result
));
44736 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44737 PyObject
*resultobj
;
44738 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44740 PyObject
* obj0
= 0 ;
44741 char *kwnames
[] = {
44742 (char *) "self", NULL
44745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44747 if (SWIG_arg_fail(1)) SWIG_fail
;
44749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44750 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44752 wxPyEndAllowThreads(__tstate
);
44753 if (PyErr_Occurred()) SWIG_fail
;
44756 resultobj
= SWIG_From_int((int)(result
));
44764 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44765 PyObject
*resultobj
;
44766 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44768 PyObject
* obj0
= 0 ;
44769 char *kwnames
[] = {
44770 (char *) "self", NULL
44773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44775 if (SWIG_arg_fail(1)) SWIG_fail
;
44777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44778 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44780 wxPyEndAllowThreads(__tstate
);
44781 if (PyErr_Occurred()) SWIG_fail
;
44784 resultobj
= SWIG_From_int((int)(result
));
44792 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44793 PyObject
*resultobj
;
44794 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44796 PyObject
* obj0
= 0 ;
44797 char *kwnames
[] = {
44798 (char *) "self", NULL
44801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44803 if (SWIG_arg_fail(1)) SWIG_fail
;
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44820 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44821 PyObject
*resultobj
;
44822 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44824 PyObject
* obj0
= 0 ;
44825 PyObject
* obj1
= 0 ;
44826 char *kwnames
[] = {
44827 (char *) "self",(char *) "d", NULL
44830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44832 if (SWIG_arg_fail(1)) SWIG_fail
;
44834 arg2
= (bool)(SWIG_As_bool(obj1
));
44835 if (SWIG_arg_fail(2)) SWIG_fail
;
44838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44839 (arg1
)->SetDone(arg2
);
44841 wxPyEndAllowThreads(__tstate
);
44842 if (PyErr_Occurred()) SWIG_fail
;
44844 Py_INCREF(Py_None
); resultobj
= Py_None
;
44851 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44852 PyObject
*resultobj
;
44853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44854 wxRelationship result
;
44855 PyObject
* obj0
= 0 ;
44856 char *kwnames
[] = {
44857 (char *) "self", NULL
44860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44862 if (SWIG_arg_fail(1)) SWIG_fail
;
44864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44865 result
= (wxRelationship
)(arg1
)->GetRelationship();
44867 wxPyEndAllowThreads(__tstate
);
44868 if (PyErr_Occurred()) SWIG_fail
;
44870 resultobj
= SWIG_From_int((result
));
44877 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44878 PyObject
*resultobj
;
44879 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44880 wxRelationship arg2
;
44881 PyObject
* obj0
= 0 ;
44882 PyObject
* obj1
= 0 ;
44883 char *kwnames
[] = {
44884 (char *) "self",(char *) "r", NULL
44887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44889 if (SWIG_arg_fail(1)) SWIG_fail
;
44891 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44892 if (SWIG_arg_fail(2)) SWIG_fail
;
44895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44896 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44898 wxPyEndAllowThreads(__tstate
);
44899 if (PyErr_Occurred()) SWIG_fail
;
44901 Py_INCREF(Py_None
); resultobj
= Py_None
;
44908 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44909 PyObject
*resultobj
;
44910 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44911 wxWindow
*arg2
= (wxWindow
*) 0 ;
44913 PyObject
* obj0
= 0 ;
44914 PyObject
* obj1
= 0 ;
44915 char *kwnames
[] = {
44916 (char *) "self",(char *) "otherW", NULL
44919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44921 if (SWIG_arg_fail(1)) SWIG_fail
;
44922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44923 if (SWIG_arg_fail(2)) SWIG_fail
;
44925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44926 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44928 wxPyEndAllowThreads(__tstate
);
44929 if (PyErr_Occurred()) SWIG_fail
;
44932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44940 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44941 PyObject
*resultobj
;
44942 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44943 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44944 wxWindow
*arg3
= (wxWindow
*) 0 ;
44946 PyObject
* obj0
= 0 ;
44947 PyObject
* obj1
= 0 ;
44948 PyObject
* obj2
= 0 ;
44949 char *kwnames
[] = {
44950 (char *) "self",(char *) "constraints",(char *) "win", NULL
44953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44955 if (SWIG_arg_fail(1)) SWIG_fail
;
44956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44957 if (SWIG_arg_fail(2)) SWIG_fail
;
44958 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44959 if (SWIG_arg_fail(3)) SWIG_fail
;
44961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44962 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44964 wxPyEndAllowThreads(__tstate
);
44965 if (PyErr_Occurred()) SWIG_fail
;
44968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44976 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44977 PyObject
*resultobj
;
44978 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44980 wxWindow
*arg3
= (wxWindow
*) 0 ;
44981 wxWindow
*arg4
= (wxWindow
*) 0 ;
44983 PyObject
* obj0
= 0 ;
44984 PyObject
* obj1
= 0 ;
44985 PyObject
* obj2
= 0 ;
44986 PyObject
* obj3
= 0 ;
44987 char *kwnames
[] = {
44988 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44993 if (SWIG_arg_fail(1)) SWIG_fail
;
44995 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44996 if (SWIG_arg_fail(2)) SWIG_fail
;
44998 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44999 if (SWIG_arg_fail(3)) SWIG_fail
;
45000 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45001 if (SWIG_arg_fail(4)) SWIG_fail
;
45003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45004 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45006 wxPyEndAllowThreads(__tstate
);
45007 if (PyErr_Occurred()) SWIG_fail
;
45010 resultobj
= SWIG_From_int((int)(result
));
45018 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45021 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45023 return Py_BuildValue((char *)"");
45025 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45026 PyObject
*resultobj
;
45027 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45028 wxIndividualLayoutConstraint
*result
;
45029 PyObject
* obj0
= 0 ;
45030 char *kwnames
[] = {
45031 (char *) "self", NULL
45034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45036 if (SWIG_arg_fail(1)) SWIG_fail
;
45037 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45046 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45047 PyObject
*resultobj
;
45048 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45049 wxIndividualLayoutConstraint
*result
;
45050 PyObject
* obj0
= 0 ;
45051 char *kwnames
[] = {
45052 (char *) "self", NULL
45055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45057 if (SWIG_arg_fail(1)) SWIG_fail
;
45058 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45067 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45068 PyObject
*resultobj
;
45069 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45070 wxIndividualLayoutConstraint
*result
;
45071 PyObject
* obj0
= 0 ;
45072 char *kwnames
[] = {
45073 (char *) "self", NULL
45076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45078 if (SWIG_arg_fail(1)) SWIG_fail
;
45079 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45088 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45089 PyObject
*resultobj
;
45090 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45091 wxIndividualLayoutConstraint
*result
;
45092 PyObject
* obj0
= 0 ;
45093 char *kwnames
[] = {
45094 (char *) "self", NULL
45097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45099 if (SWIG_arg_fail(1)) SWIG_fail
;
45100 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45109 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45110 PyObject
*resultobj
;
45111 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45112 wxIndividualLayoutConstraint
*result
;
45113 PyObject
* obj0
= 0 ;
45114 char *kwnames
[] = {
45115 (char *) "self", NULL
45118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45120 if (SWIG_arg_fail(1)) SWIG_fail
;
45121 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45130 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45131 PyObject
*resultobj
;
45132 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45133 wxIndividualLayoutConstraint
*result
;
45134 PyObject
* obj0
= 0 ;
45135 char *kwnames
[] = {
45136 (char *) "self", NULL
45139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45141 if (SWIG_arg_fail(1)) SWIG_fail
;
45142 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45151 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45152 PyObject
*resultobj
;
45153 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45154 wxIndividualLayoutConstraint
*result
;
45155 PyObject
* obj0
= 0 ;
45156 char *kwnames
[] = {
45157 (char *) "self", NULL
45160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45162 if (SWIG_arg_fail(1)) SWIG_fail
;
45163 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45172 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45173 PyObject
*resultobj
;
45174 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45175 wxIndividualLayoutConstraint
*result
;
45176 PyObject
* obj0
= 0 ;
45177 char *kwnames
[] = {
45178 (char *) "self", NULL
45181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45183 if (SWIG_arg_fail(1)) SWIG_fail
;
45184 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45193 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45194 PyObject
*resultobj
;
45195 wxLayoutConstraints
*result
;
45196 char *kwnames
[] = {
45200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45203 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45205 wxPyEndAllowThreads(__tstate
);
45206 if (PyErr_Occurred()) SWIG_fail
;
45208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45215 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45216 PyObject
*resultobj
;
45217 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45218 wxWindow
*arg2
= (wxWindow
*) 0 ;
45219 int *arg3
= (int *) 0 ;
45223 PyObject
* obj0
= 0 ;
45224 PyObject
* obj1
= 0 ;
45225 char *kwnames
[] = {
45226 (char *) "self",(char *) "win", NULL
45229 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45232 if (SWIG_arg_fail(1)) SWIG_fail
;
45233 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45234 if (SWIG_arg_fail(2)) SWIG_fail
;
45236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45237 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45239 wxPyEndAllowThreads(__tstate
);
45240 if (PyErr_Occurred()) SWIG_fail
;
45243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45245 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45246 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45253 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45254 PyObject
*resultobj
;
45255 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45257 PyObject
* obj0
= 0 ;
45258 char *kwnames
[] = {
45259 (char *) "self", NULL
45262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45264 if (SWIG_arg_fail(1)) SWIG_fail
;
45266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45267 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45269 wxPyEndAllowThreads(__tstate
);
45270 if (PyErr_Occurred()) SWIG_fail
;
45273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45281 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45284 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45286 return Py_BuildValue((char *)"");
45288 static PyMethodDef SwigMethods
[] = {
45289 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45290 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45291 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45294 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45315 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45328 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45343 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45397 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45425 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45444 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45455 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45467 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45479 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45483 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45489 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45499 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45509 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45516 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45596 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45598 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45600 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45602 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45606 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45608 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45610 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45612 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45614 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45616 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45618 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45620 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45634 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45655 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45670 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45675 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45681 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45687 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45750 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45757 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45793 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45803 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45809 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45811 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45813 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45816 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45820 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45823 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45826 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45828 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45833 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45841 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45845 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45848 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45850 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45854 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45871 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45873 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45876 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45882 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45886 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45897 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45900 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45903 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45907 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45914 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45919 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45924 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45928 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45973 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45993 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46000 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46004 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46186 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46226 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46241 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46244 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46299 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46326 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46370 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46378 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46397 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46398 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46435 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46465 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46468 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46472 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46475 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46485 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46497 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46509 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46519 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46529 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46543 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46550 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46551 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46552 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46553 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46554 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46559 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46586 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46598 { NULL
, NULL
, 0, NULL
}
46602 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46604 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46605 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46607 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46608 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46610 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46611 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46613 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46614 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46616 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46617 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46619 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46620 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46622 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46623 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46625 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46626 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46628 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46629 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46631 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46632 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46634 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46637 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46638 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46640 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46641 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46643 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46644 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46646 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46647 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46649 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46650 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46652 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46653 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46655 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46658 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46659 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46661 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46664 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46665 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46667 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46670 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46671 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46673 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46674 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46676 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46677 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46679 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46680 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46682 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46683 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46685 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46686 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46688 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46691 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46692 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46694 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46695 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46697 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46700 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46701 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46703 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46704 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46706 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46707 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46709 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46710 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46712 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46713 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46715 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46716 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46718 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46719 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46721 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46722 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46724 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46725 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46727 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46730 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46733 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46734 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46736 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46737 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46739 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46740 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46742 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46743 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46745 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46746 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46748 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46749 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46751 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46752 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46754 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46755 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46757 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46758 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46760 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46761 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46763 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46766 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46767 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46769 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46770 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46772 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46773 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46775 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46776 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46778 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46779 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46781 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46782 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46784 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46785 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46787 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46788 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46790 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46791 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46793 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46794 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46796 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46797 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46799 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46800 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46802 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46803 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46805 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46806 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46808 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46809 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46811 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46812 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46814 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46815 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46817 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46818 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46820 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46821 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46823 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46824 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46826 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46827 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46829 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46830 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46832 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46833 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46835 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46836 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46838 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46839 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46841 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46842 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46844 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46845 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46847 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46848 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46850 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46851 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46853 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46856 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46857 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46859 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46860 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46862 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46865 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) ((wxSizer
*) x
));
46868 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46871 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46874 static void *_p_wxEventTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) ((wxEvent
*) x
));
46877 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46880 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46883 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46886 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46889 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46892 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46895 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46898 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46901 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46904 static void *_p_wxControlTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46907 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46910 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46913 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46916 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46919 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46922 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46925 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46928 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46931 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46934 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46937 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46940 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46943 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46946 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46949 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46952 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46955 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46958 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46961 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46964 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46967 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46970 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46973 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46976 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46979 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46982 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46985 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46988 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46991 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46994 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46997 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47000 static void *_p_wxImageTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) ((wxImage
*) x
));
47003 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47006 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47009 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47012 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47015 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47018 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47021 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47024 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47027 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47030 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47033 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47036 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47039 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47042 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47045 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47048 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47051 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47054 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47057 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47060 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47063 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47066 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47069 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47070 return (void *)((wxWindow
*) ((wxControl
*) x
));
47072 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47073 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47075 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47076 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47078 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47079 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47081 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47082 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47084 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47085 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47087 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47088 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47090 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47091 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47093 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47094 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47096 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47097 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47099 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47100 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47102 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47103 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47105 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47106 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47108 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}};
47109 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}};
47110 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}};
47111 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}};
47112 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}};
47113 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}};
47114 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}};
47115 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}};
47116 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}};
47117 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}};
47118 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}};
47119 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}};
47120 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}};
47121 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}};
47122 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}};
47123 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}};
47124 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}};
47125 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}};
47126 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}};
47127 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}};
47128 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}};
47129 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}};
47130 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}};
47131 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}};
47132 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}};
47133 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}};
47134 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}};
47135 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}};
47136 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}};
47137 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}};
47138 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}};
47139 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}};
47140 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}};
47141 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}};
47142 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}};
47143 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}};
47144 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}};
47145 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}};
47146 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}};
47147 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}};
47148 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}};
47149 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}};
47150 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}};
47151 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}};
47152 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}};
47153 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}};
47154 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}};
47155 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}};
47156 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}};
47157 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}};
47158 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}};
47159 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}};
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47237 static swig_type_info
*swig_types_initial
[] = {
47238 _swigt__p_wxLayoutConstraints
,
47239 _swigt__p_wxRealPoint
,
47240 _swigt__p_wxSizerItem
,
47241 _swigt__p_wxGBSizerItem
,
47242 _swigt__p_wxScrollEvent
,
47243 _swigt__p_wxEventLoop
,
47244 _swigt__p_wxIndividualLayoutConstraint
,
47246 _swigt__p_wxBoxSizer
,
47247 _swigt__p_wxStaticBoxSizer
,
47248 _swigt__p_wxGridBagSizer
,
47249 _swigt__p_wxAcceleratorEntry
,
47250 _swigt__p_wxUpdateUIEvent
,
47254 _swigt__p_wxGridSizer
,
47255 _swigt__p_wxFlexGridSizer
,
47256 _swigt__p_wxInitDialogEvent
,
47257 _swigt__p_wxItemContainer
,
47258 _swigt__p_wxNcPaintEvent
,
47259 _swigt__p_wxPaintEvent
,
47260 _swigt__p_wxSysColourChangedEvent
,
47261 _swigt__p_wxMouseCaptureChangedEvent
,
47262 _swigt__p_wxDisplayChangedEvent
,
47263 _swigt__p_wxPaletteChangedEvent
,
47264 _swigt__p_wxControl
,
47266 _swigt__p_wxMenuBarBase
,
47267 _swigt__p_wxSetCursorEvent
,
47268 _swigt__p_wxFSFile
,
47271 _swigt__std__ptrdiff_t
,
47272 _swigt__p_wxRegion
,
47273 _swigt__p_wxPoint2D
,
47277 _swigt__p_wxPySizer
,
47278 _swigt__p_wxVisualAttributes
,
47279 _swigt__p_wxNotifyEvent
,
47280 _swigt__p_wxPyEvent
,
47281 _swigt__p_wxPropagationDisabler
,
47282 _swigt__p_form_ops_t
,
47283 _swigt__p_wxAppTraits
,
47284 _swigt__p_wxArrayString
,
47285 _swigt__p_wxShowEvent
,
47286 _swigt__p_wxToolTip
,
47287 _swigt__p_wxMoveEvent
,
47288 _swigt__p_wxSizeEvent
,
47289 _swigt__p_wxActivateEvent
,
47290 _swigt__p_wxIconizeEvent
,
47291 _swigt__p_wxMaximizeEvent
,
47292 _swigt__p_wxQueryNewPaletteEvent
,
47293 _swigt__p_wxWindowCreateEvent
,
47294 _swigt__p_wxIdleEvent
,
47295 _swigt__p_wxDateEvent
,
47296 _swigt__p_wxMenuItem
,
47297 _swigt__p_wxStaticBox
,
47299 _swigt__p_wxDuplexMode
,
47300 _swigt__p_wxTIFFHandler
,
47301 _swigt__p_wxXPMHandler
,
47302 _swigt__p_wxPNMHandler
,
47303 _swigt__p_wxJPEGHandler
,
47304 _swigt__p_wxPCXHandler
,
47305 _swigt__p_wxGIFHandler
,
47306 _swigt__p_wxPNGHandler
,
47307 _swigt__p_wxANIHandler
,
47308 _swigt__p_wxMemoryFSHandler
,
47309 _swigt__p_wxZipFSHandler
,
47310 _swigt__p_wxInternetFSHandler
,
47311 _swigt__p_wxPyFileSystemHandler
,
47312 _swigt__p_wxEvtHandler
,
47313 _swigt__p_wxCURHandler
,
47314 _swigt__p_wxICOHandler
,
47315 _swigt__p_wxBMPHandler
,
47316 _swigt__p_wxImageHandler
,
47317 _swigt__p_wxFileSystemHandler
,
47319 _swigt__p_wxButton
,
47320 _swigt__p_wxGBSpan
,
47321 _swigt__p_wxPropagateOnce
,
47322 _swigt__p_wxAcceleratorTable
,
47323 _swigt__p_wxStdDialogButtonSizer
,
47325 _swigt__p_wxGBPosition
,
47328 _swigt__p_wxScrollWinEvent
,
47329 _swigt__p_wxPaperSize
,
47330 _swigt__p_wxImageHistogram
,
47332 _swigt__p_wxCursor
,
47333 _swigt__p_wxObject
,
47334 _swigt__p_wxInputStream
,
47335 _swigt__p_wxOutputStream
,
47336 _swigt__p_wxPyInputStream
,
47337 _swigt__p_wxDateTime
,
47338 _swigt__p_wxKeyEvent
,
47339 _swigt__p_wxNavigationKeyEvent
,
47340 _swigt__p_wxWindowDestroyEvent
,
47341 _swigt__p_unsigned_long
,
47342 _swigt__p_wxWindow
,
47343 _swigt__p_wxMenuBar
,
47344 _swigt__p_wxFileSystem
,
47345 _swigt__p_wxBitmap
,
47346 _swigt__unsigned_int
,
47347 _swigt__p_unsigned_int
,
47348 _swigt__p_wxMenuEvent
,
47349 _swigt__p_wxContextMenuEvent
,
47350 _swigt__p_unsigned_char
,
47351 _swigt__p_wxEraseEvent
,
47352 _swigt__p_wxMouseEvent
,
47353 _swigt__p_wxCloseEvent
,
47355 _swigt__p_wxCommandEvent
,
47356 _swigt__p_wxPyCommandEvent
,
47357 _swigt__p_wxPyDropTarget
,
47358 _swigt__p_wxQuantize
,
47359 _swigt__p_wxFocusEvent
,
47360 _swigt__p_wxChildFocusEvent
,
47361 _swigt__p_wxDropFilesEvent
,
47362 _swigt__p_wxControlWithItems
,
47363 _swigt__p_wxColour
,
47364 _swigt__p_wxValidator
,
47365 _swigt__p_wxPyValidator
,
47370 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47372 static swig_const_info swig_const_table
[] = {
47373 {0, 0, 0, 0.0, 0, 0}};
47384 /* Python-specific SWIG API */
47385 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47386 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47387 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47389 /* -----------------------------------------------------------------------------
47390 * global variable support code.
47391 * ----------------------------------------------------------------------------- */
47393 typedef struct swig_globalvar
{
47394 char *name
; /* Name of global variable */
47395 PyObject
*(*get_attr
)(); /* Return the current value */
47396 int (*set_attr
)(PyObject
*); /* Set the value */
47397 struct swig_globalvar
*next
;
47400 typedef struct swig_varlinkobject
{
47402 swig_globalvar
*vars
;
47403 } swig_varlinkobject
;
47406 swig_varlink_repr(swig_varlinkobject
*v
) {
47408 return PyString_FromString("<Swig global variables>");
47412 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47413 swig_globalvar
*var
;
47415 fprintf(fp
,"Swig global variables { ");
47416 for (var
= v
->vars
; var
; var
=var
->next
) {
47417 fprintf(fp
,"%s", var
->name
);
47418 if (var
->next
) fprintf(fp
,", ");
47420 fprintf(fp
," }\n");
47425 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47426 swig_globalvar
*var
= v
->vars
;
47428 if (strcmp(var
->name
,n
) == 0) {
47429 return (*var
->get_attr
)();
47433 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47438 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47439 swig_globalvar
*var
= v
->vars
;
47441 if (strcmp(var
->name
,n
) == 0) {
47442 return (*var
->set_attr
)(p
);
47446 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47450 static PyTypeObject varlinktype
= {
47451 PyObject_HEAD_INIT(0)
47452 0, /* Number of items in variable part (ob_size) */
47453 (char *)"swigvarlink", /* Type name (tp_name) */
47454 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47455 0, /* Itemsize (tp_itemsize) */
47456 0, /* Deallocator (tp_dealloc) */
47457 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47458 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47459 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47460 0, /* tp_compare */
47461 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47462 0, /* tp_as_number */
47463 0, /* tp_as_sequence */
47464 0, /* tp_as_mapping */
47468 0, /* tp_getattro */
47469 0, /* tp_setattro */
47470 0, /* tp_as_buffer */
47473 #if PY_VERSION_HEX >= 0x02000000
47474 0, /* tp_traverse */
47477 #if PY_VERSION_HEX >= 0x02010000
47478 0, /* tp_richcompare */
47479 0, /* tp_weaklistoffset */
47481 #if PY_VERSION_HEX >= 0x02020000
47482 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47484 #if PY_VERSION_HEX >= 0x02030000
47487 #ifdef COUNT_ALLOCS
47488 0,0,0,0 /* tp_alloc -> tp_next */
47492 /* Create a variable linking object for use later */
47494 SWIG_Python_newvarlink(void) {
47495 swig_varlinkobject
*result
= 0;
47496 result
= PyMem_NEW(swig_varlinkobject
,1);
47497 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47498 result
->ob_type
= &varlinktype
;
47500 result
->ob_refcnt
= 0;
47501 Py_XINCREF((PyObject
*) result
);
47502 return ((PyObject
*) result
);
47506 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47507 swig_varlinkobject
*v
;
47508 swig_globalvar
*gv
;
47509 v
= (swig_varlinkobject
*) p
;
47510 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47511 gv
->name
= (char *) malloc(strlen(name
)+1);
47512 strcpy(gv
->name
,name
);
47513 gv
->get_attr
= get_attr
;
47514 gv
->set_attr
= set_attr
;
47515 gv
->next
= v
->vars
;
47519 /* -----------------------------------------------------------------------------
47520 * constants/methods manipulation
47521 * ----------------------------------------------------------------------------- */
47523 /* Install Constants */
47525 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47528 for (i
= 0; constants
[i
].type
; i
++) {
47529 switch(constants
[i
].type
) {
47531 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47533 case SWIG_PY_FLOAT
:
47534 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47536 case SWIG_PY_STRING
:
47537 if (constants
[i
].pvalue
) {
47538 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47540 Py_INCREF(Py_None
);
47544 case SWIG_PY_POINTER
:
47545 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47547 case SWIG_PY_BINARY
:
47548 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47555 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47561 /* -----------------------------------------------------------------------------*/
47562 /* Fix SwigMethods to carry the callback ptrs when needed */
47563 /* -----------------------------------------------------------------------------*/
47566 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47567 swig_const_info
*const_table
,
47568 swig_type_info
**types
,
47569 swig_type_info
**types_initial
) {
47571 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47572 char *c
= methods
[i
].ml_doc
;
47573 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47575 swig_const_info
*ci
= 0;
47576 char *name
= c
+ 10;
47577 for (j
= 0; const_table
[j
].type
; j
++) {
47578 if (strncmp(const_table
[j
].name
, name
,
47579 strlen(const_table
[j
].name
)) == 0) {
47580 ci
= &(const_table
[j
]);
47585 size_t shift
= (ci
->ptype
) - types
;
47586 swig_type_info
*ty
= types_initial
[shift
];
47587 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47588 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47589 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47591 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47592 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47594 strncpy(buff
, "swig_ptr: ", 10);
47596 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47597 methods
[i
].ml_doc
= ndoc
;
47603 /* -----------------------------------------------------------------------------*
47604 * Initialize type list
47605 * -----------------------------------------------------------------------------*/
47607 #if PY_MAJOR_VERSION < 2
47608 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47609 is copied out of Python/modsupport.c in python version 2.3.4 */
47611 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47614 if (!PyModule_Check(m
)) {
47615 PyErr_SetString(PyExc_TypeError
,
47616 "PyModule_AddObject() needs module as first arg");
47620 PyErr_SetString(PyExc_TypeError
,
47621 "PyModule_AddObject() needs non-NULL value");
47625 dict
= PyModule_GetDict(m
);
47626 if (dict
== NULL
) {
47627 /* Internal error -- modules must have a dict! */
47628 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47629 PyModule_GetName(m
));
47632 if (PyDict_SetItemString(dict
, name
, o
))
47639 static swig_type_info
**
47640 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47641 static PyMethodDef swig_empty_runtime_method_table
[] = {
47643 NULL
, NULL
, 0, NULL
47647 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47648 swig_empty_runtime_method_table
);
47649 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47650 if (pointer
&& module) {
47651 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47653 return type_list_handle
;
47656 static swig_type_info
**
47657 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47658 swig_type_info
**type_pointer
;
47660 /* first check if module already created */
47661 type_pointer
= SWIG_Python_GetTypeListHandle();
47662 if (type_pointer
) {
47663 return type_pointer
;
47665 /* create a new module and variable */
47666 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47674 /* -----------------------------------------------------------------------------*
47675 * Partial Init method
47676 * -----------------------------------------------------------------------------*/
47678 #ifdef SWIG_LINK_RUNTIME
47682 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47688 SWIGEXPORT(void) SWIG_init(void) {
47689 static PyObject
*SWIG_globals
= 0;
47690 static int typeinit
= 0;
47693 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47695 /* Fix SwigMethods to carry the callback ptrs when needed */
47696 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47698 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47699 d
= PyModule_GetDict(m
);
47702 #ifdef SWIG_LINK_RUNTIME
47703 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47705 # ifndef SWIG_STATIC_RUNTIME
47706 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47709 for (i
= 0; swig_types_initial
[i
]; i
++) {
47710 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47714 SWIG_InstallConstants(d
,swig_const_table
);
47717 #ifndef wxPyUSE_EXPORT
47718 // Make our API structure a CObject so other modules can import it
47719 // from this module.
47720 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47721 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47726 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47729 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47732 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47735 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47738 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47741 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47744 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47747 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47750 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47753 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47756 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47759 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47762 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47765 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47768 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47771 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47774 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47777 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47780 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47783 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47786 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47789 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47792 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47795 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47798 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47801 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47804 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47807 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47810 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47813 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47816 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47819 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47822 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47825 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47828 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47831 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47834 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47837 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47840 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47843 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47846 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47849 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47852 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47855 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47858 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47861 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47864 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47867 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47870 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47873 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47876 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47879 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47882 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47885 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47888 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47891 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47894 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47897 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47900 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47903 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47906 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47909 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47912 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47915 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47918 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47921 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47924 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47927 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47930 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47933 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47936 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47939 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47942 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47945 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47948 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47951 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47954 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47957 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47960 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47963 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47966 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47969 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47972 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47975 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47978 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47981 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47984 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47987 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47990 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47993 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47996 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47999 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48002 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48005 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48008 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48011 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48014 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48017 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48020 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48023 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48026 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48029 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48032 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48035 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48038 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48041 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48044 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48047 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48050 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48053 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48056 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48059 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48062 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48065 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48068 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48071 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48074 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48077 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48080 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48083 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48086 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48089 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48092 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48095 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48098 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48101 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48104 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48107 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48110 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48113 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48116 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48119 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48122 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48125 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48128 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48131 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48134 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48137 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48140 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48143 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48146 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48149 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48152 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48155 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48158 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48161 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48164 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48167 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48170 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48173 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48176 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48179 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48182 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48185 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48188 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48191 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48194 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48197 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48200 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48203 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48206 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48209 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48212 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48215 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48218 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48221 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48224 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48227 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48230 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48233 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48236 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48239 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48242 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48245 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48248 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48251 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48254 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48257 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48260 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48263 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48266 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48269 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48272 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48275 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48278 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48281 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48284 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48287 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48290 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48293 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48296 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48299 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48302 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48305 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48308 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48311 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48314 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48317 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48320 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48323 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48326 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48329 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48332 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48335 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48338 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48341 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48344 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48347 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48350 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48353 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48356 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48359 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48362 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48365 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48368 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48371 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48374 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48377 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48380 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48383 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48386 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48389 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48392 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48395 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48398 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48401 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48404 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48407 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48410 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48413 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48416 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48419 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48422 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48425 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48428 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48431 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48434 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48437 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48440 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48443 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48446 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48449 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48452 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48455 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48458 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48461 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48464 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48467 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48470 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48473 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48476 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48479 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48482 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48485 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48488 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48491 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48494 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48497 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48500 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48503 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48506 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48509 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48512 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48515 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48518 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48521 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48524 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48527 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48530 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48533 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48536 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48539 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48542 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48545 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48548 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48551 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48554 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48557 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48560 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48563 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48566 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48569 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48572 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48575 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48578 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48581 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48584 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48587 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48590 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48593 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48596 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48599 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48602 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48605 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48608 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48611 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48614 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48617 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48620 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48623 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48626 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48629 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48632 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48635 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48638 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48641 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48644 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48647 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48650 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48653 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48656 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48659 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48662 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48665 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48668 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48671 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48674 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48677 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48680 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48683 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48686 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48689 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48692 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48695 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48698 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48701 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48704 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48707 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48710 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48713 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48716 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48719 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48722 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48725 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48728 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48731 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48734 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48737 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48740 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48743 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48746 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48749 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48752 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48755 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48758 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48761 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48764 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48767 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48770 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48773 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48776 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48779 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48782 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48785 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48788 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48791 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48794 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48797 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48800 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48803 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48806 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48809 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48812 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48815 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48818 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48821 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48824 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48827 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48830 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48833 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48836 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48839 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48842 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48845 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48848 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48851 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48854 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48857 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48860 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48863 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48866 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48869 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48872 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48875 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48878 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48881 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48884 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48887 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48890 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48893 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48896 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48899 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48902 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48905 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48908 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48911 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48914 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48917 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48920 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48923 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48926 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48929 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48932 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48935 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48938 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48941 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48944 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48947 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48950 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48953 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48956 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48959 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48962 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48965 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48968 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48971 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48974 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48977 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48980 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48983 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48986 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48989 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48992 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48995 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48998 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49001 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49004 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49007 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49010 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49013 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49016 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49019 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49022 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49025 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49028 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49031 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49034 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49037 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49040 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49043 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49046 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49049 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49052 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49055 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49058 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49061 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49064 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49067 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49070 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49073 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49076 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49079 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49082 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49085 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49088 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49091 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49094 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49097 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49100 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49103 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49106 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49109 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49112 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49115 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49118 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49121 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49124 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49127 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49130 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49133 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49136 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49139 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49142 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49145 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49148 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49151 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49154 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49157 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49160 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49163 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49166 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49169 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49172 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49175 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49178 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49181 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49184 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49187 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49190 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49193 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49196 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49199 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49202 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49205 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49208 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49211 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49214 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49217 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49220 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49223 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49226 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49229 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49232 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49235 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49238 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49241 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49244 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49247 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49250 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49253 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49256 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49259 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49262 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49265 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49268 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49271 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49274 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49277 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49280 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49283 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49286 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49289 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49292 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49295 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49298 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49301 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49304 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49307 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49310 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49313 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49316 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49319 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49322 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49325 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49328 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49331 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49334 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49337 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49340 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49343 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49346 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49349 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49352 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49355 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49358 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49361 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49364 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49367 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49370 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49373 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49376 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49379 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49382 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49384 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49385 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49387 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49390 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49393 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49396 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49399 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49402 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49405 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49408 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49411 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49414 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49417 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49420 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49423 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49426 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49429 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49432 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49435 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49438 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49441 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49444 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49447 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49450 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49453 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49456 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49459 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49462 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49465 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49468 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49471 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49474 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49477 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49480 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49483 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49486 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49489 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49492 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49495 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49498 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49501 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49504 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49507 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49510 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49513 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49516 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49519 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49522 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49525 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49528 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49531 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49534 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49537 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49539 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49540 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49542 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49545 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49548 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49551 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49554 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49557 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49560 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49563 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49565 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49566 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49567 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49568 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49569 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49570 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49571 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49572 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49573 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49574 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49576 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49579 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49581 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49582 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49583 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49584 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49585 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49586 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49588 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49591 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49594 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49597 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49600 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49603 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49606 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49609 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49612 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49615 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49618 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49621 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49624 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49627 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49630 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49633 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49635 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49636 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49637 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49638 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49639 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49640 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49641 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49643 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49644 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49646 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49647 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49648 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49649 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49650 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49651 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49652 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49653 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49654 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49655 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49656 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49657 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49658 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49659 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49660 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49661 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49662 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49663 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49664 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49665 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49666 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49667 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49668 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49669 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49670 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49671 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49672 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49673 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49674 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49675 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49676 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49677 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49678 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49679 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49680 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49681 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49682 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49683 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49684 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49685 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49686 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49687 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49688 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49689 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49690 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49691 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49692 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49693 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49694 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49695 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49696 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49697 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49698 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49699 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49700 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49701 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49702 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49703 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49704 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49705 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49706 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49707 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49708 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49709 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49710 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49711 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49712 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49713 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49714 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49715 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49716 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49717 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49718 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49719 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49720 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49721 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49722 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49723 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49724 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49725 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49726 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49727 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49728 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49729 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49730 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49731 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49732 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49733 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49734 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49735 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49736 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49737 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49738 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49739 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49740 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49741 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49742 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49743 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49745 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49747 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49751 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49754 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49757 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49760 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49763 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49766 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49769 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49772 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49775 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49778 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49781 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49784 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49787 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49789 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49791 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49794 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49797 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49800 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49803 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49806 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49808 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49809 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49811 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49814 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49817 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49820 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49823 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49825 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49826 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49828 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49831 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49834 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49836 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49838 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49841 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49844 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49847 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49850 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49853 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49856 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49859 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49862 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49865 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49868 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49871 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49874 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49877 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49880 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49883 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49886 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49889 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49892 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49895 // Initialize threading, some globals and such
49899 // Although these are defined in __version__ they need to be here too so
49900 // that an assert can be done to ensure that the wxPython and the wxWindows
49902 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49903 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49904 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));