1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_buffer swig_types[14]
1356 #define SWIGTYPE_p_wxMenu swig_types[15]
1357 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1359 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1360 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1361 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1363 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1367 #define SWIGTYPE_p_wxControl swig_types[26]
1368 #define SWIGTYPE_p_wxFont swig_types[27]
1369 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1370 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1371 #define SWIGTYPE_p_wxFSFile swig_types[30]
1372 #define SWIGTYPE_p_wxCaret swig_types[31]
1373 #define SWIGTYPE_ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1375 #define SWIGTYPE_p_wxRegion swig_types[34]
1376 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1377 #define SWIGTYPE_p_int swig_types[36]
1378 #define SWIGTYPE_p_wxSize swig_types[37]
1379 #define SWIGTYPE_p_wxDC swig_types[38]
1380 #define SWIGTYPE_p_wxPySizer swig_types[39]
1381 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1382 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1384 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1387 #define SWIGTYPE_p_wxArrayString swig_types[46]
1388 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1389 #define SWIGTYPE_p_wxToolTip swig_types[48]
1390 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1391 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1392 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1393 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1395 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1396 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1397 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1398 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1399 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1400 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1401 #define SWIGTYPE_p_long swig_types[60]
1402 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1403 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1404 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1406 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1408 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1409 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1410 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1411 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1414 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1415 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1416 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1417 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1418 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1419 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1420 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1421 #define SWIGTYPE_p_wxRect swig_types[80]
1422 #define SWIGTYPE_p_wxButton swig_types[81]
1423 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1424 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1425 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1426 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1427 #define SWIGTYPE_p_char swig_types[86]
1428 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1429 #define SWIGTYPE_p_wxImage swig_types[88]
1430 #define SWIGTYPE_p_wxFrame swig_types[89]
1431 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1433 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1434 #define SWIGTYPE_p_wxPoint swig_types[93]
1435 #define SWIGTYPE_p_wxCursor swig_types[94]
1436 #define SWIGTYPE_p_wxObject swig_types[95]
1437 #define SWIGTYPE_p_wxInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1439 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1440 #define SWIGTYPE_p_wxDateTime swig_types[99]
1441 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1443 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1444 #define SWIGTYPE_p_unsigned_long swig_types[103]
1445 #define SWIGTYPE_p_wxWindow swig_types[104]
1446 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1447 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1448 #define SWIGTYPE_p_wxBitmap swig_types[107]
1449 #define SWIGTYPE_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_unsigned_int swig_types[109]
1451 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1453 #define SWIGTYPE_p_unsigned_char swig_types[112]
1454 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyApp swig_types[116]
1458 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1460 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1461 #define SWIGTYPE_p_wxQuantize swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1465 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1466 #define SWIGTYPE_p_wxColour swig_types[125]
1467 #define SWIGTYPE_p_wxValidator swig_types[126]
1468 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1469 static swig_type_info
*swig_types
[129];
1471 /* -------- TYPES TABLE (END) -------- */
1474 /*-----------------------------------------------
1475 @(target):= _core_.so
1476 ------------------------------------------------*/
1477 #define SWIG_init init_core_
1479 #define SWIG_name "_core_"
1481 #include "wx/wxPython/wxPython_int.h"
1482 #include "wx/wxPython/pyclasses.h"
1485 #ifndef wxPyUSE_EXPORT
1486 // Helper functions for dealing with SWIG objects and such. These are
1487 // located here so they know about the SWIG types and functions declared
1488 // in the wrapper code.
1490 #include <wx/hashmap.h>
1491 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1494 // Maintains a hashmap of className to swig_type_info pointers. Given the
1495 // name of a class either looks up the type info in the cache, or scans the
1496 // SWIG tables for it.
1497 extern PyObject
* wxPyPtrTypeMap
;
1499 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1501 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1503 if (typeInfoCache
== NULL
)
1504 typeInfoCache
= new wxPyTypeInfoHashMap
;
1506 wxString
name(className
);
1507 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1510 // it wasn't in the cache, so look it up from SWIG
1511 name
.Append(wxT(" *"));
1512 swigType
= SWIG_TypeQuery(name
.mb_str());
1514 // if it still wasn't found, try looking for a mapped name
1519 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1520 (char*)(const char*)name
.mbc_str())) != NULL
) {
1521 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1522 name
.Append(wxT(" *"));
1523 swigType
= SWIG_TypeQuery(name
.mb_str());
1527 // and add it to the map if found
1528 (*typeInfoCache
)[className
] = swigType
;
1535 // Check if a class name is a type known to SWIG
1536 bool wxPyCheckSwigType(const wxChar
* className
) {
1538 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1539 return swigType
!= NULL
;
1543 // Given a pointer to a C++ object and a class name, construct a Python proxy
1545 PyObject
* wxPyConstructObject(void* ptr
,
1546 const wxChar
* className
,
1549 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1550 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1552 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1556 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1557 // Ensures that the proxy object is of the specified (or derived) type. If
1558 // not able to perform the conversion then a Python exception is set and the
1559 // error should be handled properly in the caller. Returns True on success.
1560 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1561 const wxChar
* className
) {
1563 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1564 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1566 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1570 // Make a SWIGified pointer object suitable for a .this attribute
1571 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1573 PyObject
* robj
= NULL
;
1575 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1576 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1578 #ifdef SWIG_COBJECT_TYPES
1579 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1583 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1584 PyString_FromString(result
) : 0;
1594 // Export a C API in a struct. Other modules will be able to load this from
1595 // the wx._core_ module and will then have safe access to these functions,
1596 // even if they are located in another shared library.
1597 static wxPyCoreAPI API
= {
1600 wxPyConstructObject
,
1604 wxPyBeginAllowThreads
,
1605 wxPyEndAllowThreads
,
1606 wxPyBeginBlockThreads
,
1607 wxPyEndBlockThreads
,
1619 wxPoint_LIST_helper
,
1620 wxBitmap_LIST_helper
,
1621 wxString_LIST_helper
,
1622 wxAcceleratorEntry_LIST_helper
,
1631 wxPySimple_typecheck
,
1634 wxPyCBH_setCallbackInfo
,
1635 wxPyCBH_findCallback
,
1636 wxPyCBH_callCallback
,
1637 wxPyCBH_callCallbackObj
,
1643 wxPy2int_seq_helper
,
1644 wxPy4int_seq_helper
,
1645 wxArrayString2PyList_helper
,
1646 wxArrayInt2PyList_helper
,
1648 wxPyClientData_dtor
,
1650 wxPyOORClientData_dtor
,
1652 wxPyCBInputStream_create
,
1653 wxPyCBInputStream_copy
,
1656 wxPySwigInstance_Check
,
1665 #if !WXWIN_COMPATIBILITY_2_4
1666 #define wxHIDE_READONLY 0
1670 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1671 #define SWIG_From_int PyInt_FromLong
1676 enum wxHotkeyModifier
1684 #define wxEVT_HOTKEY 9999
1687 static const wxString
wxPyEmptyString(wxEmptyString
);
1688 static wxString
wxObject_GetClassName(wxObject
*self
){
1689 return self
->GetClassInfo()->GetClassName();
1691 static void wxObject_Destroy(wxObject
*self
){
1696 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1704 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1707 if (value
< min_value
) {
1709 PyErr_Format(PyExc_OverflowError
,
1710 "value %ld is less than '%s' minimum %ld",
1711 value
, errmsg
, min_value
);
1714 } else if (value
> max_value
) {
1716 PyErr_Format(PyExc_OverflowError
,
1717 "value %ld is greater than '%s' maximum %ld",
1718 value
, errmsg
, max_value
);
1727 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1729 if (PyNumber_Check(obj
)) {
1730 if (val
) *val
= PyInt_AsLong(obj
);
1734 SWIG_type_error("number", obj
);
1740 #if INT_MAX != LONG_MAX
1742 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1744 const char* errmsg
= val
? "int" : (char*)0;
1746 if (SWIG_AsVal_long(obj
, &v
)) {
1747 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1748 if (val
) *val
= (int)(v
);
1757 SWIG_type_error(errmsg
, obj
);
1763 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1765 return SWIG_AsVal_long(obj
,(long*)val
);
1771 SWIG_As_int(PyObject
* obj
)
1774 if (!SWIG_AsVal_int(obj
, &v
)) {
1776 this is needed to make valgrind/purify happier.
1778 memset((void*)&v
, 0, sizeof(int));
1785 SWIG_Check_int(PyObject
* obj
)
1787 return SWIG_AsVal_int(obj
, (int*)0);
1790 static PyObject
*wxSize_Get(wxSize
*self
){
1791 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1792 PyObject
* tup
= PyTuple_New(2);
1793 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1794 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1795 wxPyEndBlockThreads(blocked
);
1800 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1802 if (PyNumber_Check(obj
)) {
1803 if (val
) *val
= PyFloat_AsDouble(obj
);
1807 SWIG_type_error("number", obj
);
1813 SWIGINTERNSHORT
double
1814 SWIG_As_double(PyObject
* obj
)
1817 if (!SWIG_AsVal_double(obj
, &v
)) {
1819 this is needed to make valgrind/purify happier.
1821 memset((void*)&v
, 0, sizeof(double));
1828 SWIG_Check_double(PyObject
* obj
)
1830 return SWIG_AsVal_double(obj
, (double*)0);
1834 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1835 #define SWIG_From_double PyFloat_FromDouble
1838 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1842 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1844 PyObject
* tup
= PyTuple_New(2);
1845 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1846 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1847 wxPyEndBlockThreads(blocked
);
1851 SWIGINTERNSHORT
long
1852 SWIG_As_long(PyObject
* obj
)
1855 if (!SWIG_AsVal_long(obj
, &v
)) {
1857 this is needed to make valgrind/purify happier.
1859 memset((void*)&v
, 0, sizeof(long));
1866 SWIG_Check_long(PyObject
* obj
)
1868 return SWIG_AsVal_long(obj
, (long*)0);
1871 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1875 static PyObject
*wxPoint_Get(wxPoint
*self
){
1876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1877 PyObject
* tup
= PyTuple_New(2);
1878 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1879 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1880 wxPyEndBlockThreads(blocked
);
1883 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1886 self
->width
= width
;
1887 self
->height
= height
;
1889 static PyObject
*wxRect_Get(wxRect
*self
){
1890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1891 PyObject
* tup
= PyTuple_New(4);
1892 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1893 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1894 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1895 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1896 wxPyEndBlockThreads(blocked
);
1900 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1903 wxRect
dest(0,0,0,0);
1906 reg1
.Intersect(reg2
);
1907 dest
= reg1
.GetBox();
1909 if (dest
!= wxRect(0,0,0,0)) {
1910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1911 wxRect
* newRect
= new wxRect(dest
);
1912 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1913 wxPyEndBlockThreads(blocked
);
1921 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1927 } else if (target
== Py_None
) {
1931 if (!PyTuple_Check(target
)) {
1933 target
= PyTuple_New(1);
1934 PyTuple_SetItem(target
, 0, o2
);
1936 o3
= PyTuple_New(1);
1937 PyTuple_SetItem(o3
, 0, o
);
1940 target
= PySequence_Concat(o2
, o3
);
1948 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1952 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1953 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1954 PyObject
* tup
= PyTuple_New(2);
1955 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1956 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1957 wxPyEndBlockThreads(blocked
);
1961 #include "wx/wxPython/pyistream.h"
1963 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1964 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1966 return new wxPyInputStream(wxis
);
1971 SWIGINTERNSHORT PyObject
*
1972 SWIG_From_char(char c
)
1974 return PyString_FromStringAndSize(&c
,1);
1978 SWIGINTERNSHORT PyObject
*
1979 SWIG_From_unsigned_SS_long(unsigned long value
)
1981 return (value
> LONG_MAX
) ?
1982 PyLong_FromUnsignedLong(value
)
1983 : PyInt_FromLong((long)(value
));
1987 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1989 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1991 static swig_type_info
* pchar_info
= 0;
1993 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1994 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1995 if (cptr
) *cptr
= vptr
;
1996 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2000 if (PyString_Check(obj
)) {
2002 *cptr
= PyString_AS_STRING(obj
);
2004 *psize
= PyString_GET_SIZE(obj
) + 1;
2011 SWIG_type_error("char *", obj
);
2018 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2020 char* cptr
; size_t csize
;
2021 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2024 char x[5] = "hello";
2026 ie, assing the array using an extra '0' char.
2028 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2029 if (csize
<= size
) {
2031 if (csize
) memcpy(val
, cptr
, csize
);
2032 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2038 PyErr_Format(PyExc_TypeError
,
2039 "a char array of maximum size %lu is expected",
2040 (unsigned long) size
);
2047 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2049 const char* errmsg
= val
? "char" : (char*)0;
2051 if (SWIG_AsVal_long(obj
, &v
)) {
2052 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2053 if (val
) *val
= (char)(v
);
2060 return SWIG_AsCharArray(obj
, val
, 1);
2065 SWIGINTERNSHORT
char
2066 SWIG_As_char(PyObject
* obj
)
2069 if (!SWIG_AsVal_char(obj
, &v
)) {
2071 this is needed to make valgrind/purify happier.
2073 memset((void*)&v
, 0, sizeof(char));
2080 SWIG_Check_char(PyObject
* obj
)
2082 return SWIG_AsVal_char(obj
, (char*)0);
2086 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2087 #define SWIG_From_long PyInt_FromLong
2090 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2091 // We use only strings for the streams, not unicode
2092 PyObject
* str
= PyObject_Str(obj
);
2094 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2097 self
->Write(PyString_AS_STRING(str
),
2098 PyString_GET_SIZE(str
));
2102 #include "wx/wxPython/pyistream.h"
2105 class wxPyFileSystemHandler
: public wxFileSystemHandler
2108 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2110 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2111 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2112 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2113 DEC_PYCALLBACK_STRING__pure(FindNext
);
2115 wxString
GetProtocol(const wxString
& location
) {
2116 return wxFileSystemHandler::GetProtocol(location
);
2119 wxString
GetLeftLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetLeftLocation(location
);
2123 wxString
GetAnchor(const wxString
& location
) {
2124 return wxFileSystemHandler::GetAnchor(location
);
2127 wxString
GetRightLocation(const wxString
& location
) {
2128 return wxFileSystemHandler::GetRightLocation(location
);
2131 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2132 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2139 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2140 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2141 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2142 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2146 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2148 if (obj
== Py_True
) {
2149 if (val
) *val
= true;
2152 if (obj
== Py_False
) {
2153 if (val
) *val
= false;
2157 if (SWIG_AsVal_int(obj
, &res
)) {
2158 if (val
) *val
= res
? true : false;
2164 SWIG_type_error("bool", obj
);
2170 SWIGINTERNSHORT
bool
2171 SWIG_As_bool(PyObject
* obj
)
2174 if (!SWIG_AsVal_bool(obj
, &v
)) {
2176 this is needed to make valgrind/purify happier.
2178 memset((void*)&v
, 0, sizeof(bool));
2185 SWIG_Check_bool(PyObject
* obj
)
2187 return SWIG_AsVal_bool(obj
, (bool*)0);
2190 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2191 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2192 return fname
.GetFullPath();
2195 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2198 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2201 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2202 const wxBitmap
& bitmap
,
2204 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2207 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2209 if (! PyString_Check(data
)) {
2210 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2211 "Expected string object"));
2215 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2216 void* ptr
= (void*)PyString_AsString(data
);
2217 size_t size
= PyString_Size(data
);
2218 wxPyEndBlockThreads(blocked
);
2220 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2224 #include "wx/wxPython/pyistream.h"
2228 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2231 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2232 SWIG_type_error("unsigned number", obj
);
2235 *val
= (unsigned long)v
;
2241 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2242 unsigned long max_value
,
2245 if (value
> max_value
) {
2247 PyErr_Format(PyExc_OverflowError
,
2248 "value %lu is greater than '%s' minimum %lu",
2249 value
, errmsg
, max_value
);
2258 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2260 const char* errmsg
= val
? "unsigned char" : (char*)0;
2262 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2263 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2264 if (val
) *val
= (unsigned char)(v
);
2273 SWIG_type_error(errmsg
, obj
);
2279 SWIGINTERNSHORT
unsigned char
2280 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2283 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2285 this is needed to make valgrind/purify happier.
2287 memset((void*)&v
, 0, sizeof(unsigned char));
2294 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2296 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2300 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2301 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2306 SWIGINTERNSHORT
unsigned long
2307 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2310 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2312 this is needed to make valgrind/purify happier.
2314 memset((void*)&v
, 0, sizeof(unsigned long));
2321 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2323 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2326 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2327 wxImageHistogramEntry e
= (*self
)[key
];
2330 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,unsigned char r
,unsigned char g
,unsigned char b
){
2331 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2332 wxImageHistogramEntry e
= (*self
)[key
];
2335 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2336 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2339 wxImageHistogramEntry e
= (*self
)[key
];
2343 typedef unsigned char* buffer
;
2345 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2346 if (width
> 0 && height
> 0)
2347 return new wxImage(width
, height
, clear
);
2351 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2352 return new wxImage(bitmap
.ConvertToImage());
2354 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2355 if (DATASIZE
!= width
*height
*3) {
2356 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2360 // Copy the source data so the wxImage can clean it up later
2361 buffer copy
= (buffer
)malloc(DATASIZE
);
2363 wxPyBLOCK_THREADS(PyErr_NoMemory());
2366 memcpy(copy
, data
, DATASIZE
);
2367 return new wxImage(width
, height
, copy
, false);
2369 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2370 if (DATASIZE
!= width
*height
*3) {
2371 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2374 if (ALPHASIZE
!= width
*height
) {
2375 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2379 // Copy the source data so the wxImage can clean it up later
2380 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2381 if (dcopy
== NULL
) {
2382 wxPyBLOCK_THREADS(PyErr_NoMemory());
2385 memcpy(dcopy
, data
, DATASIZE
);
2387 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2388 if (acopy
== NULL
) {
2389 wxPyBLOCK_THREADS(PyErr_NoMemory());
2392 memcpy(acopy
, alpha
, ALPHASIZE
);
2394 return new wxImage(width
, height
, dcopy
, acopy
, false);
2396 static wxSize
wxImage_GetSize(wxImage
*self
){
2397 wxSize
size(self
->GetWidth(), self
->GetHeight());
2400 static PyObject
*wxImage_GetData(wxImage
*self
){
2401 buffer data
= self
->GetData();
2402 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2404 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2407 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2408 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2409 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2412 buffer copy
= (buffer
)malloc(DATASIZE
);
2414 wxPyBLOCK_THREADS(PyErr_NoMemory());
2417 memcpy(copy
, data
, DATASIZE
);
2418 self
->SetData(copy
, false);
2419 // wxImage takes ownership of copy...
2421 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2422 buffer data
= self
->GetData();
2423 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2425 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2428 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2429 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2430 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2433 self
->SetData(data
, true);
2435 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2436 buffer data
= self
->GetAlpha();
2440 int len
= self
->GetWidth() * self
->GetHeight();
2442 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2446 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2447 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2448 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2451 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2452 if (acopy
== NULL
) {
2453 wxPyBLOCK_THREADS(PyErr_NoMemory());
2456 memcpy(acopy
, alpha
, ALPHASIZE
);
2457 self
->SetAlpha(acopy
, false);
2458 // wxImage takes ownership of acopy...
2460 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2461 buffer data
= self
->GetAlpha();
2462 int len
= self
->GetWidth() * self
->GetHeight();
2464 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2467 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2468 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2469 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2472 self
->SetAlpha(alpha
, true);
2474 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2475 wxBitmap
bitmap(*self
, depth
);
2478 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2479 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2480 wxBitmap
bitmap( mono
, 1 );
2483 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2484 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2485 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2487 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2491 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2492 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2493 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2494 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2495 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2496 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2499 #include <wx/quantize.h>
2501 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2502 return wxQuantize::Quantize(src
, dest
,
2505 NULL
, // eightBitData
2508 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2509 if (PyCallable_Check(func
)) {
2510 self
->Connect(id
, lastId
, eventType
,
2511 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2512 new wxPyCallback(func
));
2514 else if (func
== Py_None
) {
2515 self
->Disconnect(id
, lastId
, eventType
,
2516 (wxObjectEventFunction
)
2517 &wxPyCallback::EventThunker
);
2521 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2524 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2525 return self
->Disconnect(id
, lastId
, eventType
,
2526 (wxObjectEventFunction
)
2527 &wxPyCallback::EventThunker
);
2529 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2530 if (_self
&& _self
!= Py_None
) {
2531 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2534 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2536 self
->SetClientObject(NULL
); // This will delete it too
2541 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2543 return self
->GetUnicodeKey();
2549 #if UINT_MAX < LONG_MAX
2550 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2551 #define SWIG_From_unsigned_SS_int SWIG_From_long
2554 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2555 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2560 #if UINT_MAX != ULONG_MAX
2562 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2564 const char* errmsg
= val
? "unsigned int" : (char*)0;
2566 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2567 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2568 if (val
) *val
= (unsigned int)(v
);
2575 SWIG_type_error(errmsg
, obj
);
2580 SWIGINTERNSHORT
unsigned int
2581 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2583 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2588 SWIGINTERNSHORT
unsigned int
2589 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2592 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2594 this is needed to make valgrind/purify happier.
2596 memset((void*)&v
, 0, sizeof(unsigned int));
2603 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2605 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2608 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2609 self
->m_size
= size
;
2611 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2612 int count
= self
->GetNumberOfFiles();
2613 wxString
* files
= self
->GetFiles();
2614 PyObject
* list
= PyList_New(count
);
2617 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2621 for (int i
=0; i
<count
; i
++) {
2622 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2628 static wxPyApp
*new_wxPyApp(){
2629 wxPythonApp
= new wxPyApp();
2633 void wxApp_CleanUp() {
2638 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2642 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2644 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2649 SWIG_type_error("char *", obj
);
2655 SWIGINTERN PyObject
*
2656 SWIG_FromCharPtr(const char* cptr
)
2659 size_t size
= strlen(cptr
);
2660 if (size
> INT_MAX
) {
2661 return SWIG_NewPointerObj((char*)(cptr
),
2662 SWIG_TypeQuery("char *"), 0);
2665 return PyString_FromStringAndSize(cptr
, size
);
2667 return PyString_FromString(cptr
);
2678 // A dummy class that raises an exception if used...
2682 wxEventLoop() { wxPyRaiseNotImplemented(); }
2683 int Run() { return 0; }
2684 void Exit(int rc
= 0) {}
2685 bool Pending() const { return false; }
2686 bool Dispatch() { return false; }
2687 bool IsRunning() const { return false; }
2688 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2689 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2694 #include <wx/evtloop.h>
2700 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2701 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2702 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2703 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2704 wxWindowList
& list
= self
->GetChildren();
2705 return wxPy_ConvertList(&list
);
2707 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2709 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2714 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2721 static long wxWindow_GetHandle(wxWindow
*self
){
2722 return wxPyGetWinHandle(self
);
2724 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2725 self
->AssociateHandle((WXWidget
)handle
);
2728 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2729 return wxWindow::FindWindowById(id
, parent
);
2732 wxWindow
* wxFindWindowByName( const wxString
& name
,
2733 const wxWindow
*parent
= NULL
) {
2734 return wxWindow::FindWindowByName(name
, parent
);
2737 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2738 const wxWindow
*parent
= NULL
) {
2739 return wxWindow::FindWindowByLabel(label
, parent
);
2744 #include <wx/msw/private.h> // to get wxGetWindowId
2748 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2750 WXHWND hWnd
= (WXHWND
)_hWnd
;
2751 long id
= wxGetWindowId(hWnd
);
2752 wxWindow
* win
= new wxWindow
;
2753 parent
->AddChild(win
);
2754 win
->SetEventHandler(win
);
2757 win
->SubclassWin(hWnd
);
2758 win
->AdoptAttributesFromHWND();
2759 win
->SetupColours();
2762 wxPyRaiseNotImplemented();
2768 PyObject
* GetTopLevelWindows() {
2769 return wxPy_ConvertList(&wxTopLevelWindows
);
2773 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2774 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2775 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2777 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2779 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2780 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2781 wxMenuItemList
& list
= self
->GetMenuItems();
2782 return wxPy_ConvertList(&list
);
2784 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2785 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2787 wxPyClientData
* data
= new wxPyClientData(clientData
);
2788 return self
->Append(item
, data
);
2790 return self
->Append(item
);
2792 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2794 wxPyClientData
* data
= new wxPyClientData(clientData
);
2795 return self
->Insert(item
, pos
, data
);
2797 return self
->Insert(item
, pos
);
2799 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2800 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2802 Py_INCREF(data
->m_obj
);
2809 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2810 wxPyClientData
* data
= new wxPyClientData(clientData
);
2811 self
->SetClientObject(n
, data
);
2815 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2816 wxPyUserData
* data
= NULL
;
2818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2819 data
= new wxPyUserData(userData
);
2820 wxPyEndBlockThreads(blocked
);
2822 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2824 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2825 wxPyUserData
* data
= NULL
;
2827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2828 data
= new wxPyUserData(userData
);
2829 wxPyEndBlockThreads(blocked
);
2831 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2833 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2834 wxPyUserData
* data
= NULL
;
2836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2837 data
= new wxPyUserData(userData
);
2838 wxPyEndBlockThreads(blocked
);
2840 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2845 SWIG_CheckDoubleInRange(double value
, double min_value
,
2846 double max_value
, const char* errmsg
)
2848 if (value
< min_value
) {
2850 PyErr_Format(PyExc_OverflowError
,
2851 "value %g is less than %s minimum %g",
2852 value
, errmsg
, min_value
);
2855 } else if (value
> max_value
) {
2857 PyErr_Format(PyExc_OverflowError
,
2858 "value %g is greater than %s maximum %g",
2859 value
, errmsg
, max_value
);
2868 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2870 const char* errmsg
= val
? "float" : (char*)0;
2872 if (SWIG_AsVal_double(obj
, &v
)) {
2873 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2874 if (val
) *val
= (float)(v
);
2883 SWIG_type_error(errmsg
, obj
);
2889 SWIGINTERNSHORT
float
2890 SWIG_As_float(PyObject
* obj
)
2893 if (!SWIG_AsVal_float(obj
, &v
)) {
2895 this is needed to make valgrind/purify happier.
2897 memset((void*)&v
, 0, sizeof(float));
2904 SWIG_Check_float(PyObject
* obj
)
2906 return SWIG_AsVal_float(obj
, (float*)0);
2910 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2911 #define SWIG_From_float PyFloat_FromDouble
2914 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2915 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2917 Py_INCREF(data
->m_obj
);
2925 // Figure out the type of the sizer item
2927 struct wxPySizerItemInfo
{
2929 : window(NULL
), sizer(NULL
), gotSize(false),
2930 size(wxDefaultSize
), gotPos(false), pos(-1)
2941 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2943 wxPySizerItemInfo info
;
2945 wxSize
* sizePtr
= &size
;
2947 // Find out what the type of the item is
2949 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2954 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2958 // try wxSize or (w,h)
2959 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2960 info
.size
= *sizePtr
;
2961 info
.gotSize
= true;
2965 if (checkIdx
&& PyInt_Check(item
)) {
2966 info
.pos
= PyInt_AsLong(item
);
2972 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2973 // no expected type, figure out what kind of error message to generate
2974 if ( !checkSize
&& !checkIdx
)
2975 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2976 else if ( checkSize
&& !checkIdx
)
2977 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2978 else if ( !checkSize
&& checkIdx
)
2979 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2981 // can this one happen?
2982 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2988 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2989 if (!self
->GetClientObject())
2990 self
->SetClientObject(new wxPyOORClientData(_self
));
2992 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2994 wxPyUserData
* data
= NULL
;
2995 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2996 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2997 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2998 data
= new wxPyUserData(userData
);
2999 wxPyEndBlockThreads(blocked
);
3001 // Now call the real Add method if a valid item type was found
3003 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3004 else if ( info
.sizer
)
3005 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3006 else if (info
.gotSize
)
3007 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3008 proportion
, flag
, border
, data
);
3012 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3014 wxPyUserData
* data
= NULL
;
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3016 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3017 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3018 data
= new wxPyUserData(userData
);
3019 wxPyEndBlockThreads(blocked
);
3021 // Now call the real Insert method if a valid item type was found
3023 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3024 else if ( info
.sizer
)
3025 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3026 else if (info
.gotSize
)
3027 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3028 proportion
, flag
, border
, data
);
3032 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3034 wxPyUserData
* data
= NULL
;
3035 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3036 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3037 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3038 data
= new wxPyUserData(userData
);
3039 wxPyEndBlockThreads(blocked
);
3041 // Now call the real Prepend method if a valid item type was found
3043 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3044 else if ( info
.sizer
)
3045 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3046 else if (info
.gotSize
)
3047 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3048 proportion
, flag
, border
, data
);
3052 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3055 wxPyEndBlockThreads(blocked
);
3057 return self
->Remove(info
.window
);
3058 else if ( info
.sizer
)
3059 return self
->Remove(info
.sizer
);
3060 else if ( info
.gotPos
)
3061 return self
->Remove(info
.pos
);
3065 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3068 wxPyEndBlockThreads(blocked
);
3070 return self
->Detach(info
.window
);
3071 else if ( info
.sizer
)
3072 return self
->Detach(info
.sizer
);
3073 else if ( info
.gotPos
)
3074 return self
->Detach(info
.pos
);
3078 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3079 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3080 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3081 wxPyEndBlockThreads(blocked
);
3083 return self
->GetItem(info
.window
);
3084 else if ( info
.sizer
)
3085 return self
->GetItem(info
.sizer
);
3086 else if ( info
.gotPos
)
3087 return self
->GetItem(info
.pos
);
3091 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3093 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3094 wxPyEndBlockThreads(blocked
);
3096 self
->SetItemMinSize(info
.window
, size
);
3097 else if ( info
.sizer
)
3098 self
->SetItemMinSize(info
.sizer
, size
);
3099 else if ( info
.gotPos
)
3100 self
->SetItemMinSize(info
.pos
, size
);
3102 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3103 wxSizerItemList
& list
= self
->GetChildren();
3104 return wxPy_ConvertList(&list
);
3106 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3107 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3108 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3109 wxPyEndBlockThreads(blocked
);
3111 return self
->Show(info
.window
, show
, recursive
);
3112 else if ( info
.sizer
)
3113 return self
->Show(info
.sizer
, show
, recursive
);
3114 else if ( info
.gotPos
)
3115 return self
->Show(info
.pos
, show
);
3119 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3120 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3121 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3122 wxPyEndBlockThreads(blocked
);
3124 return self
->IsShown(info
.window
);
3125 else if ( info
.sizer
)
3126 return self
->IsShown(info
.sizer
);
3127 else if ( info
.gotPos
)
3128 return self
->IsShown(info
.pos
);
3134 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3135 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3136 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3141 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3143 if (source
== Py_None
) {
3144 **obj
= wxGBPosition(-1,-1);
3147 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3150 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3152 if (source
== Py_None
) {
3153 **obj
= wxGBSpan(-1,-1);
3156 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3160 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3164 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3165 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3166 PyObject
* tup
= PyTuple_New(2);
3167 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3168 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3169 wxPyEndBlockThreads(blocked
);
3172 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3173 self
->SetRowspan(rowspan
);
3174 self
->SetColspan(colspan
);
3176 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3177 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3178 PyObject
* tup
= PyTuple_New(2);
3179 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3180 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3181 wxPyEndBlockThreads(blocked
);
3184 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3185 wxPyUserData
* data
= NULL
;
3187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3188 data
= new wxPyUserData(userData
);
3189 wxPyEndBlockThreads(blocked
);
3191 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3193 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3194 wxPyUserData
* data
= NULL
;
3196 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3197 data
= new wxPyUserData(userData
);
3198 wxPyEndBlockThreads(blocked
);
3200 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3202 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3203 wxPyUserData
* data
= NULL
;
3205 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3206 data
= new wxPyUserData(userData
);
3207 wxPyEndBlockThreads(blocked
);
3209 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3211 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3213 self
->GetEndPos(row
, col
);
3214 return wxGBPosition(row
, col
);
3216 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3218 wxPyUserData
* data
= NULL
;
3219 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3220 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3221 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3222 data
= new wxPyUserData(userData
);
3223 wxPyEndBlockThreads(blocked
);
3225 // Now call the real Add method if a valid item type was found
3227 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3228 else if ( info
.sizer
)
3229 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3230 else if (info
.gotSize
)
3231 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3232 pos
, span
, flag
, border
, data
);
3240 static int _wrap_EmptyString_set(PyObject
*) {
3241 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3246 static PyObject
*_wrap_EmptyString_get(void) {
3251 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3253 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3260 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxObject
*arg1
= (wxObject
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3271 if (SWIG_arg_fail(1)) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= wxObject_GetClassName(arg1
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3292 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxObject
*arg1
= (wxObject
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3297 (char *) "self", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3302 if (SWIG_arg_fail(1)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 wxObject_Destroy(arg1
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3320 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3322 return Py_BuildValue((char *)"");
3324 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxSize
*arg1
= (wxSize
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3331 (char *) "self",(char *) "x", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3336 if (SWIG_arg_fail(1)) SWIG_fail
;
3338 arg2
= (int)(SWIG_As_int(obj1
));
3339 if (SWIG_arg_fail(2)) SWIG_fail
;
3341 if (arg1
) (arg1
)->x
= arg2
;
3343 Py_INCREF(Py_None
); resultobj
= Py_None
;
3350 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxSize
*arg1
= (wxSize
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3356 (char *) "self", NULL
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3361 if (SWIG_arg_fail(1)) SWIG_fail
;
3362 result
= (int) ((arg1
)->x
);
3365 resultobj
= SWIG_From_int((int)(result
));
3373 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxSize
*arg1
= (wxSize
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "y", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3385 if (SWIG_arg_fail(1)) SWIG_fail
;
3387 arg2
= (int)(SWIG_As_int(obj1
));
3388 if (SWIG_arg_fail(2)) SWIG_fail
;
3390 if (arg1
) (arg1
)->y
= arg2
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxSize
*arg1
= (wxSize
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3410 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 result
= (int) ((arg1
)->y
);
3414 resultobj
= SWIG_From_int((int)(result
));
3422 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 int arg1
= (int) 0 ;
3425 int arg2
= (int) 0 ;
3427 PyObject
* obj0
= 0 ;
3428 PyObject
* obj1
= 0 ;
3430 (char *) "w",(char *) "h", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 arg1
= (int)(SWIG_As_int(obj0
));
3437 if (SWIG_arg_fail(1)) SWIG_fail
;
3442 arg2
= (int)(SWIG_As_int(obj1
));
3443 if (SWIG_arg_fail(2)) SWIG_fail
;
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3460 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxSize
*arg1
= (wxSize
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3465 (char *) "self", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3470 if (SWIG_arg_fail(1)) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxSize
*arg1
= (wxSize
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "sz", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail
;
3502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3520 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxSize
*arg1
= (wxSize
*) 0 ;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3529 (char *) "self",(char *) "sz", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail
;
3537 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3555 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxSize
*arg1
= (wxSize
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "sz", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3583 resultptr
= new wxSize((wxSize
&)(result
));
3584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3592 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxSize
*arg1
= (wxSize
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "self",(char *) "sz", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3606 if (SWIG_arg_fail(1)) SWIG_fail
;
3609 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3620 resultptr
= new wxSize((wxSize
&)(result
));
3621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3629 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxSize
*arg1
= (wxSize
*) 0 ;
3634 PyObject
* obj0
= 0 ;
3635 PyObject
* obj1
= 0 ;
3637 (char *) "self",(char *) "sz", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3642 if (SWIG_arg_fail(1)) SWIG_fail
;
3645 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 (arg1
)->IncTo((wxSize
const &)*arg2
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
*resultobj
;
3663 wxSize
*arg1
= (wxSize
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3669 (char *) "self",(char *) "sz", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3674 if (SWIG_arg_fail(1)) SWIG_fail
;
3677 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 (arg1
)->DecTo((wxSize
const &)*arg2
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxSize
*arg1
= (wxSize
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3700 PyObject
* obj2
= 0 ;
3702 (char *) "self",(char *) "w",(char *) "h", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3707 if (SWIG_arg_fail(1)) SWIG_fail
;
3709 arg2
= (int)(SWIG_As_int(obj1
));
3710 if (SWIG_arg_fail(2)) SWIG_fail
;
3713 arg3
= (int)(SWIG_As_int(obj2
));
3714 if (SWIG_arg_fail(3)) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 (arg1
)->Set(arg2
,arg3
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxSize
*arg1
= (wxSize
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3735 PyObject
* obj1
= 0 ;
3737 (char *) "self",(char *) "w", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3742 if (SWIG_arg_fail(1)) SWIG_fail
;
3744 arg2
= (int)(SWIG_As_int(obj1
));
3745 if (SWIG_arg_fail(2)) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetWidth(arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxSize
*arg1
= (wxSize
*) 0 ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3768 (char *) "self",(char *) "h", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3773 if (SWIG_arg_fail(1)) SWIG_fail
;
3775 arg2
= (int)(SWIG_As_int(obj1
));
3776 if (SWIG_arg_fail(2)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetHeight(arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxSize
*arg1
= (wxSize
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3803 if (SWIG_arg_fail(1)) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3812 resultobj
= SWIG_From_int((int)(result
));
3820 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxSize
*arg1
= (wxSize
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= SWIG_From_int((int)(result
));
3848 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxSize
*arg1
= (wxSize
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3859 if (SWIG_arg_fail(1)) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3876 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxSize
*arg1
= (wxSize
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3882 PyObject
* obj1
= 0 ;
3884 (char *) "self",(char *) "size", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3889 if (SWIG_arg_fail(1)) SWIG_fail
;
3892 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 Py_INCREF(Py_None
); resultobj
= Py_None
;
3908 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxSize
*arg1
= (wxSize
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3914 (char *) "self", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3919 if (SWIG_arg_fail(1)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (PyObject
*)wxSize_Get(arg1
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3934 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3937 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3939 return Py_BuildValue((char *)"");
3941 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "x", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail
;
3955 arg2
= (double)(SWIG_As_double(obj1
));
3956 if (SWIG_arg_fail(2)) SWIG_fail
;
3958 if (arg1
) (arg1
)->x
= arg2
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3973 (char *) "self", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(1)) SWIG_fail
;
3979 result
= (double) ((arg1
)->x
);
3982 resultobj
= SWIG_From_double((double)(result
));
3990 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "y", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4002 if (SWIG_arg_fail(1)) SWIG_fail
;
4004 arg2
= (double)(SWIG_As_double(obj1
));
4005 if (SWIG_arg_fail(2)) SWIG_fail
;
4007 if (arg1
) (arg1
)->y
= arg2
;
4009 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4022 (char *) "self", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 result
= (double) ((arg1
)->y
);
4031 resultobj
= SWIG_From_double((double)(result
));
4039 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 double arg1
= (double) 0.0 ;
4042 double arg2
= (double) 0.0 ;
4043 wxRealPoint
*result
;
4044 PyObject
* obj0
= 0 ;
4045 PyObject
* obj1
= 0 ;
4047 (char *) "x",(char *) "y", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4053 arg1
= (double)(SWIG_As_double(obj0
));
4054 if (SWIG_arg_fail(1)) SWIG_fail
;
4059 arg2
= (double)(SWIG_As_double(obj1
));
4060 if (SWIG_arg_fail(2)) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4077 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4087 if (SWIG_arg_fail(1)) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 Py_INCREF(Py_None
); resultobj
= Py_None
;
4102 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4105 wxRealPoint
*arg2
= 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "pt", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4119 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4137 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4140 wxRealPoint
*arg2
= 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4146 (char *) "self",(char *) "pt", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4151 if (SWIG_arg_fail(1)) SWIG_fail
;
4154 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4172 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4175 wxRealPoint
*arg2
= 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "pt", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail
;
4189 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 wxRealPoint
* resultptr
;
4200 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4209 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4212 wxRealPoint
*arg2
= 0 ;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4218 (char *) "self",(char *) "pt", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4223 if (SWIG_arg_fail(1)) SWIG_fail
;
4226 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 wxRealPoint
* resultptr
;
4237 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4246 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4253 PyObject
* obj2
= 0 ;
4255 (char *) "self",(char *) "x",(char *) "y", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail
;
4262 arg2
= (double)(SWIG_As_double(obj1
));
4263 if (SWIG_arg_fail(2)) SWIG_fail
;
4266 arg3
= (double)(SWIG_As_double(obj2
));
4267 if (SWIG_arg_fail(3)) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 wxRealPoint_Set(arg1
,arg2
,arg3
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4289 (char *) "self", NULL
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4294 if (SWIG_arg_fail(1)) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4309 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4312 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4314 return Py_BuildValue((char *)"");
4316 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxPoint
*arg1
= (wxPoint
*) 0 ;
4320 PyObject
* obj0
= 0 ;
4321 PyObject
* obj1
= 0 ;
4323 (char *) "self",(char *) "x", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4328 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 arg2
= (int)(SWIG_As_int(obj1
));
4331 if (SWIG_arg_fail(2)) SWIG_fail
;
4333 if (arg1
) (arg1
)->x
= arg2
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxPoint
*arg1
= (wxPoint
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4348 (char *) "self", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail
;
4354 result
= (int) ((arg1
)->x
);
4357 resultobj
= SWIG_From_int((int)(result
));
4365 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxPoint
*arg1
= (wxPoint
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4372 (char *) "self",(char *) "y", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4377 if (SWIG_arg_fail(1)) SWIG_fail
;
4379 arg2
= (int)(SWIG_As_int(obj1
));
4380 if (SWIG_arg_fail(2)) SWIG_fail
;
4382 if (arg1
) (arg1
)->y
= arg2
;
4384 Py_INCREF(Py_None
); resultobj
= Py_None
;
4391 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 wxPoint
*arg1
= (wxPoint
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4397 (char *) "self", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail
;
4403 result
= (int) ((arg1
)->y
);
4406 resultobj
= SWIG_From_int((int)(result
));
4414 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 int arg1
= (int) 0 ;
4417 int arg2
= (int) 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4422 (char *) "x",(char *) "y", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4428 arg1
= (int)(SWIG_As_int(obj0
));
4429 if (SWIG_arg_fail(1)) SWIG_fail
;
4434 arg2
= (int)(SWIG_As_int(obj1
));
4435 if (SWIG_arg_fail(2)) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4452 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxPoint
*arg1
= (wxPoint
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4462 if (SWIG_arg_fail(1)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxPoint
*arg1
= (wxPoint
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "pt", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxPoint
*arg1
= (wxPoint
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4521 (char *) "self",(char *) "pt", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4526 if (SWIG_arg_fail(1)) SWIG_fail
;
4529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxPoint
*arg1
= (wxPoint
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "pt", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4574 wxPoint
* resultptr
;
4575 resultptr
= new wxPoint((wxPoint
&)(result
));
4576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4584 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxPoint
*arg1
= (wxPoint
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4593 (char *) "self",(char *) "pt", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail
;
4601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4611 wxPoint
* resultptr
;
4612 resultptr
= new wxPoint((wxPoint
&)(result
));
4613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4621 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxPoint
*arg1
= (wxPoint
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4630 (char *) "self",(char *) "pt", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4635 if (SWIG_arg_fail(1)) SWIG_fail
;
4638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4644 result
= (wxPoint
*) &_result_ref
;
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4657 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxPoint
*arg1
= (wxPoint
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4666 (char *) "self",(char *) "pt", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4671 if (SWIG_arg_fail(1)) SWIG_fail
;
4674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4680 result
= (wxPoint
*) &_result_ref
;
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4693 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxPoint
*arg1
= (wxPoint
*) 0 ;
4698 PyObject
* obj0
= 0 ;
4699 PyObject
* obj1
= 0 ;
4700 PyObject
* obj2
= 0 ;
4702 (char *) "self",(char *) "x",(char *) "y", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4707 if (SWIG_arg_fail(1)) SWIG_fail
;
4709 arg2
= (long)(SWIG_As_long(obj1
));
4710 if (SWIG_arg_fail(2)) SWIG_fail
;
4713 arg3
= (long)(SWIG_As_long(obj2
));
4714 if (SWIG_arg_fail(3)) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxPoint_Set(arg1
,arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxPoint
*arg1
= (wxPoint
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4741 if (SWIG_arg_fail(1)) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (PyObject
*)wxPoint_Get(arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4756 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4759 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4761 return Py_BuildValue((char *)"");
4763 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 int arg1
= (int) 0 ;
4766 int arg2
= (int) 0 ;
4767 int arg3
= (int) 0 ;
4768 int arg4
= (int) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 PyObject
* obj2
= 0 ;
4773 PyObject
* obj3
= 0 ;
4775 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4781 arg1
= (int)(SWIG_As_int(obj0
));
4782 if (SWIG_arg_fail(1)) SWIG_fail
;
4787 arg2
= (int)(SWIG_As_int(obj1
));
4788 if (SWIG_arg_fail(2)) SWIG_fail
;
4793 arg3
= (int)(SWIG_As_int(obj2
));
4794 if (SWIG_arg_fail(3)) SWIG_fail
;
4799 arg4
= (int)(SWIG_As_int(obj3
));
4800 if (SWIG_arg_fail(4)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4817 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4827 (char *) "topLeft",(char *) "bottomRight", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4833 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4853 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4860 PyObject
* obj0
= 0 ;
4861 PyObject
* obj1
= 0 ;
4863 (char *) "pos",(char *) "size", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4869 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4889 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "size", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4902 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4918 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxRect
*arg1
= (wxRect
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4923 (char *) "self", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxRect
*arg1
= (wxRect
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4949 (char *) "self", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4954 if (SWIG_arg_fail(1)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (int)((wxRect
const *)arg1
)->GetX();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_From_int((int)(result
));
4971 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxRect
*arg1
= (wxRect
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "x", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4983 if (SWIG_arg_fail(1)) SWIG_fail
;
4985 arg2
= (int)(SWIG_As_int(obj1
));
4986 if (SWIG_arg_fail(2)) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5002 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRect
*arg1
= (wxRect
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5008 (char *) "self", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5013 if (SWIG_arg_fail(1)) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (int)(arg1
)->GetY();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= SWIG_From_int((int)(result
));
5030 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxRect
*arg1
= (wxRect
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5037 (char *) "self",(char *) "y", NULL
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5042 if (SWIG_arg_fail(1)) SWIG_fail
;
5044 arg2
= (int)(SWIG_As_int(obj1
));
5045 if (SWIG_arg_fail(2)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 Py_INCREF(Py_None
); resultobj
= Py_None
;
5061 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxRect
*arg1
= (wxRect
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_From_int((int)(result
));
5089 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxRect
*arg1
= (wxRect
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "w", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail
;
5103 arg2
= (int)(SWIG_As_int(obj1
));
5104 if (SWIG_arg_fail(2)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 (arg1
)->SetWidth(arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 Py_INCREF(Py_None
); resultobj
= Py_None
;
5120 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxRect
*arg1
= (wxRect
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5126 (char *) "self", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int((int)(result
));
5148 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxRect
*arg1
= (wxRect
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "h", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5160 if (SWIG_arg_fail(1)) SWIG_fail
;
5162 arg2
= (int)(SWIG_As_int(obj1
));
5163 if (SWIG_arg_fail(2)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 (arg1
)->SetHeight(arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxRect
*arg1
= (wxRect
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= ((wxRect
const *)arg1
)->GetPosition();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 wxPoint
* resultptr
;
5200 resultptr
= new wxPoint((wxPoint
&)(result
));
5201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5209 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxRect
*arg1
= (wxRect
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5217 (char *) "self",(char *) "p", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail
;
5225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5241 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxRect
*arg1
= (wxRect
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5247 (char *) "self", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5252 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= ((wxRect
const *)arg1
)->GetSize();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5262 resultptr
= new wxSize((wxSize
&)(result
));
5263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5271 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxRect
*arg1
= (wxRect
*) 0 ;
5276 PyObject
* obj0
= 0 ;
5277 PyObject
* obj1
= 0 ;
5279 (char *) "self",(char *) "s", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5284 if (SWIG_arg_fail(1)) SWIG_fail
;
5287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 (arg1
)->SetSize((wxSize
const &)*arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 Py_INCREF(Py_None
); resultobj
= Py_None
;
5303 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
;
5305 wxRect
*arg1
= (wxRect
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5314 if (SWIG_arg_fail(1)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5331 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxRect
*arg1
= (wxRect
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5337 (char *) "self", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5342 if (SWIG_arg_fail(1)) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5351 wxPoint
* resultptr
;
5352 resultptr
= new wxPoint((wxPoint
&)(result
));
5353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5361 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRect
*arg1
= (wxRect
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "p", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5374 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxRect
*arg1
= (wxRect
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5404 if (SWIG_arg_fail(1)) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 wxPoint
* resultptr
;
5414 resultptr
= new wxPoint((wxPoint
&)(result
));
5415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5423 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxRect
*arg1
= (wxRect
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5431 (char *) "self",(char *) "p", NULL
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5436 if (SWIG_arg_fail(1)) SWIG_fail
;
5439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxRect
*arg1
= (wxRect
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5466 if (SWIG_arg_fail(1)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_From_int((int)(result
));
5483 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxRect
*arg1
= (wxRect
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5494 if (SWIG_arg_fail(1)) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)((wxRect
const *)arg1
)->GetTop();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_From_int((int)(result
));
5511 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxRect
*arg1
= (wxRect
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5522 if (SWIG_arg_fail(1)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_From_int((int)(result
));
5539 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxRect
*arg1
= (wxRect
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (int)((wxRect
const *)arg1
)->GetRight();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_From_int((int)(result
));
5567 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxRect
*arg1
= (wxRect
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "self",(char *) "left", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5579 if (SWIG_arg_fail(1)) SWIG_fail
;
5581 arg2
= (int)(SWIG_As_int(obj1
));
5582 if (SWIG_arg_fail(2)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->SetLeft(arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxRect
*arg1
= (wxRect
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "right", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5610 if (SWIG_arg_fail(1)) SWIG_fail
;
5612 arg2
= (int)(SWIG_As_int(obj1
));
5613 if (SWIG_arg_fail(2)) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetRight(arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxRect
*arg1
= (wxRect
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5636 (char *) "self",(char *) "top", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail
;
5643 arg2
= (int)(SWIG_As_int(obj1
));
5644 if (SWIG_arg_fail(2)) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 (arg1
)->SetTop(arg2
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 Py_INCREF(Py_None
); resultobj
= Py_None
;
5660 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxRect
*arg1
= (wxRect
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5667 (char *) "self",(char *) "bottom", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 arg2
= (int)(SWIG_As_int(obj1
));
5675 if (SWIG_arg_fail(2)) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->SetBottom(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxRect
*arg1
= (wxRect
*) 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5699 PyObject
* obj2
= 0 ;
5701 (char *) "self",(char *) "dx",(char *) "dy", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5706 if (SWIG_arg_fail(1)) SWIG_fail
;
5708 arg2
= (int)(SWIG_As_int(obj1
));
5709 if (SWIG_arg_fail(2)) SWIG_fail
;
5712 arg3
= (int)(SWIG_As_int(obj2
));
5713 if (SWIG_arg_fail(3)) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5719 result
= (wxRect
*) &_result_ref
;
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5732 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxRect
*arg1
= (wxRect
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5742 (char *) "self",(char *) "dx",(char *) "dy", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5747 if (SWIG_arg_fail(1)) SWIG_fail
;
5749 arg2
= (int)(SWIG_As_int(obj1
));
5750 if (SWIG_arg_fail(2)) SWIG_fail
;
5753 arg3
= (int)(SWIG_As_int(obj2
));
5754 if (SWIG_arg_fail(3)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5760 result
= (wxRect
*) &_result_ref
;
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5773 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxRect
*arg1
= (wxRect
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5780 PyObject
* obj2
= 0 ;
5782 (char *) "self",(char *) "dx",(char *) "dy", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5787 if (SWIG_arg_fail(1)) SWIG_fail
;
5789 arg2
= (int)(SWIG_As_int(obj1
));
5790 if (SWIG_arg_fail(2)) SWIG_fail
;
5793 arg3
= (int)(SWIG_As_int(obj2
));
5794 if (SWIG_arg_fail(3)) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->Offset(arg2
,arg3
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5810 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxRect
*arg1
= (wxRect
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5816 PyObject
* obj1
= 0 ;
5818 (char *) "self",(char *) "pt", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5823 if (SWIG_arg_fail(1)) SWIG_fail
;
5826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->Offset((wxPoint
const &)*arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxRect
*arg1
= (wxRect
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "rect", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail
;
5859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5870 resultptr
= new wxRect((wxRect
&)(result
));
5871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5879 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRect
*arg1
= (wxRect
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5888 (char *) "self",(char *) "rect", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5893 if (SWIG_arg_fail(1)) SWIG_fail
;
5896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5907 resultptr
= new wxRect((wxRect
&)(result
));
5908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5916 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxRect
*arg1
= (wxRect
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "rect", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail
;
5933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5944 resultptr
= new wxRect((wxRect
&)(result
));
5945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5953 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxRect
*arg1
= (wxRect
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5960 PyObject
* obj1
= 0 ;
5962 (char *) "self",(char *) "rect", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5967 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5976 result
= (wxRect
*) &_result_ref
;
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5989 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxRect
*arg1
= (wxRect
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "self",(char *) "rect", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail
;
6006 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxRect
*arg1
= (wxRect
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6031 PyObject
* obj1
= 0 ;
6033 (char *) "self",(char *) "rect", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6038 if (SWIG_arg_fail(1)) SWIG_fail
;
6041 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxRect
*arg1
= (wxRect
*) 0 ;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6067 PyObject
* obj2
= 0 ;
6069 (char *) "self",(char *) "x",(char *) "y", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6074 if (SWIG_arg_fail(1)) SWIG_fail
;
6076 arg2
= (int)(SWIG_As_int(obj1
));
6077 if (SWIG_arg_fail(2)) SWIG_fail
;
6080 arg3
= (int)(SWIG_As_int(obj2
));
6081 if (SWIG_arg_fail(3)) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6099 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxRect
*arg1
= (wxRect
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "pt", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6113 if (SWIG_arg_fail(1)) SWIG_fail
;
6116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6134 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxRect
*arg1
= (wxRect
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6143 (char *) "self",(char *) "rect", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6148 if (SWIG_arg_fail(1)) SWIG_fail
;
6151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6169 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxRect
*arg1
= (wxRect
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "x", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6181 if (SWIG_arg_fail(1)) SWIG_fail
;
6183 arg2
= (int)(SWIG_As_int(obj1
));
6184 if (SWIG_arg_fail(2)) SWIG_fail
;
6186 if (arg1
) (arg1
)->x
= arg2
;
6188 Py_INCREF(Py_None
); resultobj
= Py_None
;
6195 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxRect
*arg1
= (wxRect
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail
;
6207 result
= (int) ((arg1
)->x
);
6210 resultobj
= SWIG_From_int((int)(result
));
6218 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxRect
*arg1
= (wxRect
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "self",(char *) "y", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6230 if (SWIG_arg_fail(1)) SWIG_fail
;
6232 arg2
= (int)(SWIG_As_int(obj1
));
6233 if (SWIG_arg_fail(2)) SWIG_fail
;
6235 if (arg1
) (arg1
)->y
= arg2
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxRect
*arg1
= (wxRect
*) 0 ;
6248 PyObject
* obj0
= 0 ;
6250 (char *) "self", NULL
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6255 if (SWIG_arg_fail(1)) SWIG_fail
;
6256 result
= (int) ((arg1
)->y
);
6259 resultobj
= SWIG_From_int((int)(result
));
6267 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxRect
*arg1
= (wxRect
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "width", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6279 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 arg2
= (int)(SWIG_As_int(obj1
));
6282 if (SWIG_arg_fail(2)) SWIG_fail
;
6284 if (arg1
) (arg1
)->width
= arg2
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxRect
*arg1
= (wxRect
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6304 if (SWIG_arg_fail(1)) SWIG_fail
;
6305 result
= (int) ((arg1
)->width
);
6308 resultobj
= SWIG_From_int((int)(result
));
6316 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxRect
*arg1
= (wxRect
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6323 (char *) "self",(char *) "height", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail
;
6330 arg2
= (int)(SWIG_As_int(obj1
));
6331 if (SWIG_arg_fail(2)) SWIG_fail
;
6333 if (arg1
) (arg1
)->height
= arg2
;
6335 Py_INCREF(Py_None
); resultobj
= Py_None
;
6342 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxRect
*arg1
= (wxRect
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail
;
6354 result
= (int) ((arg1
)->height
);
6357 resultobj
= SWIG_From_int((int)(result
));
6365 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxRect
*arg1
= (wxRect
*) 0 ;
6368 int arg2
= (int) 0 ;
6369 int arg3
= (int) 0 ;
6370 int arg4
= (int) 0 ;
6371 int arg5
= (int) 0 ;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6374 PyObject
* obj2
= 0 ;
6375 PyObject
* obj3
= 0 ;
6376 PyObject
* obj4
= 0 ;
6378 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6383 if (SWIG_arg_fail(1)) SWIG_fail
;
6386 arg2
= (int)(SWIG_As_int(obj1
));
6387 if (SWIG_arg_fail(2)) SWIG_fail
;
6392 arg3
= (int)(SWIG_As_int(obj2
));
6393 if (SWIG_arg_fail(3)) SWIG_fail
;
6398 arg4
= (int)(SWIG_As_int(obj3
));
6399 if (SWIG_arg_fail(4)) SWIG_fail
;
6404 arg5
= (int)(SWIG_As_int(obj4
));
6405 if (SWIG_arg_fail(5)) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxRect
*arg1
= (wxRect
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6433 if (SWIG_arg_fail(1)) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (PyObject
*)wxRect_Get(arg1
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6448 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6451 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6453 return Py_BuildValue((char *)"");
6455 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxRect
*arg1
= (wxRect
*) 0 ;
6458 wxRect
*arg2
= (wxRect
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "r1",(char *) "r2", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6468 if (SWIG_arg_fail(1)) SWIG_fail
;
6469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6470 if (SWIG_arg_fail(2)) SWIG_fail
;
6472 if (!wxPyCheckForApp()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6486 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 double arg1
= (double) 0.0 ;
6489 double arg2
= (double) 0.0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6494 (char *) "x",(char *) "y", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6500 arg1
= (double)(SWIG_As_double(obj0
));
6501 if (SWIG_arg_fail(1)) SWIG_fail
;
6506 arg2
= (double)(SWIG_As_double(obj1
));
6507 if (SWIG_arg_fail(2)) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6524 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxPoint2D
*arg1
= 0 ;
6529 PyObject
* obj0
= 0 ;
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6537 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6553 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6558 PyObject
* obj0
= 0 ;
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6566 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6582 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6585 int *arg2
= (int *) 0 ;
6586 int *arg3
= (int *) 0 ;
6591 PyObject
* obj0
= 0 ;
6593 (char *) "self", NULL
6596 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6597 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 Py_INCREF(Py_None
); resultobj
= Py_None
;
6609 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6610 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6611 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6612 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6619 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6622 int *arg2
= (int *) 0 ;
6623 int *arg3
= (int *) 0 ;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "self", NULL
6633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6647 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6648 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6649 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6656 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_From_double((double)(result
));
6684 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6688 PyObject
* obj0
= 0 ;
6690 (char *) "self", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6695 if (SWIG_arg_fail(1)) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_From_double((double)(result
));
6712 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "length", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6724 if (SWIG_arg_fail(1)) SWIG_fail
;
6726 arg2
= (double)(SWIG_As_double(obj1
));
6727 if (SWIG_arg_fail(2)) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 (arg1
)->SetVectorLength(arg2
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6750 (char *) "self",(char *) "degrees", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6755 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 arg2
= (double)(SWIG_As_double(obj1
));
6758 if (SWIG_arg_fail(2)) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 (arg1
)->SetVectorAngle(arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 Py_INCREF(Py_None
); resultobj
= Py_None
;
6774 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6777 wxPoint2D
*arg2
= 0 ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "pt", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6788 if (SWIG_arg_fail(1)) SWIG_fail
;
6791 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_From_double((double)(result
));
6809 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6812 wxPoint2D
*arg2
= 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6818 (char *) "self",(char *) "pt", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail
;
6826 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_From_double((double)(result
));
6844 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6847 wxPoint2D
*arg2
= 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6853 (char *) "self",(char *) "vec", NULL
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail
;
6861 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_From_double((double)(result
));
6879 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6882 wxPoint2D
*arg2
= 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "vec", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6896 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_From_double((double)(result
));
6914 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6925 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (arg1
)->operator -();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 wxPoint2D
* resultptr
;
6935 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6944 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6947 wxPoint2D
*arg2
= 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6953 (char *) "self",(char *) "pt", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6958 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6967 result
= (wxPoint2D
*) &_result_ref
;
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6980 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6983 wxPoint2D
*arg2
= 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6989 (char *) "self",(char *) "pt", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6994 if (SWIG_arg_fail(1)) SWIG_fail
;
6997 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7003 result
= (wxPoint2D
*) &_result_ref
;
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7016 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7019 wxPoint2D
*arg2
= 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "pt", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7030 if (SWIG_arg_fail(1)) SWIG_fail
;
7033 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7039 result
= (wxPoint2D
*) &_result_ref
;
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7052 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7055 wxPoint2D
*arg2
= 0 ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7061 (char *) "self",(char *) "pt", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7066 if (SWIG_arg_fail(1)) SWIG_fail
;
7069 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7075 result
= (wxPoint2D
*) &_result_ref
;
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7088 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7091 wxPoint2D
*arg2
= 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7097 (char *) "self",(char *) "pt", NULL
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7102 if (SWIG_arg_fail(1)) SWIG_fail
;
7105 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7123 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7126 wxPoint2D
*arg2
= 0 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7132 (char *) "self",(char *) "pt", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail
;
7140 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7158 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "m_x", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 arg2
= (double)(SWIG_As_double(obj1
));
7173 if (SWIG_arg_fail(2)) SWIG_fail
;
7175 if (arg1
) (arg1
)->m_x
= arg2
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "self", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7195 if (SWIG_arg_fail(1)) SWIG_fail
;
7196 result
= (double) ((arg1
)->m_x
);
7199 resultobj
= SWIG_From_double((double)(result
));
7207 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7214 (char *) "self",(char *) "m_y", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7221 arg2
= (double)(SWIG_As_double(obj1
));
7222 if (SWIG_arg_fail(2)) SWIG_fail
;
7224 if (arg1
) (arg1
)->m_y
= arg2
;
7226 Py_INCREF(Py_None
); resultobj
= Py_None
;
7233 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7244 if (SWIG_arg_fail(1)) SWIG_fail
;
7245 result
= (double) ((arg1
)->m_y
);
7248 resultobj
= SWIG_From_double((double)(result
));
7256 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7259 double arg2
= (double) 0 ;
7260 double arg3
= (double) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 PyObject
* obj2
= 0 ;
7265 (char *) "self",(char *) "x",(char *) "y", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 arg2
= (double)(SWIG_As_double(obj1
));
7274 if (SWIG_arg_fail(2)) SWIG_fail
;
7279 arg3
= (double)(SWIG_As_double(obj2
));
7280 if (SWIG_arg_fail(3)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxPoint2D_Set(arg1
,arg2
,arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "self", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7308 if (SWIG_arg_fail(1)) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7323 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7326 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7328 return Py_BuildValue((char *)"");
7330 static int _wrap_DefaultPosition_set(PyObject
*) {
7331 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7336 static PyObject
*_wrap_DefaultPosition_get(void) {
7339 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7344 static int _wrap_DefaultSize_set(PyObject
*) {
7345 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7350 static PyObject
*_wrap_DefaultSize_get(void) {
7353 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7358 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 PyObject
*arg1
= (PyObject
*) 0 ;
7361 wxPyInputStream
*result
;
7362 PyObject
* obj0
= 0 ;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7383 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "self", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7393 if (SWIG_arg_fail(1)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7413 (char *) "self", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 Py_INCREF(Py_None
); resultobj
= Py_None
;
7433 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "self", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7443 if (SWIG_arg_fail(1)) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7458 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (bool)(arg1
)->eof();
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7486 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7489 int arg2
= (int) -1 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "size", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 arg2
= (int)(SWIG_As_int(obj1
));
7503 if (SWIG_arg_fail(2)) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (PyObject
*)(arg1
)->read(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7520 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7523 int arg2
= (int) -1 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "size", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 arg2
= (int)(SWIG_As_int(obj1
));
7537 if (SWIG_arg_fail(2)) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (PyObject
*)(arg1
)->readline(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7554 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7557 int arg2
= (int) -1 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7562 (char *) "self",(char *) "sizehint", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7567 if (SWIG_arg_fail(1)) SWIG_fail
;
7570 arg2
= (int)(SWIG_As_int(obj1
));
7571 if (SWIG_arg_fail(2)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7588 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7592 int arg3
= (int) 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 PyObject
* obj2
= 0 ;
7597 (char *) "self",(char *) "offset",(char *) "whence", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 arg2
= (int)(SWIG_As_int(obj1
));
7605 if (SWIG_arg_fail(2)) SWIG_fail
;
7609 arg3
= (int)(SWIG_As_int(obj2
));
7610 if (SWIG_arg_fail(3)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->seek(arg2
,arg3
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "self", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (int)(arg1
)->tell();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_From_int((int)(result
));
7655 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 (char *) "self", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (char)(arg1
)->Peek();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_From_char((char)(result
));
7683 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "self", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (char)(arg1
)->GetC();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_From_char((char)(result
));
7711 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (size_t)(arg1
)->LastRead();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7739 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
*resultobj
;
7741 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7745 (char *) "self", NULL
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (bool)(arg1
)->CanRead();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7778 if (SWIG_arg_fail(1)) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)(arg1
)->Eof();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7803 (char *) "self",(char *) "c", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail
;
7810 arg2
= (char)(SWIG_As_char(obj1
));
7811 if (SWIG_arg_fail(2)) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (bool)(arg1
)->Ungetch(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7833 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 PyObject
* obj2
= 0 ;
7839 (char *) "self",(char *) "pos",(char *) "mode", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7844 if (SWIG_arg_fail(1)) SWIG_fail
;
7846 arg2
= (long)(SWIG_As_long(obj1
));
7847 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7852 if (SWIG_arg_fail(3)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_From_long((long)(result
));
7871 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (long)(arg1
)->TellI();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_From_long((long)(result
));
7899 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7902 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7904 return Py_BuildValue((char *)"");
7906 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7909 PyObject
*arg2
= (PyObject
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7913 (char *) "self",(char *) "obj", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 wxOutputStream_write(arg1
,arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 Py_INCREF(Py_None
); resultobj
= Py_None
;
7934 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7937 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7939 return Py_BuildValue((char *)"");
7941 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7944 wxString
*arg2
= 0 ;
7945 wxString
*arg3
= 0 ;
7946 wxString
*arg4
= 0 ;
7949 wxPyInputStream
*temp1
;
7950 bool temp2
= false ;
7951 bool temp3
= false ;
7952 bool temp4
= false ;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7955 PyObject
* obj2
= 0 ;
7956 PyObject
* obj3
= 0 ;
7957 PyObject
* obj4
= 0 ;
7959 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7964 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7965 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7967 PyErr_Clear(); // clear the failure of the wxPyConvert above
7968 arg1
= wxPyCBInputStream_create(obj0
, true);
7970 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7976 arg2
= wxString_in_helper(obj1
);
7977 if (arg2
== NULL
) SWIG_fail
;
7981 arg3
= wxString_in_helper(obj2
);
7982 if (arg3
== NULL
) SWIG_fail
;
7986 arg4
= wxString_in_helper(obj3
);
7987 if (arg4
== NULL
) SWIG_fail
;
7992 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7993 if (SWIG_arg_fail(5)) SWIG_fail
;
7995 SWIG_null_ref("wxDateTime");
7997 if (SWIG_arg_fail(5)) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= wxPyMake_wxObject(result
, 1);
8040 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8045 (char *) "self", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 Py_INCREF(Py_None
); resultobj
= Py_None
;
8065 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8068 wxInputStream
*result
;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8076 if (SWIG_arg_fail(1)) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (wxInputStream
*)(arg1
)->GetStream();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 wxPyInputStream
* _ptr
= NULL
;
8088 _ptr
= new wxPyInputStream(result
);
8090 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8098 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "self", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8109 if (SWIG_arg_fail(1)) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8114 result
= (wxString
*) &_result_ref
;
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8133 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8144 if (SWIG_arg_fail(1)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 wxString
const &_result_ref
= (arg1
)->GetLocation();
8149 result
= (wxString
*) &_result_ref
;
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8159 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8168 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8184 result
= (wxString
*) &_result_ref
;
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8194 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8203 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8214 if (SWIG_arg_fail(1)) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (arg1
)->GetModificationTime();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 wxDateTime
* resultptr
;
8224 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8233 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8236 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8238 return Py_BuildValue((char *)"");
8240 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8243 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8245 return Py_BuildValue((char *)"");
8247 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxPyFileSystemHandler
*result
;
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8269 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8272 PyObject
*arg2
= (PyObject
*) 0 ;
8273 PyObject
*arg3
= (PyObject
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8276 PyObject
* obj2
= 0 ;
8278 (char *) "self",(char *) "self",(char *) "_class", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8283 if (SWIG_arg_fail(1)) SWIG_fail
;
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8293 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8303 wxString
*arg2
= 0 ;
8305 bool temp2
= false ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8309 (char *) "self",(char *) "location", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8314 if (SWIG_arg_fail(1)) SWIG_fail
;
8316 arg2
= wxString_in_helper(obj1
);
8317 if (arg2
== NULL
) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8344 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8347 wxFileSystem
*arg2
= 0 ;
8348 wxString
*arg3
= 0 ;
8350 bool temp3
= false ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8355 (char *) "self",(char *) "fs",(char *) "location", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8363 if (SWIG_arg_fail(2)) SWIG_fail
;
8365 SWIG_null_ref("wxFileSystem");
8367 if (SWIG_arg_fail(2)) SWIG_fail
;
8370 arg3
= wxString_in_helper(obj2
);
8371 if (arg3
== NULL
) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= wxPyMake_wxObject(result
, 1);
8398 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8401 wxString
*arg2
= 0 ;
8402 int arg3
= (int) 0 ;
8404 bool temp2
= false ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8407 PyObject
* obj2
= 0 ;
8409 (char *) "self",(char *) "spec",(char *) "flags", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail
;
8416 arg2
= wxString_in_helper(obj1
);
8417 if (arg2
== NULL
) SWIG_fail
;
8422 arg3
= (int)(SWIG_As_int(obj2
));
8423 if (SWIG_arg_fail(3)) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8454 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (arg1
)->FindNext();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8486 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8489 wxString
*arg2
= 0 ;
8491 bool temp2
= false ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "location", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8500 if (SWIG_arg_fail(1)) SWIG_fail
;
8502 arg2
= wxString_in_helper(obj1
);
8503 if (arg2
== NULL
) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8534 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8537 wxString
*arg2
= 0 ;
8539 bool temp2
= false ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8543 (char *) "self",(char *) "location", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail
;
8550 arg2
= wxString_in_helper(obj1
);
8551 if (arg2
== NULL
) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8582 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8585 wxString
*arg2
= 0 ;
8587 bool temp2
= false ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8591 (char *) "self",(char *) "location", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8596 if (SWIG_arg_fail(1)) SWIG_fail
;
8598 arg2
= wxString_in_helper(obj1
);
8599 if (arg2
== NULL
) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8630 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8633 wxString
*arg2
= 0 ;
8635 bool temp2
= false ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "self",(char *) "location", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8644 if (SWIG_arg_fail(1)) SWIG_fail
;
8646 arg2
= wxString_in_helper(obj1
);
8647 if (arg2
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8678 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8681 wxString
*arg2
= 0 ;
8683 bool temp2
= false ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8687 (char *) "self",(char *) "location", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8692 if (SWIG_arg_fail(1)) SWIG_fail
;
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8726 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8729 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8731 return Py_BuildValue((char *)"");
8733 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxFileSystem
*result
;
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (wxFileSystem
*)new wxFileSystem();
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= wxPyMake_wxObject(result
, 1);
8757 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8762 (char *) "self", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8767 if (SWIG_arg_fail(1)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8785 wxString
*arg2
= 0 ;
8786 bool arg3
= (bool) false ;
8787 bool temp2
= false ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8792 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8797 if (SWIG_arg_fail(1)) SWIG_fail
;
8799 arg2
= wxString_in_helper(obj1
);
8800 if (arg2
== NULL
) SWIG_fail
;
8805 arg3
= (bool)(SWIG_As_bool(obj2
));
8806 if (SWIG_arg_fail(3)) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8835 PyObject
* obj0
= 0 ;
8837 (char *) "self", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8842 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (arg1
)->GetPath();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8863 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8866 wxString
*arg2
= 0 ;
8868 bool temp2
= false ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8872 (char *) "self",(char *) "location", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8877 if (SWIG_arg_fail(1)) SWIG_fail
;
8879 arg2
= wxString_in_helper(obj1
);
8880 if (arg2
== NULL
) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= wxPyMake_wxObject(result
, 1);
8907 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8910 wxString
*arg2
= 0 ;
8911 int arg3
= (int) 0 ;
8913 bool temp2
= false ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 PyObject
* obj2
= 0 ;
8918 (char *) "self",(char *) "spec",(char *) "flags", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail
;
8925 arg2
= wxString_in_helper(obj1
);
8926 if (arg2
== NULL
) SWIG_fail
;
8931 arg3
= (int)(SWIG_As_int(obj2
));
8932 if (SWIG_arg_fail(3)) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8963 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "self", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (arg1
)->FindNext();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8995 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "handler", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxFileSystem::AddHandler(arg1
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9020 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxFileSystem::CleanUpHandlers();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxString
*arg1
= 0 ;
9045 bool temp1
= false ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "filename", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9053 arg1
= wxString_in_helper(obj0
);
9054 if (arg1
== NULL
) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9085 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxString
*arg1
= 0 ;
9089 bool temp1
= false ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "url", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9097 arg1
= wxString_in_helper(obj0
);
9098 if (arg1
== NULL
) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9129 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9132 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9134 return Py_BuildValue((char *)"");
9136 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxInternetFSHandler
*result
;
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9158 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9161 wxString
*arg2
= 0 ;
9163 bool temp2
= false ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9167 (char *) "self",(char *) "location", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9172 if (SWIG_arg_fail(1)) SWIG_fail
;
9174 arg2
= wxString_in_helper(obj1
);
9175 if (arg2
== NULL
) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9202 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9205 wxFileSystem
*arg2
= 0 ;
9206 wxString
*arg3
= 0 ;
9208 bool temp3
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "self",(char *) "fs",(char *) "location", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(2)) SWIG_fail
;
9223 SWIG_null_ref("wxFileSystem");
9225 if (SWIG_arg_fail(2)) SWIG_fail
;
9228 arg3
= wxString_in_helper(obj2
);
9229 if (arg3
== NULL
) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= wxPyMake_wxObject(result
, 1);
9256 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9259 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9261 return Py_BuildValue((char *)"");
9263 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxZipFSHandler
*result
;
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9285 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9288 wxString
*arg2
= 0 ;
9290 bool temp2
= false ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9294 (char *) "self",(char *) "location", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail
;
9301 arg2
= wxString_in_helper(obj1
);
9302 if (arg2
== NULL
) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9329 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9332 wxFileSystem
*arg2
= 0 ;
9333 wxString
*arg3
= 0 ;
9335 bool temp3
= false ;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9338 PyObject
* obj2
= 0 ;
9340 (char *) "self",(char *) "fs",(char *) "location", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9348 if (SWIG_arg_fail(2)) SWIG_fail
;
9350 SWIG_null_ref("wxFileSystem");
9352 if (SWIG_arg_fail(2)) SWIG_fail
;
9355 arg3
= wxString_in_helper(obj2
);
9356 if (arg3
== NULL
) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= wxPyMake_wxObject(result
, 1);
9383 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9386 wxString
*arg2
= 0 ;
9387 int arg3
= (int) 0 ;
9389 bool temp2
= false ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9394 (char *) "self",(char *) "spec",(char *) "flags", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail
;
9401 arg2
= wxString_in_helper(obj1
);
9402 if (arg2
== NULL
) SWIG_fail
;
9407 arg3
= (int)(SWIG_As_int(obj2
));
9408 if (SWIG_arg_fail(3)) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9439 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (arg1
)->FindNext();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9471 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9474 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9476 return Py_BuildValue((char *)"");
9478 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxString
*arg1
= 0 ;
9483 bool temp1
= false ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9486 PyObject
* obj2
= 0 ;
9488 (char *) "filename",(char *) "image",(char *) "type", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9493 arg1
= wxString_in_helper(obj0
);
9494 if (arg1
== NULL
) SWIG_fail
;
9498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(2)) SWIG_fail
;
9501 SWIG_null_ref("wxImage");
9503 if (SWIG_arg_fail(2)) SWIG_fail
;
9506 arg3
= (long)(SWIG_As_long(obj2
));
9507 if (SWIG_arg_fail(3)) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 Py_INCREF(Py_None
); resultobj
= Py_None
;
9531 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxString
*arg1
= 0 ;
9534 wxBitmap
*arg2
= 0 ;
9536 bool temp1
= false ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 PyObject
* obj2
= 0 ;
9541 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9546 arg1
= wxString_in_helper(obj0
);
9547 if (arg1
== NULL
) SWIG_fail
;
9551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9552 if (SWIG_arg_fail(2)) SWIG_fail
;
9554 SWIG_null_ref("wxBitmap");
9556 if (SWIG_arg_fail(2)) SWIG_fail
;
9559 arg3
= (long)(SWIG_As_long(obj2
));
9560 if (SWIG_arg_fail(3)) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxString
*arg1
= 0 ;
9587 PyObject
*arg2
= (PyObject
*) 0 ;
9588 bool temp1
= false ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9592 (char *) "filename",(char *) "data", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9597 arg1
= wxString_in_helper(obj0
);
9598 if (arg1
== NULL
) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxMemoryFSHandler
*result
;
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9646 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxString
*arg1
= 0 ;
9649 bool temp1
= false ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "filename", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9657 arg1
= wxString_in_helper(obj0
);
9658 if (arg1
== NULL
) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9686 wxString
*arg2
= 0 ;
9688 bool temp2
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9692 (char *) "self",(char *) "location", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9697 if (SWIG_arg_fail(1)) SWIG_fail
;
9699 arg2
= wxString_in_helper(obj1
);
9700 if (arg2
== NULL
) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9727 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9730 wxFileSystem
*arg2
= 0 ;
9731 wxString
*arg3
= 0 ;
9733 bool temp3
= false ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 PyObject
* obj2
= 0 ;
9738 (char *) "self",(char *) "fs",(char *) "location", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail
;
9745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9746 if (SWIG_arg_fail(2)) SWIG_fail
;
9748 SWIG_null_ref("wxFileSystem");
9750 if (SWIG_arg_fail(2)) SWIG_fail
;
9753 arg3
= wxString_in_helper(obj2
);
9754 if (arg3
== NULL
) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= wxPyMake_wxObject(result
, 1);
9781 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9784 wxString
*arg2
= 0 ;
9785 int arg3
= (int) 0 ;
9787 bool temp2
= false ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9792 (char *) "self",(char *) "spec",(char *) "flags", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail
;
9799 arg2
= wxString_in_helper(obj1
);
9800 if (arg2
== NULL
) SWIG_fail
;
9805 arg3
= (int)(SWIG_As_int(obj2
));
9806 if (SWIG_arg_fail(3)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9837 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9848 if (SWIG_arg_fail(1)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (arg1
)->FindNext();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9869 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9872 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9874 return Py_BuildValue((char *)"");
9876 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9887 if (SWIG_arg_fail(1)) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (arg1
)->GetName();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9908 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (arg1
)->GetExtension();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9940 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9951 if (SWIG_arg_fail(1)) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (long)(arg1
)->GetType();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_From_long((long)(result
));
9968 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "self", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9979 if (SWIG_arg_fail(1)) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (arg1
)->GetMimeType();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10000 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10003 wxString
*arg2
= 0 ;
10005 bool temp2
= false ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "name", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10014 if (SWIG_arg_fail(1)) SWIG_fail
;
10016 arg2
= wxString_in_helper(obj1
);
10017 if (arg2
== NULL
) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10044 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10047 wxString
*arg2
= 0 ;
10048 bool temp2
= false ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self",(char *) "name", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10057 if (SWIG_arg_fail(1)) SWIG_fail
;
10059 arg2
= wxString_in_helper(obj1
);
10060 if (arg2
== NULL
) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 (arg1
)->SetName((wxString
const &)*arg2
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 Py_INCREF(Py_None
); resultobj
= Py_None
;
10085 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10088 wxString
*arg2
= 0 ;
10089 bool temp2
= false ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self",(char *) "extension", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10098 if (SWIG_arg_fail(1)) SWIG_fail
;
10100 arg2
= wxString_in_helper(obj1
);
10101 if (arg2
== NULL
) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->SetExtension((wxString
const &)*arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 Py_INCREF(Py_None
); resultobj
= Py_None
;
10126 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "type", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail
;
10140 arg2
= (long)(SWIG_As_long(obj1
));
10141 if (SWIG_arg_fail(2)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetType(arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10160 wxString
*arg2
= 0 ;
10161 bool temp2
= false ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "mimetype", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10170 if (SWIG_arg_fail(1)) SWIG_fail
;
10172 arg2
= wxString_in_helper(obj1
);
10173 if (arg2
== NULL
) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 Py_INCREF(Py_None
); resultobj
= Py_None
;
10198 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10201 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10203 return Py_BuildValue((char *)"");
10205 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxImageHistogram
*result
;
10208 char *kwnames
[] = {
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxImageHistogram
*)new wxImageHistogram();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10227 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 unsigned char arg1
;
10230 unsigned char arg2
;
10231 unsigned char arg3
;
10232 unsigned long result
;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "r",(char *) "g",(char *) "b", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10242 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10243 if (SWIG_arg_fail(1)) SWIG_fail
;
10246 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10247 if (SWIG_arg_fail(2)) SWIG_fail
;
10250 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10251 if (SWIG_arg_fail(3)) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10269 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10272 unsigned char *arg2
= (unsigned char *) 0 ;
10273 unsigned char *arg3
= (unsigned char *) 0 ;
10274 unsigned char *arg4
= (unsigned char *) 0 ;
10275 unsigned char arg5
= (unsigned char) 1 ;
10276 unsigned char arg6
= (unsigned char) 0 ;
10277 unsigned char arg7
= (unsigned char) 0 ;
10279 unsigned char temp2
;
10281 unsigned char temp3
;
10283 unsigned char temp4
;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 PyObject
* obj2
= 0 ;
10288 PyObject
* obj3
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10293 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10295 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10301 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10302 if (SWIG_arg_fail(5)) SWIG_fail
;
10307 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10308 if (SWIG_arg_fail(6)) SWIG_fail
;
10313 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10314 if (SWIG_arg_fail(7)) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10328 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10329 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10330 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10331 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10332 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10339 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10342 unsigned long arg2
;
10343 unsigned long result
;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "key", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10352 if (SWIG_arg_fail(1)) SWIG_fail
;
10354 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10355 if (SWIG_arg_fail(2)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10373 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10376 unsigned char arg2
;
10377 unsigned char arg3
;
10378 unsigned char arg4
;
10379 unsigned long result
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 PyObject
* obj3
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10390 if (SWIG_arg_fail(1)) SWIG_fail
;
10392 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10393 if (SWIG_arg_fail(2)) SWIG_fail
;
10396 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10397 if (SWIG_arg_fail(3)) SWIG_fail
;
10400 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10401 if (SWIG_arg_fail(4)) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10419 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10422 wxColour
*arg2
= 0 ;
10423 unsigned long result
;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "colour", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10433 if (SWIG_arg_fail(1)) SWIG_fail
;
10436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10454 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10457 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10459 return Py_BuildValue((char *)"");
10461 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxString
*arg1
= 0 ;
10464 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10465 int arg3
= (int) -1 ;
10467 bool temp1
= false ;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 PyObject
* obj2
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "name",(char *) "type",(char *) "index", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10477 arg1
= wxString_in_helper(obj0
);
10478 if (arg1
== NULL
) SWIG_fail
;
10483 arg2
= (long)(SWIG_As_long(obj1
));
10484 if (SWIG_arg_fail(2)) SWIG_fail
;
10489 arg3
= (int)(SWIG_As_int(obj2
));
10490 if (SWIG_arg_fail(3)) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10515 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxImage
*arg1
= (wxImage
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10525 if (SWIG_arg_fail(1)) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 Py_INCREF(Py_None
); resultobj
= Py_None
;
10540 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxString
*arg1
= 0 ;
10543 wxString
*arg2
= 0 ;
10544 int arg3
= (int) -1 ;
10546 bool temp1
= false ;
10547 bool temp2
= false ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 PyObject
* obj2
= 0 ;
10551 char *kwnames
[] = {
10552 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10557 arg1
= wxString_in_helper(obj0
);
10558 if (arg1
== NULL
) SWIG_fail
;
10562 arg2
= wxString_in_helper(obj1
);
10563 if (arg2
== NULL
) SWIG_fail
;
10568 arg3
= (int)(SWIG_As_int(obj2
));
10569 if (SWIG_arg_fail(3)) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10602 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxInputStream
*arg1
= 0 ;
10605 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10606 int arg3
= (int) -1 ;
10608 wxPyInputStream
*temp1
;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 PyObject
* obj2
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "stream",(char *) "type",(char *) "index", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10619 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10620 arg1
= temp1
->m_wxis
;
10623 PyErr_Clear(); // clear the failure of the wxPyConvert above
10624 arg1
= wxPyCBInputStream_create(obj0
, false);
10625 if (arg1
== NULL
) {
10626 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10634 arg2
= (long)(SWIG_As_long(obj1
));
10635 if (SWIG_arg_fail(2)) SWIG_fail
;
10640 arg3
= (int)(SWIG_As_int(obj2
));
10641 if (SWIG_arg_fail(3)) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10653 if (created1
) delete arg1
;
10658 if (created1
) delete arg1
;
10664 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxInputStream
*arg1
= 0 ;
10667 wxString
*arg2
= 0 ;
10668 int arg3
= (int) -1 ;
10670 wxPyInputStream
*temp1
;
10672 bool temp2
= false ;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10682 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10683 arg1
= temp1
->m_wxis
;
10686 PyErr_Clear(); // clear the failure of the wxPyConvert above
10687 arg1
= wxPyCBInputStream_create(obj0
, false);
10688 if (arg1
== NULL
) {
10689 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10696 arg2
= wxString_in_helper(obj1
);
10697 if (arg2
== NULL
) SWIG_fail
;
10702 arg3
= (int)(SWIG_As_int(obj2
));
10703 if (SWIG_arg_fail(3)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10715 if (created1
) delete arg1
;
10724 if (created1
) delete arg1
;
10734 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
;
10736 int arg1
= (int) 0 ;
10737 int arg2
= (int) 0 ;
10738 bool arg3
= (bool) true ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 PyObject
* obj2
= 0 ;
10743 char *kwnames
[] = {
10744 (char *) "width",(char *) "height",(char *) "clear", NULL
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10750 arg1
= (int)(SWIG_As_int(obj0
));
10751 if (SWIG_arg_fail(1)) SWIG_fail
;
10756 arg2
= (int)(SWIG_As_int(obj1
));
10757 if (SWIG_arg_fail(2)) SWIG_fail
;
10762 arg3
= (bool)(SWIG_As_bool(obj2
));
10763 if (SWIG_arg_fail(3)) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10780 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxBitmap
*arg1
= 0 ;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "bitmap", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 if (arg1
== NULL
) {
10794 SWIG_null_ref("wxBitmap");
10796 if (SWIG_arg_fail(1)) SWIG_fail
;
10799 if (!wxPyCheckForApp()) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10813 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 PyObject
* obj2
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "width",(char *) "height",(char *) "data", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10829 arg1
= (int)(SWIG_As_int(obj0
));
10830 if (SWIG_arg_fail(1)) SWIG_fail
;
10833 arg2
= (int)(SWIG_As_int(obj1
));
10834 if (SWIG_arg_fail(2)) SWIG_fail
;
10837 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10853 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 PyObject
* obj2
= 0 ;
10865 PyObject
* obj3
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10872 arg1
= (int)(SWIG_As_int(obj0
));
10873 if (SWIG_arg_fail(1)) SWIG_fail
;
10876 arg2
= (int)(SWIG_As_int(obj1
));
10877 if (SWIG_arg_fail(2)) SWIG_fail
;
10880 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10883 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10899 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxImage
*arg1
= (wxImage
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self",(char *) "width",(char *) "height", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail
;
10915 arg2
= (int)(SWIG_As_int(obj1
));
10916 if (SWIG_arg_fail(2)) SWIG_fail
;
10919 arg3
= (int)(SWIG_As_int(obj2
));
10920 if (SWIG_arg_fail(3)) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 (arg1
)->Create(arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 Py_INCREF(Py_None
); resultobj
= Py_None
;
10936 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxImage
*arg1
= (wxImage
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10946 if (SWIG_arg_fail(1)) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxImage
*arg1
= (wxImage
*) 0 ;
10966 SwigValueWrapper
<wxImage
> result
;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 PyObject
* obj2
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self",(char *) "width",(char *) "height", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10976 if (SWIG_arg_fail(1)) SWIG_fail
;
10978 arg2
= (int)(SWIG_As_int(obj1
));
10979 if (SWIG_arg_fail(2)) SWIG_fail
;
10982 arg3
= (int)(SWIG_As_int(obj2
));
10983 if (SWIG_arg_fail(3)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (arg1
)->Scale(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 wxImage
* resultptr
;
10994 resultptr
= new wxImage((wxImage
&)(result
));
10995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11003 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxImage
*arg1
= (wxImage
*) 0 ;
11008 SwigValueWrapper
<wxImage
> result
;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11018 if (SWIG_arg_fail(1)) SWIG_fail
;
11020 arg2
= (int)(SWIG_As_int(obj1
));
11021 if (SWIG_arg_fail(2)) SWIG_fail
;
11024 arg3
= (int)(SWIG_As_int(obj2
));
11025 if (SWIG_arg_fail(3)) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 wxImage
* resultptr
;
11036 resultptr
= new wxImage((wxImage
&)(result
));
11037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11045 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxImage
*arg1
= (wxImage
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self",(char *) "width",(char *) "height", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail
;
11062 arg2
= (int)(SWIG_As_int(obj1
));
11063 if (SWIG_arg_fail(2)) SWIG_fail
;
11066 arg3
= (int)(SWIG_As_int(obj2
));
11067 if (SWIG_arg_fail(3)) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11073 result
= (wxImage
*) &_result_ref
;
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11086 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxImage
*arg1
= (wxImage
*) 0 ;
11090 wxPoint
*arg3
= 0 ;
11091 int arg4
= (int) -1 ;
11092 int arg5
= (int) -1 ;
11093 int arg6
= (int) -1 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 PyObject
* obj3
= 0 ;
11101 PyObject
* obj4
= 0 ;
11102 PyObject
* obj5
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11109 if (SWIG_arg_fail(1)) SWIG_fail
;
11112 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11120 arg4
= (int)(SWIG_As_int(obj3
));
11121 if (SWIG_arg_fail(4)) SWIG_fail
;
11126 arg5
= (int)(SWIG_As_int(obj4
));
11127 if (SWIG_arg_fail(5)) SWIG_fail
;
11132 arg6
= (int)(SWIG_As_int(obj5
));
11133 if (SWIG_arg_fail(6)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11140 result
= (wxImage
*) &_result_ref
;
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11153 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxImage
*arg1
= (wxImage
*) 0 ;
11158 unsigned char arg4
;
11159 unsigned char arg5
;
11160 unsigned char arg6
;
11161 PyObject
* obj0
= 0 ;
11162 PyObject
* obj1
= 0 ;
11163 PyObject
* obj2
= 0 ;
11164 PyObject
* obj3
= 0 ;
11165 PyObject
* obj4
= 0 ;
11166 PyObject
* obj5
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail
;
11175 arg2
= (int)(SWIG_As_int(obj1
));
11176 if (SWIG_arg_fail(2)) SWIG_fail
;
11179 arg3
= (int)(SWIG_As_int(obj2
));
11180 if (SWIG_arg_fail(3)) SWIG_fail
;
11183 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11184 if (SWIG_arg_fail(4)) SWIG_fail
;
11187 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11188 if (SWIG_arg_fail(5)) SWIG_fail
;
11191 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11192 if (SWIG_arg_fail(6)) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxImage
*arg1
= (wxImage
*) 0 ;
11212 unsigned char arg3
;
11213 unsigned char arg4
;
11214 unsigned char arg5
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 PyObject
* obj2
= 0 ;
11219 PyObject
* obj3
= 0 ;
11220 PyObject
* obj4
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11233 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11234 if (SWIG_arg_fail(3)) SWIG_fail
;
11237 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11238 if (SWIG_arg_fail(4)) SWIG_fail
;
11241 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11242 if (SWIG_arg_fail(5)) SWIG_fail
;
11245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11246 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 Py_INCREF(Py_None
); resultobj
= Py_None
;
11258 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxImage
*arg1
= (wxImage
*) 0 ;
11263 unsigned char result
;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "x",(char *) "y", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11273 if (SWIG_arg_fail(1)) SWIG_fail
;
11275 arg2
= (int)(SWIG_As_int(obj1
));
11276 if (SWIG_arg_fail(2)) SWIG_fail
;
11279 arg3
= (int)(SWIG_As_int(obj2
));
11280 if (SWIG_arg_fail(3)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11298 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxImage
*arg1
= (wxImage
*) 0 ;
11303 unsigned char result
;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 PyObject
* obj2
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "x",(char *) "y", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 arg2
= (int)(SWIG_As_int(obj1
));
11316 if (SWIG_arg_fail(2)) SWIG_fail
;
11319 arg3
= (int)(SWIG_As_int(obj2
));
11320 if (SWIG_arg_fail(3)) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11338 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxImage
*arg1
= (wxImage
*) 0 ;
11343 unsigned char result
;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self",(char *) "x",(char *) "y", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11353 if (SWIG_arg_fail(1)) SWIG_fail
;
11355 arg2
= (int)(SWIG_As_int(obj1
));
11356 if (SWIG_arg_fail(2)) SWIG_fail
;
11359 arg3
= (int)(SWIG_As_int(obj2
));
11360 if (SWIG_arg_fail(3)) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11378 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxImage
*arg1
= (wxImage
*) 0 ;
11383 unsigned char arg4
;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11386 PyObject
* obj2
= 0 ;
11387 PyObject
* obj3
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail
;
11396 arg2
= (int)(SWIG_As_int(obj1
));
11397 if (SWIG_arg_fail(2)) SWIG_fail
;
11400 arg3
= (int)(SWIG_As_int(obj2
));
11401 if (SWIG_arg_fail(3)) SWIG_fail
;
11404 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11405 if (SWIG_arg_fail(4)) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxImage
*arg1
= (wxImage
*) 0 ;
11426 unsigned char result
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self",(char *) "x",(char *) "y", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11436 if (SWIG_arg_fail(1)) SWIG_fail
;
11438 arg2
= (int)(SWIG_As_int(obj1
));
11439 if (SWIG_arg_fail(2)) SWIG_fail
;
11442 arg3
= (int)(SWIG_As_int(obj2
));
11443 if (SWIG_arg_fail(3)) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11461 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxImage
*arg1
= (wxImage
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->HasAlpha();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11489 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxImage
*arg1
= (wxImage
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11499 if (SWIG_arg_fail(1)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->InitAlpha();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxImage
*arg1
= (wxImage
*) 0 ;
11519 unsigned char arg4
= (unsigned char) wxIMAGE_ALPHA_THRESHOLD
;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 PyObject
* obj2
= 0 ;
11524 PyObject
* obj3
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11531 if (SWIG_arg_fail(1)) SWIG_fail
;
11533 arg2
= (int)(SWIG_As_int(obj1
));
11534 if (SWIG_arg_fail(2)) SWIG_fail
;
11537 arg3
= (int)(SWIG_As_int(obj2
));
11538 if (SWIG_arg_fail(3)) SWIG_fail
;
11542 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11543 if (SWIG_arg_fail(4)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11562 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxImage
*arg1
= (wxImage
*) 0 ;
11565 byte
*arg2
= (byte
*) 0 ;
11566 byte
*arg3
= (byte
*) 0 ;
11567 byte
*arg4
= (byte
*) 0 ;
11568 byte arg5
= (byte
) 0 ;
11569 byte arg6
= (byte
) 0 ;
11570 byte arg7
= (byte
) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 PyObject
* obj3
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11586 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11587 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11588 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail
;
11594 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11595 if (SWIG_arg_fail(5)) SWIG_fail
;
11600 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11601 if (SWIG_arg_fail(6)) SWIG_fail
;
11606 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11607 if (SWIG_arg_fail(7)) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11621 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11623 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11624 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11625 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11632 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxImage
*arg1
= (wxImage
*) 0 ;
11635 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "threshold", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail
;
11648 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11649 if (SWIG_arg_fail(2)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11668 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxImage
*arg1
= (wxImage
*) 0 ;
11671 unsigned char arg2
;
11672 unsigned char arg3
;
11673 unsigned char arg4
;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 PyObject
* obj3
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11685 if (SWIG_arg_fail(1)) SWIG_fail
;
11687 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11688 if (SWIG_arg_fail(2)) SWIG_fail
;
11691 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11692 if (SWIG_arg_fail(3)) SWIG_fail
;
11695 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11696 if (SWIG_arg_fail(4)) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11714 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxImage
*arg1
= (wxImage
*) 0 ;
11717 wxImage
*arg2
= 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 PyObject
* obj2
= 0 ;
11725 PyObject
* obj3
= 0 ;
11726 PyObject
* obj4
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11733 if (SWIG_arg_fail(1)) SWIG_fail
;
11735 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(2)) SWIG_fail
;
11737 if (arg2
== NULL
) {
11738 SWIG_null_ref("wxImage");
11740 if (SWIG_arg_fail(2)) SWIG_fail
;
11743 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11744 if (SWIG_arg_fail(3)) SWIG_fail
;
11747 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11748 if (SWIG_arg_fail(4)) SWIG_fail
;
11751 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11752 if (SWIG_arg_fail(5)) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxString
*arg1
= 0 ;
11774 bool temp1
= false ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "name", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11782 arg1
= wxString_in_helper(obj0
);
11783 if (arg1
== NULL
) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11810 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxString
*arg1
= 0 ;
11813 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11815 bool temp1
= false ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "name",(char *) "type", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11824 arg1
= wxString_in_helper(obj0
);
11825 if (arg1
== NULL
) SWIG_fail
;
11830 arg2
= (long)(SWIG_As_long(obj1
));
11831 if (SWIG_arg_fail(2)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_From_int((int)(result
));
11858 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxImage
*arg1
= (wxImage
*) 0 ;
11861 wxString
*arg2
= 0 ;
11862 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11863 int arg4
= (int) -1 ;
11865 bool temp2
= false ;
11866 PyObject
* obj0
= 0 ;
11867 PyObject
* obj1
= 0 ;
11868 PyObject
* obj2
= 0 ;
11869 PyObject
* obj3
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail
;
11878 arg2
= wxString_in_helper(obj1
);
11879 if (arg2
== NULL
) SWIG_fail
;
11884 arg3
= (long)(SWIG_As_long(obj2
));
11885 if (SWIG_arg_fail(3)) SWIG_fail
;
11890 arg4
= (int)(SWIG_As_int(obj3
));
11891 if (SWIG_arg_fail(4)) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11918 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxImage
*arg1
= (wxImage
*) 0 ;
11921 wxString
*arg2
= 0 ;
11922 wxString
*arg3
= 0 ;
11923 int arg4
= (int) -1 ;
11925 bool temp2
= false ;
11926 bool temp3
= false ;
11927 PyObject
* obj0
= 0 ;
11928 PyObject
* obj1
= 0 ;
11929 PyObject
* obj2
= 0 ;
11930 PyObject
* obj3
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail
;
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11944 arg3
= wxString_in_helper(obj2
);
11945 if (arg3
== NULL
) SWIG_fail
;
11950 arg4
= (int)(SWIG_As_int(obj3
));
11951 if (SWIG_arg_fail(4)) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxImage
*arg1
= (wxImage
*) 0 ;
11989 wxString
*arg2
= 0 ;
11992 bool temp2
= false ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 PyObject
* obj2
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "name",(char *) "type", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12009 arg3
= (int)(SWIG_As_int(obj2
));
12010 if (SWIG_arg_fail(3)) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12036 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxImage
*arg1
= (wxImage
*) 0 ;
12039 wxString
*arg2
= 0 ;
12040 wxString
*arg3
= 0 ;
12042 bool temp2
= false ;
12043 bool temp3
= false ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 PyObject
* obj2
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12053 if (SWIG_arg_fail(1)) SWIG_fail
;
12055 arg2
= wxString_in_helper(obj1
);
12056 if (arg2
== NULL
) SWIG_fail
;
12060 arg3
= wxString_in_helper(obj2
);
12061 if (arg3
== NULL
) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxInputStream
*arg1
= 0 ;
12100 wxPyInputStream
*temp1
;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "stream", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12109 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12110 arg1
= temp1
->m_wxis
;
12113 PyErr_Clear(); // clear the failure of the wxPyConvert above
12114 arg1
= wxPyCBInputStream_create(obj0
, false);
12115 if (arg1
== NULL
) {
12116 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (bool)wxImage::CanRead(*arg1
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12133 if (created1
) delete arg1
;
12138 if (created1
) delete arg1
;
12144 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxImage
*arg1
= (wxImage
*) 0 ;
12147 wxInputStream
*arg2
= 0 ;
12148 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12149 int arg4
= (int) -1 ;
12151 wxPyInputStream
*temp2
;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 PyObject
* obj2
= 0 ;
12156 PyObject
* obj3
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail
;
12165 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12166 arg2
= temp2
->m_wxis
;
12169 PyErr_Clear(); // clear the failure of the wxPyConvert above
12170 arg2
= wxPyCBInputStream_create(obj1
, false);
12171 if (arg2
== NULL
) {
12172 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12180 arg3
= (long)(SWIG_As_long(obj2
));
12181 if (SWIG_arg_fail(3)) SWIG_fail
;
12186 arg4
= (int)(SWIG_As_int(obj3
));
12187 if (SWIG_arg_fail(4)) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12201 if (created2
) delete arg2
;
12206 if (created2
) delete arg2
;
12212 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxImage
*arg1
= (wxImage
*) 0 ;
12215 wxInputStream
*arg2
= 0 ;
12216 wxString
*arg3
= 0 ;
12217 int arg4
= (int) -1 ;
12219 wxPyInputStream
*temp2
;
12221 bool temp3
= false ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 PyObject
* obj2
= 0 ;
12225 PyObject
* obj3
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12234 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12235 arg2
= temp2
->m_wxis
;
12238 PyErr_Clear(); // clear the failure of the wxPyConvert above
12239 arg2
= wxPyCBInputStream_create(obj1
, false);
12240 if (arg2
== NULL
) {
12241 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12248 arg3
= wxString_in_helper(obj2
);
12249 if (arg3
== NULL
) SWIG_fail
;
12254 arg4
= (int)(SWIG_As_int(obj3
));
12255 if (SWIG_arg_fail(4)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 if (created2
) delete arg2
;
12278 if (created2
) delete arg2
;
12288 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxImage
*arg1
= (wxImage
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)(arg1
)->Ok();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxImage
*arg1
= (wxImage
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (int)(arg1
)->GetWidth();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= SWIG_From_int((int)(result
));
12344 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxImage
*arg1
= (wxImage
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12355 if (SWIG_arg_fail(1)) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (int)(arg1
)->GetHeight();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_From_int((int)(result
));
12372 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxImage
*arg1
= (wxImage
*) 0 ;
12376 PyObject
* obj0
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= wxImage_GetSize(arg1
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12392 wxSize
* resultptr
;
12393 resultptr
= new wxSize((wxSize
&)(result
));
12394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12402 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxImage
*arg1
= (wxImage
*) 0 ;
12406 SwigValueWrapper
<wxImage
> result
;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "rect", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12416 if (SWIG_arg_fail(1)) SWIG_fail
;
12419 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 wxImage
* resultptr
;
12430 resultptr
= new wxImage((wxImage
&)(result
));
12431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12439 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxImage
*arg1
= (wxImage
*) 0 ;
12443 wxPoint
*arg3
= 0 ;
12444 int arg4
= (int) -1 ;
12445 int arg5
= (int) -1 ;
12446 int arg6
= (int) -1 ;
12447 SwigValueWrapper
<wxImage
> result
;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 PyObject
* obj3
= 0 ;
12454 PyObject
* obj4
= 0 ;
12455 PyObject
* obj5
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12462 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12473 arg4
= (int)(SWIG_As_int(obj3
));
12474 if (SWIG_arg_fail(4)) SWIG_fail
;
12479 arg5
= (int)(SWIG_As_int(obj4
));
12480 if (SWIG_arg_fail(5)) SWIG_fail
;
12485 arg6
= (int)(SWIG_As_int(obj5
));
12486 if (SWIG_arg_fail(6)) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12497 wxImage
* resultptr
;
12498 resultptr
= new wxImage((wxImage
&)(result
));
12499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12507 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxImage
*arg1
= (wxImage
*) 0 ;
12510 SwigValueWrapper
<wxImage
> result
;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (arg1
)->Copy();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12527 wxImage
* resultptr
;
12528 resultptr
= new wxImage((wxImage
&)(result
));
12529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12537 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxImage
*arg1
= (wxImage
*) 0 ;
12540 wxImage
*arg2
= 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 PyObject
* obj2
= 0 ;
12546 PyObject
* obj3
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12553 if (SWIG_arg_fail(1)) SWIG_fail
;
12555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(2)) SWIG_fail
;
12557 if (arg2
== NULL
) {
12558 SWIG_null_ref("wxImage");
12560 if (SWIG_arg_fail(2)) SWIG_fail
;
12563 arg3
= (int)(SWIG_As_int(obj2
));
12564 if (SWIG_arg_fail(3)) SWIG_fail
;
12567 arg4
= (int)(SWIG_As_int(obj3
));
12568 if (SWIG_arg_fail(4)) SWIG_fail
;
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 Py_INCREF(Py_None
); resultobj
= Py_None
;
12584 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxImage
*arg1
= (wxImage
*) 0 ;
12588 PyObject
* obj0
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12595 if (SWIG_arg_fail(1)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (PyObject
*)wxImage_GetData(arg1
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= result
;
12610 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxImage
*arg1
= (wxImage
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "data", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail
;
12625 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 wxImage_SetData(arg1
,arg2
,arg3
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxImage
*arg1
= (wxImage
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 char *kwnames
[] = {
12647 (char *) "self", NULL
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12652 if (SWIG_arg_fail(1)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
;
12667 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxImage
*arg1
= (wxImage
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "data", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxImage
*arg1
= (wxImage
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
;
12724 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxImage
*arg1
= (wxImage
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self",(char *) "alpha", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12737 if (SWIG_arg_fail(1)) SWIG_fail
;
12739 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxImage
*arg1
= (wxImage
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12766 if (SWIG_arg_fail(1)) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
;
12781 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxImage
*arg1
= (wxImage
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "alpha", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12794 if (SWIG_arg_fail(1)) SWIG_fail
;
12796 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 Py_INCREF(Py_None
); resultobj
= Py_None
;
12812 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxImage
*arg1
= (wxImage
*) 0 ;
12815 unsigned char arg2
;
12816 unsigned char arg3
;
12817 unsigned char arg4
;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail
;
12830 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12831 if (SWIG_arg_fail(2)) SWIG_fail
;
12834 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12835 if (SWIG_arg_fail(3)) SWIG_fail
;
12838 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12839 if (SWIG_arg_fail(4)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxImage
*arg1
= (wxImage
*) 0 ;
12858 unsigned char *arg2
= (unsigned char *) 0 ;
12859 unsigned char *arg3
= (unsigned char *) 0 ;
12860 unsigned char *arg4
= (unsigned char *) 0 ;
12861 unsigned char temp2
;
12863 unsigned char temp3
;
12865 unsigned char temp4
;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12873 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12874 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12887 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12888 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12889 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12890 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12891 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12898 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxImage
*arg1
= (wxImage
*) 0 ;
12901 unsigned char result
;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12909 if (SWIG_arg_fail(1)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (unsigned char)(arg1
)->GetMaskRed();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12926 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxImage
*arg1
= (wxImage
*) 0 ;
12929 unsigned char result
;
12930 PyObject
* obj0
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12937 if (SWIG_arg_fail(1)) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (unsigned char)(arg1
)->GetMaskGreen();
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12954 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxImage
*arg1
= (wxImage
*) 0 ;
12957 unsigned char result
;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (unsigned char)(arg1
)->GetMaskBlue();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12982 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxImage
*arg1
= (wxImage
*) 0 ;
12985 bool arg2
= (bool) true ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self",(char *) "mask", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12997 arg2
= (bool)(SWIG_As_bool(obj1
));
12998 if (SWIG_arg_fail(2)) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 (arg1
)->SetMask(arg2
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 Py_INCREF(Py_None
); resultobj
= Py_None
;
13015 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxImage
*arg1
= (wxImage
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)(arg1
)->HasMask();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxImage
*arg1
= (wxImage
*) 0 ;
13047 wxPoint
*arg3
= 0 ;
13048 bool arg4
= (bool) true ;
13049 wxPoint
*arg5
= (wxPoint
*) NULL
;
13050 SwigValueWrapper
<wxImage
> result
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 PyObject
* obj3
= 0 ;
13056 PyObject
* obj4
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13065 arg2
= (double)(SWIG_As_double(obj1
));
13066 if (SWIG_arg_fail(2)) SWIG_fail
;
13070 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13074 arg4
= (bool)(SWIG_As_bool(obj3
));
13075 if (SWIG_arg_fail(4)) SWIG_fail
;
13079 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13080 if (SWIG_arg_fail(5)) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13090 wxImage
* resultptr
;
13091 resultptr
= new wxImage((wxImage
&)(result
));
13092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13100 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxImage
*arg1
= (wxImage
*) 0 ;
13103 bool arg2
= (bool) true ;
13104 SwigValueWrapper
<wxImage
> result
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "clockwise", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail
;
13116 arg2
= (bool)(SWIG_As_bool(obj1
));
13117 if (SWIG_arg_fail(2)) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (arg1
)->Rotate90(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 wxImage
* resultptr
;
13129 resultptr
= new wxImage((wxImage
&)(result
));
13130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13138 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxImage
*arg1
= (wxImage
*) 0 ;
13141 bool arg2
= (bool) true ;
13142 SwigValueWrapper
<wxImage
> result
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "horizontally", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 arg2
= (bool)(SWIG_As_bool(obj1
));
13155 if (SWIG_arg_fail(2)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (arg1
)->Mirror(arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 wxImage
* resultptr
;
13167 resultptr
= new wxImage((wxImage
&)(result
));
13168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13176 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxImage
*arg1
= (wxImage
*) 0 ;
13179 unsigned char arg2
;
13180 unsigned char arg3
;
13181 unsigned char arg4
;
13182 unsigned char arg5
;
13183 unsigned char arg6
;
13184 unsigned char arg7
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 PyObject
* obj2
= 0 ;
13188 PyObject
* obj3
= 0 ;
13189 PyObject
* obj4
= 0 ;
13190 PyObject
* obj5
= 0 ;
13191 PyObject
* obj6
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail
;
13200 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13201 if (SWIG_arg_fail(2)) SWIG_fail
;
13204 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13205 if (SWIG_arg_fail(3)) SWIG_fail
;
13208 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13209 if (SWIG_arg_fail(4)) SWIG_fail
;
13212 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13213 if (SWIG_arg_fail(5)) SWIG_fail
;
13216 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13217 if (SWIG_arg_fail(6)) SWIG_fail
;
13220 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13221 if (SWIG_arg_fail(7)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 Py_INCREF(Py_None
); resultobj
= Py_None
;
13237 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxImage
*arg1
= (wxImage
*) 0 ;
13240 unsigned char arg2
;
13241 unsigned char arg3
;
13242 unsigned char arg4
;
13243 SwigValueWrapper
<wxImage
> result
;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 PyObject
* obj3
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13254 if (SWIG_arg_fail(1)) SWIG_fail
;
13256 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13257 if (SWIG_arg_fail(2)) SWIG_fail
;
13260 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13261 if (SWIG_arg_fail(3)) SWIG_fail
;
13264 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13265 if (SWIG_arg_fail(4)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 wxImage
* resultptr
;
13276 resultptr
= new wxImage((wxImage
&)(result
));
13277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13285 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxImage
*arg1
= (wxImage
*) 0 ;
13288 wxString
*arg2
= 0 ;
13289 wxString
*arg3
= 0 ;
13290 bool temp2
= false ;
13291 bool temp3
= false ;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 PyObject
* obj2
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "name",(char *) "value", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail
;
13303 arg2
= wxString_in_helper(obj1
);
13304 if (arg2
== NULL
) SWIG_fail
;
13308 arg3
= wxString_in_helper(obj2
);
13309 if (arg3
== NULL
) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxImage
*arg1
= (wxImage
*) 0 ;
13345 wxString
*arg2
= 0 ;
13347 bool temp2
= false ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 PyObject
* obj2
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "name",(char *) "value", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13357 if (SWIG_arg_fail(1)) SWIG_fail
;
13359 arg2
= wxString_in_helper(obj1
);
13360 if (arg2
== NULL
) SWIG_fail
;
13364 arg3
= (int)(SWIG_As_int(obj2
));
13365 if (SWIG_arg_fail(3)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13389 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxImage
*arg1
= (wxImage
*) 0 ;
13392 wxString
*arg2
= 0 ;
13394 bool temp2
= false ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self",(char *) "name", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13403 if (SWIG_arg_fail(1)) SWIG_fail
;
13405 arg2
= wxString_in_helper(obj1
);
13406 if (arg2
== NULL
) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13437 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxImage
*arg1
= (wxImage
*) 0 ;
13440 wxString
*arg2
= 0 ;
13442 bool temp2
= false ;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "name", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13451 if (SWIG_arg_fail(1)) SWIG_fail
;
13453 arg2
= wxString_in_helper(obj1
);
13454 if (arg2
== NULL
) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_From_int((int)(result
));
13481 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxImage
*arg1
= (wxImage
*) 0 ;
13484 wxString
*arg2
= 0 ;
13486 bool temp2
= false ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "name", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13495 if (SWIG_arg_fail(1)) SWIG_fail
;
13497 arg2
= wxString_in_helper(obj1
);
13498 if (arg2
== NULL
) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxImage
*arg1
= (wxImage
*) 0 ;
13528 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13529 unsigned long result
;
13530 PyObject
* obj0
= 0 ;
13531 PyObject
* obj1
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self",(char *) "stopafter", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13538 if (SWIG_arg_fail(1)) SWIG_fail
;
13541 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13542 if (SWIG_arg_fail(2)) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13561 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
;
13563 wxImage
*arg1
= (wxImage
*) 0 ;
13564 wxImageHistogram
*arg2
= 0 ;
13565 unsigned long result
;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self",(char *) "h", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13574 if (SWIG_arg_fail(1)) SWIG_fail
;
13576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13577 if (SWIG_arg_fail(2)) SWIG_fail
;
13578 if (arg2
== NULL
) {
13579 SWIG_null_ref("wxImageHistogram");
13581 if (SWIG_arg_fail(2)) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13599 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "handler", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13609 if (SWIG_arg_fail(1)) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 wxImage::AddHandler(arg1
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 Py_INCREF(Py_None
); resultobj
= Py_None
;
13624 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "handler", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 wxImage::InsertHandler(arg1
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 Py_INCREF(Py_None
); resultobj
= Py_None
;
13649 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
;
13651 wxString
*arg1
= 0 ;
13653 bool temp1
= false ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "name", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13661 arg1
= wxString_in_helper(obj0
);
13662 if (arg1
== NULL
) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13689 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13692 char *kwnames
[] = {
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= wxImage::GetImageExtWildcard();
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13717 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxImage
*arg1
= (wxImage
*) 0 ;
13720 int arg2
= (int) -1 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "depth", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13730 if (SWIG_arg_fail(1)) SWIG_fail
;
13733 arg2
= (int)(SWIG_As_int(obj1
));
13734 if (SWIG_arg_fail(2)) SWIG_fail
;
13738 if (!wxPyCheckForApp()) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 wxBitmap
* resultptr
;
13747 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13756 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxImage
*arg1
= (wxImage
*) 0 ;
13759 unsigned char arg2
;
13760 unsigned char arg3
;
13761 unsigned char arg4
;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 PyObject
* obj2
= 0 ;
13766 PyObject
* obj3
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13773 if (SWIG_arg_fail(1)) SWIG_fail
;
13775 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13776 if (SWIG_arg_fail(2)) SWIG_fail
;
13779 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13780 if (SWIG_arg_fail(3)) SWIG_fail
;
13783 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13784 if (SWIG_arg_fail(4)) SWIG_fail
;
13787 if (!wxPyCheckForApp()) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 wxBitmap
* resultptr
;
13796 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13805 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13808 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13810 return Py_BuildValue((char *)"");
13812 static int _wrap_NullImage_set(PyObject
*) {
13813 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13818 static PyObject
*_wrap_NullImage_get(void) {
13821 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13826 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13827 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13832 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13837 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13839 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13846 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13847 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13852 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13857 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13859 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13866 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13867 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13872 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13877 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13879 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13886 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13887 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13892 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13897 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13899 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13906 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13907 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13912 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13917 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13919 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13926 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13927 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13932 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13937 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13939 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13946 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13947 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13952 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13957 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13959 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13966 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13967 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13972 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13977 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13979 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13986 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13987 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13992 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13997 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13999 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14006 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14007 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14012 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14017 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14019 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14026 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14027 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14032 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14037 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14039 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14046 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14047 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14052 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14057 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14059 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14066 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14067 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14072 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14077 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14079 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14086 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14087 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14092 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14097 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14099 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14106 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14107 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14112 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14117 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14119 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14126 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxBMPHandler
*result
;
14129 char *kwnames
[] = {
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxBMPHandler
*)new wxBMPHandler();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14148 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14151 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14153 return Py_BuildValue((char *)"");
14155 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
;
14157 wxICOHandler
*result
;
14158 char *kwnames
[] = {
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (wxICOHandler
*)new wxICOHandler();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14177 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14180 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14182 return Py_BuildValue((char *)"");
14184 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxCURHandler
*result
;
14187 char *kwnames
[] = {
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxCURHandler
*)new wxCURHandler();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14206 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14209 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14211 return Py_BuildValue((char *)"");
14213 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxANIHandler
*result
;
14216 char *kwnames
[] = {
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (wxANIHandler
*)new wxANIHandler();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14235 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14238 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14240 return Py_BuildValue((char *)"");
14242 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxPNGHandler
*result
;
14245 char *kwnames
[] = {
14249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (wxPNGHandler
*)new wxPNGHandler();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14264 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14269 return Py_BuildValue((char *)"");
14271 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxGIFHandler
*result
;
14274 char *kwnames
[] = {
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (wxGIFHandler
*)new wxGIFHandler();
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14293 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14298 return Py_BuildValue((char *)"");
14300 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxPCXHandler
*result
;
14303 char *kwnames
[] = {
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (wxPCXHandler
*)new wxPCXHandler();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14322 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14327 return Py_BuildValue((char *)"");
14329 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxJPEGHandler
*result
;
14332 char *kwnames
[] = {
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14351 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14354 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14356 return Py_BuildValue((char *)"");
14358 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxPNMHandler
*result
;
14361 char *kwnames
[] = {
14365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxPNMHandler
*)new wxPNMHandler();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14380 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14383 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14385 return Py_BuildValue((char *)"");
14387 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxXPMHandler
*result
;
14390 char *kwnames
[] = {
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxXPMHandler
*)new wxXPMHandler();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14409 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14412 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14414 return Py_BuildValue((char *)"");
14416 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxTIFFHandler
*result
;
14419 char *kwnames
[] = {
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14438 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxImage
*arg1
= 0 ;
14448 wxImage
*arg2
= 0 ;
14449 int arg3
= (int) 236 ;
14450 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 PyObject
* obj3
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14463 if (SWIG_arg_fail(1)) SWIG_fail
;
14464 if (arg1
== NULL
) {
14465 SWIG_null_ref("wxImage");
14467 if (SWIG_arg_fail(1)) SWIG_fail
;
14470 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(2)) SWIG_fail
;
14472 if (arg2
== NULL
) {
14473 SWIG_null_ref("wxImage");
14475 if (SWIG_arg_fail(2)) SWIG_fail
;
14479 arg3
= (int)(SWIG_As_int(obj2
));
14480 if (SWIG_arg_fail(3)) SWIG_fail
;
14485 arg4
= (int)(SWIG_As_int(obj3
));
14486 if (SWIG_arg_fail(4)) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14505 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14508 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14510 return Py_BuildValue((char *)"");
14512 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
;
14514 wxEvtHandler
*result
;
14515 char *kwnames
[] = {
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (wxEvtHandler
*)new wxEvtHandler();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14534 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14537 wxEvtHandler
*result
;
14538 PyObject
* obj0
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14545 if (SWIG_arg_fail(1)) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= wxPyMake_wxObject(result
, 0);
14562 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14565 wxEvtHandler
*result
;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14573 if (SWIG_arg_fail(1)) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= wxPyMake_wxObject(result
, 0);
14590 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14591 PyObject
*resultobj
;
14592 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14593 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self",(char *) "handler", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail
;
14603 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14604 if (SWIG_arg_fail(2)) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 (arg1
)->SetNextHandler(arg2
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14622 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "handler", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14631 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(2)) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->SetPreviousHandler(arg2
);
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 Py_INCREF(Py_None
); resultobj
= Py_None
;
14648 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14652 PyObject
* obj0
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "self", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14659 if (SWIG_arg_fail(1)) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14676 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 PyObject
* obj1
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self",(char *) "enabled", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14688 if (SWIG_arg_fail(1)) SWIG_fail
;
14690 arg2
= (bool)(SWIG_As_bool(obj1
));
14691 if (SWIG_arg_fail(2)) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 (arg1
)->SetEvtHandlerEnabled(arg2
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 Py_INCREF(Py_None
); resultobj
= Py_None
;
14707 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14710 wxEvent
*arg2
= 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "event", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail
;
14722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14723 if (SWIG_arg_fail(2)) SWIG_fail
;
14724 if (arg2
== NULL
) {
14725 SWIG_null_ref("wxEvent");
14727 if (SWIG_arg_fail(2)) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14748 wxEvent
*arg2
= 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self",(char *) "event", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14757 if (SWIG_arg_fail(1)) SWIG_fail
;
14759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14760 if (SWIG_arg_fail(2)) SWIG_fail
;
14761 if (arg2
== NULL
) {
14762 SWIG_null_ref("wxEvent");
14764 if (SWIG_arg_fail(2)) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 (arg1
)->AddPendingEvent(*arg2
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->ProcessPendingEvents();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14811 PyObject
*arg5
= (PyObject
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 PyObject
* obj3
= 0 ;
14816 PyObject
* obj4
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14823 if (SWIG_arg_fail(1)) SWIG_fail
;
14825 arg2
= (int)(SWIG_As_int(obj1
));
14826 if (SWIG_arg_fail(2)) SWIG_fail
;
14829 arg3
= (int)(SWIG_As_int(obj2
));
14830 if (SWIG_arg_fail(3)) SWIG_fail
;
14833 arg4
= (int)(SWIG_As_int(obj3
));
14834 if (SWIG_arg_fail(4)) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 Py_INCREF(Py_None
); resultobj
= Py_None
;
14851 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14855 int arg3
= (int) -1 ;
14856 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 PyObject
* obj3
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14868 if (SWIG_arg_fail(1)) SWIG_fail
;
14870 arg2
= (int)(SWIG_As_int(obj1
));
14871 if (SWIG_arg_fail(2)) SWIG_fail
;
14875 arg3
= (int)(SWIG_As_int(obj2
));
14876 if (SWIG_arg_fail(3)) SWIG_fail
;
14881 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14882 if (SWIG_arg_fail(4)) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14901 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14904 PyObject
*arg2
= (PyObject
*) 0 ;
14905 bool arg3
= (bool) true ;
14906 PyObject
* obj0
= 0 ;
14907 PyObject
* obj1
= 0 ;
14908 PyObject
* obj2
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self",(char *) "_self",(char *) "incref", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail
;
14919 arg3
= (bool)(SWIG_As_bool(obj2
));
14920 if (SWIG_arg_fail(3)) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 Py_INCREF(Py_None
); resultobj
= Py_None
;
14937 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14942 return Py_BuildValue((char *)"");
14944 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxEventType result
;
14947 char *kwnames
[] = {
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (wxEventType
)wxNewEventType();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_From_int((int)(result
));
14968 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxEvent
*arg1
= (wxEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14978 if (SWIG_arg_fail(1)) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 Py_INCREF(Py_None
); resultobj
= Py_None
;
14993 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxEvent
*arg1
= (wxEvent
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "typ", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail
;
15007 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15008 if (SWIG_arg_fail(2)) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 (arg1
)->SetEventType(arg2
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxEvent
*arg1
= (wxEvent
*) 0 ;
15027 wxEventType result
;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15035 if (SWIG_arg_fail(1)) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_From_int((int)(result
));
15052 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxEvent
*arg1
= (wxEvent
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= wxPyMake_wxObject(result
, 0);
15080 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxEvent
*arg1
= (wxEvent
*) 0 ;
15083 wxObject
*arg2
= (wxObject
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "obj", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15094 if (SWIG_arg_fail(2)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetEventObject(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxEvent
*arg1
= (wxEvent
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15120 if (SWIG_arg_fail(1)) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_From_long((long)(result
));
15137 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxEvent
*arg1
= (wxEvent
*) 0 ;
15140 long arg2
= (long) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "ts", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail
;
15152 arg2
= (long)(SWIG_As_long(obj1
));
15153 if (SWIG_arg_fail(2)) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 (arg1
)->SetTimestamp(arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxEvent
*arg1
= (wxEvent
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (int)((wxEvent
const *)arg1
)->GetId();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= SWIG_From_int((int)(result
));
15198 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxEvent
*arg1
= (wxEvent
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "Id", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(1)) SWIG_fail
;
15212 arg2
= (int)(SWIG_As_int(obj1
));
15213 if (SWIG_arg_fail(2)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 (arg1
)->SetId(arg2
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxEvent
*arg1
= (wxEvent
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15257 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxEvent
*arg1
= (wxEvent
*) 0 ;
15260 bool arg2
= (bool) true ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "skip", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15269 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 arg2
= (bool)(SWIG_As_bool(obj1
));
15273 if (SWIG_arg_fail(2)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 (arg1
)->Skip(arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 Py_INCREF(Py_None
); resultobj
= Py_None
;
15290 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxEvent
*arg1
= (wxEvent
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15318 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxEvent
*arg1
= (wxEvent
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15329 if (SWIG_arg_fail(1)) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15346 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxEvent
*arg1
= (wxEvent
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (int)(arg1
)->StopPropagation();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_int((int)(result
));
15374 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxEvent
*arg1
= (wxEvent
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "propagationLevel", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 arg2
= (int)(SWIG_As_int(obj1
));
15389 if (SWIG_arg_fail(2)) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 (arg1
)->ResumePropagation(arg2
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 Py_INCREF(Py_None
); resultobj
= Py_None
;
15405 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxEvent
*arg1
= (wxEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15416 if (SWIG_arg_fail(1)) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxEvent
*)(arg1
)->Clone();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15431 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15434 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15436 return Py_BuildValue((char *)"");
15438 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxEvent
*arg1
= 0 ;
15441 wxPropagationDisabler
*result
;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "event", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15451 if (arg1
== NULL
) {
15452 SWIG_null_ref("wxEvent");
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15470 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15498 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15500 return Py_BuildValue((char *)"");
15502 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxEvent
*arg1
= 0 ;
15505 wxPropagateOnce
*result
;
15506 PyObject
* obj0
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "event", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15514 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 if (arg1
== NULL
) {
15516 SWIG_null_ref("wxEvent");
15518 if (SWIG_arg_fail(1)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15534 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "self", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15544 if (SWIG_arg_fail(1)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 Py_INCREF(Py_None
); resultobj
= Py_None
;
15559 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15562 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15564 return Py_BuildValue((char *)"");
15566 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15569 int arg2
= (int) 0 ;
15570 wxCommandEvent
*result
;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "commandType",(char *) "winid", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15580 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15581 if (SWIG_arg_fail(1)) SWIG_fail
;
15586 arg2
= (int)(SWIG_As_int(obj1
));
15587 if (SWIG_arg_fail(2)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15604 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int((int)(result
));
15632 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15635 wxString
*arg2
= 0 ;
15636 bool temp2
= false ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "s", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15645 if (SWIG_arg_fail(1)) SWIG_fail
;
15647 arg2
= wxString_in_helper(obj1
);
15648 if (arg2
== NULL
) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetString((wxString
const &)*arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15673 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15684 if (SWIG_arg_fail(1)) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15705 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15733 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15761 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "extraLong", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15775 arg2
= (long)(SWIG_As_long(obj1
));
15776 if (SWIG_arg_fail(2)) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->SetExtraLong(arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 Py_INCREF(Py_None
); resultobj
= Py_None
;
15792 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15803 if (SWIG_arg_fail(1)) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= SWIG_From_long((long)(result
));
15820 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self",(char *) "i", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 arg2
= (int)(SWIG_As_int(obj1
));
15835 if (SWIG_arg_fail(2)) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetInt(arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 Py_INCREF(Py_None
); resultobj
= Py_None
;
15851 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15862 if (SWIG_arg_fail(1)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_From_long((long)(result
));
15879 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15905 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15908 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15910 return Py_BuildValue((char *)"");
15912 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15915 int arg2
= (int) 0 ;
15916 wxNotifyEvent
*result
;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "commandType",(char *) "winid", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15927 if (SWIG_arg_fail(1)) SWIG_fail
;
15932 arg2
= (int)(SWIG_As_int(obj1
));
15933 if (SWIG_arg_fail(2)) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15950 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15960 if (SWIG_arg_fail(1)) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 Py_INCREF(Py_None
); resultobj
= Py_None
;
15975 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15985 if (SWIG_arg_fail(1)) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16004 PyObject
* obj0
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16011 if (SWIG_arg_fail(1)) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)(arg1
)->IsAllowed();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16028 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16031 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16033 return Py_BuildValue((char *)"");
16035 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16038 int arg2
= (int) 0 ;
16039 int arg3
= (int) 0 ;
16040 int arg4
= (int) 0 ;
16041 wxScrollEvent
*result
;
16042 PyObject
* obj0
= 0 ;
16043 PyObject
* obj1
= 0 ;
16044 PyObject
* obj2
= 0 ;
16045 PyObject
* obj3
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16053 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16054 if (SWIG_arg_fail(1)) SWIG_fail
;
16059 arg2
= (int)(SWIG_As_int(obj1
));
16060 if (SWIG_arg_fail(2)) SWIG_fail
;
16065 arg3
= (int)(SWIG_As_int(obj2
));
16066 if (SWIG_arg_fail(3)) SWIG_fail
;
16071 arg4
= (int)(SWIG_As_int(obj3
));
16072 if (SWIG_arg_fail(4)) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16089 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16091 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 char *kwnames
[] = {
16095 (char *) "self", NULL
16098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_From_int((int)(result
));
16117 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_From_int((int)(result
));
16145 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "orient", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16157 if (SWIG_arg_fail(1)) SWIG_fail
;
16159 arg2
= (int)(SWIG_As_int(obj1
));
16160 if (SWIG_arg_fail(2)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 (arg1
)->SetOrientation(arg2
);
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16169 Py_INCREF(Py_None
); resultobj
= Py_None
;
16176 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "pos", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 arg2
= (int)(SWIG_As_int(obj1
));
16191 if (SWIG_arg_fail(2)) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 (arg1
)->SetPosition(arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16210 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16212 return Py_BuildValue((char *)"");
16214 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16217 int arg2
= (int) 0 ;
16218 int arg3
= (int) 0 ;
16219 wxScrollWinEvent
*result
;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 PyObject
* obj2
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16230 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16231 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 arg2
= (int)(SWIG_As_int(obj1
));
16237 if (SWIG_arg_fail(2)) SWIG_fail
;
16242 arg3
= (int)(SWIG_As_int(obj2
));
16243 if (SWIG_arg_fail(3)) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16260 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16271 if (SWIG_arg_fail(1)) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_From_int((int)(result
));
16288 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16299 if (SWIG_arg_fail(1)) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= SWIG_From_int((int)(result
));
16316 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "orient", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(1)) SWIG_fail
;
16330 arg2
= (int)(SWIG_As_int(obj1
));
16331 if (SWIG_arg_fail(2)) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 (arg1
)->SetOrientation(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "pos", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16359 if (SWIG_arg_fail(1)) SWIG_fail
;
16361 arg2
= (int)(SWIG_As_int(obj1
));
16362 if (SWIG_arg_fail(2)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->SetPosition(arg2
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16381 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16383 return Py_BuildValue((char *)"");
16385 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16388 wxMouseEvent
*result
;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "mouseType", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16397 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16398 if (SWIG_arg_fail(1)) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= wxPyMake_wxObject(result
, 1);
16417 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16428 if (SWIG_arg_fail(1)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16445 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16448 int arg2
= (int) wxMOUSE_BTN_ANY
;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self",(char *) "but", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 arg2
= (int)(SWIG_As_int(obj1
));
16462 if (SWIG_arg_fail(2)) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16481 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16484 int arg2
= (int) wxMOUSE_BTN_ANY
;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "but", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16494 if (SWIG_arg_fail(1)) SWIG_fail
;
16497 arg2
= (int)(SWIG_As_int(obj1
));
16498 if (SWIG_arg_fail(2)) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16517 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16520 int arg2
= (int) wxMOUSE_BTN_ANY
;
16522 PyObject
* obj0
= 0 ;
16523 PyObject
* obj1
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self",(char *) "but", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16533 arg2
= (int)(SWIG_As_int(obj1
));
16534 if (SWIG_arg_fail(2)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16553 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self",(char *) "but", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16566 if (SWIG_arg_fail(1)) SWIG_fail
;
16568 arg2
= (int)(SWIG_As_int(obj1
));
16569 if (SWIG_arg_fail(2)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16587 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "but", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16600 if (SWIG_arg_fail(1)) SWIG_fail
;
16602 arg2
= (int)(SWIG_As_int(obj1
));
16603 if (SWIG_arg_fail(2)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16621 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_From_int((int)(result
));
16649 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "self", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16660 if (SWIG_arg_fail(1)) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16677 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16688 if (SWIG_arg_fail(1)) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16705 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16716 if (SWIG_arg_fail(1)) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16733 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16744 if (SWIG_arg_fail(1)) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16761 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16772 if (SWIG_arg_fail(1)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16789 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16800 if (SWIG_arg_fail(1)) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16817 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16828 if (SWIG_arg_fail(1)) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16845 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16849 PyObject
* obj0
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16884 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16901 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16912 if (SWIG_arg_fail(1)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16929 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16940 if (SWIG_arg_fail(1)) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16957 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16968 if (SWIG_arg_fail(1)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16985 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16996 if (SWIG_arg_fail(1)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17013 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17024 if (SWIG_arg_fail(1)) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17041 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17045 PyObject
* obj0
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17052 if (SWIG_arg_fail(1)) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 result
= (bool)(arg1
)->LeftIsDown();
17057 wxPyEndAllowThreads(__tstate
);
17058 if (PyErr_Occurred()) SWIG_fail
;
17061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17069 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17080 if (SWIG_arg_fail(1)) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (bool)(arg1
)->MiddleIsDown();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17097 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17108 if (SWIG_arg_fail(1)) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (bool)(arg1
)->RightIsDown();
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17125 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17129 PyObject
* obj0
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17136 if (SWIG_arg_fail(1)) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17153 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17157 PyObject
* obj0
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17181 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "self", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17192 if (SWIG_arg_fail(1)) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17209 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17237 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17248 if (SWIG_arg_fail(1)) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (arg1
)->GetPosition();
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 wxPoint
* resultptr
;
17258 resultptr
= new wxPoint((wxPoint
&)(result
));
17259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17267 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17270 long *arg2
= (long *) 0 ;
17271 long *arg3
= (long *) 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self", NULL
17281 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17285 if (SWIG_arg_fail(1)) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 (arg1
)->GetPosition(arg2
,arg3
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 Py_INCREF(Py_None
); resultobj
= Py_None
;
17294 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17295 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17296 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17297 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17304 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self",(char *) "dc", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17317 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(2)) SWIG_fail
;
17321 if (arg2
== NULL
) {
17322 SWIG_null_ref("wxDC");
17324 if (SWIG_arg_fail(2)) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 wxPoint
* resultptr
;
17335 resultptr
= new wxPoint((wxPoint
&)(result
));
17336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17344 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_From_int((int)(result
));
17372 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17383 if (SWIG_arg_fail(1)) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_From_int((int)(result
));
17400 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17404 PyObject
* obj0
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17411 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= SWIG_From_int((int)(result
));
17428 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17439 if (SWIG_arg_fail(1)) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_From_int((int)(result
));
17456 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17467 if (SWIG_arg_fail(1)) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_From_int((int)(result
));
17484 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17495 if (SWIG_arg_fail(1)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "m_x", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17526 arg2
= (int)(SWIG_As_int(obj1
));
17527 if (SWIG_arg_fail(2)) SWIG_fail
;
17529 if (arg1
) (arg1
)->m_x
= arg2
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail
;
17550 result
= (int) ((arg1
)->m_x
);
17553 resultobj
= SWIG_From_int((int)(result
));
17561 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "m_y", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 arg2
= (int)(SWIG_As_int(obj1
));
17576 if (SWIG_arg_fail(2)) SWIG_fail
;
17578 if (arg1
) (arg1
)->m_y
= arg2
;
17580 Py_INCREF(Py_None
); resultobj
= Py_None
;
17587 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17598 if (SWIG_arg_fail(1)) SWIG_fail
;
17599 result
= (int) ((arg1
)->m_y
);
17602 resultobj
= SWIG_From_int((int)(result
));
17610 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
;
17612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "m_leftDown", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail
;
17624 arg2
= (bool)(SWIG_As_bool(obj1
));
17625 if (SWIG_arg_fail(2)) SWIG_fail
;
17627 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17629 Py_INCREF(Py_None
); resultobj
= Py_None
;
17636 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17647 if (SWIG_arg_fail(1)) SWIG_fail
;
17648 result
= (bool) ((arg1
)->m_leftDown
);
17651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17659 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "m_middleDown", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17671 if (SWIG_arg_fail(1)) SWIG_fail
;
17673 arg2
= (bool)(SWIG_As_bool(obj1
));
17674 if (SWIG_arg_fail(2)) SWIG_fail
;
17676 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17678 Py_INCREF(Py_None
); resultobj
= Py_None
;
17685 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17696 if (SWIG_arg_fail(1)) SWIG_fail
;
17697 result
= (bool) ((arg1
)->m_middleDown
);
17700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17708 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17712 PyObject
* obj0
= 0 ;
17713 PyObject
* obj1
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "m_rightDown", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 arg2
= (bool)(SWIG_As_bool(obj1
));
17723 if (SWIG_arg_fail(2)) SWIG_fail
;
17725 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17727 Py_INCREF(Py_None
); resultobj
= Py_None
;
17734 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 result
= (bool) ((arg1
)->m_rightDown
);
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17757 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "m_controlDown", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17769 if (SWIG_arg_fail(1)) SWIG_fail
;
17771 arg2
= (bool)(SWIG_As_bool(obj1
));
17772 if (SWIG_arg_fail(2)) SWIG_fail
;
17774 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17776 Py_INCREF(Py_None
); resultobj
= Py_None
;
17783 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(1)) SWIG_fail
;
17795 result
= (bool) ((arg1
)->m_controlDown
);
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17806 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "m_shiftDown", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17818 if (SWIG_arg_fail(1)) SWIG_fail
;
17820 arg2
= (bool)(SWIG_As_bool(obj1
));
17821 if (SWIG_arg_fail(2)) SWIG_fail
;
17823 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17825 Py_INCREF(Py_None
); resultobj
= Py_None
;
17832 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17843 if (SWIG_arg_fail(1)) SWIG_fail
;
17844 result
= (bool) ((arg1
)->m_shiftDown
);
17847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17855 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj1
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self",(char *) "m_altDown", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17867 if (SWIG_arg_fail(1)) SWIG_fail
;
17869 arg2
= (bool)(SWIG_As_bool(obj1
));
17870 if (SWIG_arg_fail(2)) SWIG_fail
;
17872 if (arg1
) (arg1
)->m_altDown
= arg2
;
17874 Py_INCREF(Py_None
); resultobj
= Py_None
;
17881 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17893 result
= (bool) ((arg1
)->m_altDown
);
17896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self",(char *) "m_metaDown", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17916 if (SWIG_arg_fail(1)) SWIG_fail
;
17918 arg2
= (bool)(SWIG_As_bool(obj1
));
17919 if (SWIG_arg_fail(2)) SWIG_fail
;
17921 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17941 if (SWIG_arg_fail(1)) SWIG_fail
;
17942 result
= (bool) ((arg1
)->m_metaDown
);
17945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17953 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self",(char *) "m_wheelRotation", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17965 if (SWIG_arg_fail(1)) SWIG_fail
;
17967 arg2
= (int)(SWIG_As_int(obj1
));
17968 if (SWIG_arg_fail(2)) SWIG_fail
;
17970 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17991 result
= (int) ((arg1
)->m_wheelRotation
);
17994 resultobj
= SWIG_From_int((int)(result
));
18002 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "m_wheelDelta", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail
;
18016 arg2
= (int)(SWIG_As_int(obj1
));
18017 if (SWIG_arg_fail(2)) SWIG_fail
;
18019 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18021 Py_INCREF(Py_None
); resultobj
= Py_None
;
18028 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail
;
18040 result
= (int) ((arg1
)->m_wheelDelta
);
18043 resultobj
= SWIG_From_int((int)(result
));
18051 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "m_linesPerAction", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 arg2
= (int)(SWIG_As_int(obj1
));
18066 if (SWIG_arg_fail(2)) SWIG_fail
;
18068 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18070 Py_INCREF(Py_None
); resultobj
= Py_None
;
18077 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18081 PyObject
* obj0
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail
;
18089 result
= (int) ((arg1
)->m_linesPerAction
);
18092 resultobj
= SWIG_From_int((int)(result
));
18100 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18103 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18105 return Py_BuildValue((char *)"");
18107 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 int arg1
= (int) 0 ;
18110 int arg2
= (int) 0 ;
18111 wxSetCursorEvent
*result
;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "x",(char *) "y", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18121 arg1
= (int)(SWIG_As_int(obj0
));
18122 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 arg2
= (int)(SWIG_As_int(obj1
));
18128 if (SWIG_arg_fail(2)) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18145 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_From_int((int)(result
));
18173 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_From_int((int)(result
));
18201 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18204 wxCursor
*arg2
= 0 ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "cursor", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18213 if (SWIG_arg_fail(1)) SWIG_fail
;
18215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18216 if (SWIG_arg_fail(2)) SWIG_fail
;
18217 if (arg2
== NULL
) {
18218 SWIG_null_ref("wxCursor");
18220 if (SWIG_arg_fail(2)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 Py_INCREF(Py_None
); resultobj
= Py_None
;
18236 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18252 result
= (wxCursor
*) &_result_ref
;
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 wxCursor
* resultptr
= new wxCursor(*result
);
18260 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18268 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18272 PyObject
* obj0
= 0 ;
18273 char *kwnames
[] = {
18274 (char *) "self", NULL
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18279 if (SWIG_arg_fail(1)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18296 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18299 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18301 return Py_BuildValue((char *)"");
18303 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18306 wxKeyEvent
*result
;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "keyType", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18315 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18316 if (SWIG_arg_fail(1)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18333 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18361 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18389 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18417 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18421 PyObject
* obj0
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18428 if (SWIG_arg_fail(1)) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18445 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18456 if (SWIG_arg_fail(1)) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18473 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18501 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_From_int((int)(result
));
18529 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_From_int((int)(result
));
18557 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18560 unsigned int result
;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18585 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18588 unsigned int result
;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18613 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18624 if (SWIG_arg_fail(1)) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (arg1
)->GetPosition();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 wxPoint
* resultptr
;
18634 resultptr
= new wxPoint((wxPoint
&)(result
));
18635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18643 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18646 long *arg2
= (long *) 0 ;
18647 long *arg3
= (long *) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18658 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->GetPosition(arg2
,arg3
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18670 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18671 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18672 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18673 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18680 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18691 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_From_int((int)(result
));
18708 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18719 if (SWIG_arg_fail(1)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_From_int((int)(result
));
18736 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "m_x", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 arg2
= (int)(SWIG_As_int(obj1
));
18751 if (SWIG_arg_fail(2)) SWIG_fail
;
18753 if (arg1
) (arg1
)->m_x
= arg2
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18773 if (SWIG_arg_fail(1)) SWIG_fail
;
18774 result
= (int) ((arg1
)->m_x
);
18777 resultobj
= SWIG_From_int((int)(result
));
18785 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "m_y", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail
;
18799 arg2
= (int)(SWIG_As_int(obj1
));
18800 if (SWIG_arg_fail(2)) SWIG_fail
;
18802 if (arg1
) (arg1
)->m_y
= arg2
;
18804 Py_INCREF(Py_None
); resultobj
= Py_None
;
18811 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 char *kwnames
[] = {
18817 (char *) "self", NULL
18820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail
;
18823 result
= (int) ((arg1
)->m_y
);
18826 resultobj
= SWIG_From_int((int)(result
));
18834 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "m_keyCode", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18848 arg2
= (long)(SWIG_As_long(obj1
));
18849 if (SWIG_arg_fail(2)) SWIG_fail
;
18851 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18853 Py_INCREF(Py_None
); resultobj
= Py_None
;
18860 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18872 result
= (long) ((arg1
)->m_keyCode
);
18875 resultobj
= SWIG_From_long((long)(result
));
18883 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 PyObject
* obj1
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self",(char *) "m_controlDown", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail
;
18897 arg2
= (bool)(SWIG_As_bool(obj1
));
18898 if (SWIG_arg_fail(2)) SWIG_fail
;
18900 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail
;
18921 result
= (bool) ((arg1
)->m_controlDown
);
18924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18932 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "m_shiftDown", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18944 if (SWIG_arg_fail(1)) SWIG_fail
;
18946 arg2
= (bool)(SWIG_As_bool(obj1
));
18947 if (SWIG_arg_fail(2)) SWIG_fail
;
18949 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail
;
18970 result
= (bool) ((arg1
)->m_shiftDown
);
18973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18981 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self",(char *) "m_altDown", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail
;
18995 arg2
= (bool)(SWIG_As_bool(obj1
));
18996 if (SWIG_arg_fail(2)) SWIG_fail
;
18998 if (arg1
) (arg1
)->m_altDown
= arg2
;
19000 Py_INCREF(Py_None
); resultobj
= Py_None
;
19007 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19018 if (SWIG_arg_fail(1)) SWIG_fail
;
19019 result
= (bool) ((arg1
)->m_altDown
);
19022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19030 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "m_metaDown", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19044 arg2
= (bool)(SWIG_As_bool(obj1
));
19045 if (SWIG_arg_fail(2)) SWIG_fail
;
19047 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19049 Py_INCREF(Py_None
); resultobj
= Py_None
;
19056 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail
;
19068 result
= (bool) ((arg1
)->m_metaDown
);
19071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19079 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "m_scanCode", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 arg2
= (bool)(SWIG_As_bool(obj1
));
19094 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19098 Py_INCREF(Py_None
); resultobj
= Py_None
;
19105 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19116 if (SWIG_arg_fail(1)) SWIG_fail
;
19117 result
= (bool) ((arg1
)->m_scanCode
);
19120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19128 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19131 unsigned int arg2
;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "m_rawCode", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail
;
19142 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19143 if (SWIG_arg_fail(2)) SWIG_fail
;
19145 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19157 unsigned int result
;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19165 if (SWIG_arg_fail(1)) SWIG_fail
;
19166 result
= (unsigned int) ((arg1
)->m_rawCode
);
19169 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19177 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19180 unsigned int arg2
;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "m_rawFlags", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19191 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19192 if (SWIG_arg_fail(2)) SWIG_fail
;
19194 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19206 unsigned int result
;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19215 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19218 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19226 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19229 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19231 return Py_BuildValue((char *)"");
19233 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19236 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19237 int arg2
= (int) 0 ;
19238 wxSizeEvent
*result
;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "sz",(char *) "winid", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19250 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19255 arg2
= (int)(SWIG_As_int(obj1
));
19256 if (SWIG_arg_fail(2)) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19273 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19284 if (SWIG_arg_fail(1)) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19293 wxSize
* resultptr
;
19294 resultptr
= new wxSize((wxSize
&)(result
));
19295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19303 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19314 if (SWIG_arg_fail(1)) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19323 wxRect
* resultptr
;
19324 resultptr
= new wxRect((wxRect
&)(result
));
19325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19333 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "rect", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19348 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19349 if (SWIG_arg_fail(2)) SWIG_fail
;
19350 if (argp
== NULL
) {
19351 SWIG_null_ref("wxRect");
19353 if (SWIG_arg_fail(2)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->SetRect(arg2
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "size", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19386 if (SWIG_arg_fail(2)) SWIG_fail
;
19387 if (argp
== NULL
) {
19388 SWIG_null_ref("wxSize");
19390 if (SWIG_arg_fail(2)) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 wxSizeEvent_SetSize(arg1
,arg2
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19407 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19410 wxSize
*arg2
= (wxSize
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "m_size", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19419 if (SWIG_arg_fail(1)) SWIG_fail
;
19420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19421 if (SWIG_arg_fail(2)) SWIG_fail
;
19422 if (arg1
) (arg1
)->m_size
= *arg2
;
19424 Py_INCREF(Py_None
); resultobj
= Py_None
;
19431 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19442 if (SWIG_arg_fail(1)) SWIG_fail
;
19443 result
= (wxSize
*)& ((arg1
)->m_size
);
19445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19452 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19455 wxRect
*arg2
= (wxRect
*) 0 ;
19456 PyObject
* obj0
= 0 ;
19457 PyObject
* obj1
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self",(char *) "m_rect", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19465 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19466 if (SWIG_arg_fail(2)) SWIG_fail
;
19467 if (arg1
) (arg1
)->m_rect
= *arg2
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19487 if (SWIG_arg_fail(1)) SWIG_fail
;
19488 result
= (wxRect
*)& ((arg1
)->m_rect
);
19490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19497 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19500 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19502 return Py_BuildValue((char *)"");
19504 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19507 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19508 int arg2
= (int) 0 ;
19509 wxMoveEvent
*result
;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "pos",(char *) "winid", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19521 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19526 arg2
= (int)(SWIG_As_int(obj1
));
19527 if (SWIG_arg_fail(2)) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19544 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19555 if (SWIG_arg_fail(1)) SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 wxPoint
* resultptr
;
19565 resultptr
= new wxPoint((wxPoint
&)(result
));
19566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19574 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19585 if (SWIG_arg_fail(1)) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 wxRect
* resultptr
;
19595 resultptr
= new wxRect((wxRect
&)(result
));
19596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19604 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self",(char *) "rect", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19617 if (SWIG_arg_fail(1)) SWIG_fail
;
19620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->SetRect((wxRect
const &)*arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 Py_INCREF(Py_None
); resultobj
= Py_None
;
19636 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
;
19638 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19639 wxPoint
*arg2
= 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self",(char *) "pos", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19671 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19673 return Py_BuildValue((char *)"");
19675 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 int arg1
= (int) 0 ;
19678 wxPaintEvent
*result
;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "Id", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19687 arg1
= (int)(SWIG_As_int(obj0
));
19688 if (SWIG_arg_fail(1)) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19705 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19708 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19710 return Py_BuildValue((char *)"");
19712 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 int arg1
= (int) 0 ;
19715 wxNcPaintEvent
*result
;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "winid", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19724 arg1
= (int)(SWIG_As_int(obj0
));
19725 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19742 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19745 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19747 return Py_BuildValue((char *)"");
19749 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 int arg1
= (int) 0 ;
19752 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19753 wxEraseEvent
*result
;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "Id",(char *) "dc", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 arg1
= (int)(SWIG_As_int(obj0
));
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19769 if (SWIG_arg_fail(2)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19785 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= wxPyMake_wxObject(result
, 0);
19813 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19816 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19818 return Py_BuildValue((char *)"");
19820 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19823 int arg2
= (int) 0 ;
19824 wxFocusEvent
*result
;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "type",(char *) "winid", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19835 if (SWIG_arg_fail(1)) SWIG_fail
;
19840 arg2
= (int)(SWIG_As_int(obj1
));
19841 if (SWIG_arg_fail(2)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19858 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19869 if (SWIG_arg_fail(1)) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= wxPyMake_wxObject(result
, 0);
19886 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19889 wxWindow
*arg2
= (wxWindow
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "win", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19898 if (SWIG_arg_fail(1)) SWIG_fail
;
19899 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(2)) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->SetWindow(arg2
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 Py_INCREF(Py_None
); resultobj
= Py_None
;
19915 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19918 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19920 return Py_BuildValue((char *)"");
19922 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxWindow
*arg1
= (wxWindow
*) NULL
;
19925 wxChildFocusEvent
*result
;
19926 PyObject
* obj0
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "win", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19950 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= wxPyMake_wxObject(result
, 0);
19978 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19981 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19983 return Py_BuildValue((char *)"");
19985 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19988 bool arg2
= (bool) true ;
19989 int arg3
= (int) 0 ;
19990 wxActivateEvent
*result
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "type",(char *) "active",(char *) "Id", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20001 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20002 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 arg2
= (bool)(SWIG_As_bool(obj1
));
20008 if (SWIG_arg_fail(2)) SWIG_fail
;
20013 arg3
= (int)(SWIG_As_int(obj2
));
20014 if (SWIG_arg_fail(3)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20031 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20062 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20064 return Py_BuildValue((char *)"");
20066 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 int arg1
= (int) 0 ;
20069 wxInitDialogEvent
*result
;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "Id", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20078 arg1
= (int)(SWIG_As_int(obj0
));
20079 if (SWIG_arg_fail(1)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20096 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20099 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20101 return Py_BuildValue((char *)"");
20103 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20106 int arg2
= (int) 0 ;
20107 wxMenu
*arg3
= (wxMenu
*) NULL
;
20108 wxMenuEvent
*result
;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 PyObject
* obj2
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "type",(char *) "winid",(char *) "menu", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20119 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20125 arg2
= (int)(SWIG_As_int(obj1
));
20126 if (SWIG_arg_fail(2)) SWIG_fail
;
20130 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20131 if (SWIG_arg_fail(3)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20147 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20158 if (SWIG_arg_fail(1)) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_From_int((int)(result
));
20175 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20186 if (SWIG_arg_fail(1)) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20214 if (SWIG_arg_fail(1)) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= wxPyMake_wxObject(result
, 0);
20231 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20234 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20236 return Py_BuildValue((char *)"");
20238 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20241 int arg2
= (int) 0 ;
20242 wxCloseEvent
*result
;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "type",(char *) "winid", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20253 if (SWIG_arg_fail(1)) SWIG_fail
;
20258 arg2
= (int)(SWIG_As_int(obj1
));
20259 if (SWIG_arg_fail(2)) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20276 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "logOff", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20288 if (SWIG_arg_fail(1)) SWIG_fail
;
20290 arg2
= (bool)(SWIG_As_bool(obj1
));
20291 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 (arg1
)->SetLoggingOff(arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 Py_INCREF(Py_None
); resultobj
= Py_None
;
20307 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20318 if (SWIG_arg_fail(1)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20335 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20338 bool arg2
= (bool) true ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "veto", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20350 arg2
= (bool)(SWIG_As_bool(obj1
));
20351 if (SWIG_arg_fail(2)) SWIG_fail
;
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 (arg1
)->Veto(arg2
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 Py_INCREF(Py_None
); resultobj
= Py_None
;
20368 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
;
20370 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self",(char *) "canVeto", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20380 if (SWIG_arg_fail(1)) SWIG_fail
;
20382 arg2
= (bool)(SWIG_As_bool(obj1
));
20383 if (SWIG_arg_fail(2)) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SetCanVeto(arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20427 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20455 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20458 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20460 return Py_BuildValue((char *)"");
20462 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 int arg1
= (int) 0 ;
20465 bool arg2
= (bool) false ;
20466 wxShowEvent
*result
;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "winid",(char *) "show", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 arg1
= (int)(SWIG_As_int(obj0
));
20477 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 arg2
= (bool)(SWIG_As_bool(obj1
));
20483 if (SWIG_arg_fail(2)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20500 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "show", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 arg2
= (bool)(SWIG_As_bool(obj1
));
20515 if (SWIG_arg_fail(2)) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 (arg1
)->SetShow(arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 Py_INCREF(Py_None
); resultobj
= Py_None
;
20531 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20542 if (SWIG_arg_fail(1)) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20559 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20562 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20564 return Py_BuildValue((char *)"");
20566 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 int arg1
= (int) 0 ;
20569 bool arg2
= (bool) true ;
20570 wxIconizeEvent
*result
;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "id",(char *) "iconized", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20580 arg1
= (int)(SWIG_As_int(obj0
));
20581 if (SWIG_arg_fail(1)) SWIG_fail
;
20586 arg2
= (bool)(SWIG_As_bool(obj1
));
20587 if (SWIG_arg_fail(2)) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20604 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20615 if (SWIG_arg_fail(1)) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)(arg1
)->Iconized();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20635 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20637 return Py_BuildValue((char *)"");
20639 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 int arg1
= (int) 0 ;
20642 wxMaximizeEvent
*result
;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "id", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20651 arg1
= (int)(SWIG_As_int(obj0
));
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20669 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20672 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20674 return Py_BuildValue((char *)"");
20676 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (arg1
)->GetPosition();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 wxPoint
* resultptr
;
20697 resultptr
= new wxPoint((wxPoint
&)(result
));
20698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20706 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (int)(arg1
)->GetNumberOfFiles();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_From_int((int)(result
));
20734 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20738 PyObject
* obj0
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20745 if (SWIG_arg_fail(1)) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= result
;
20760 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20763 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20765 return Py_BuildValue((char *)"");
20767 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 int arg1
= (int) 0 ;
20770 wxUpdateUIEvent
*result
;
20771 PyObject
* obj0
= 0 ;
20772 char *kwnames
[] = {
20773 (char *) "commandId", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20779 arg1
= (int)(SWIG_As_int(obj0
));
20780 if (SWIG_arg_fail(1)) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20797 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20801 PyObject
* obj0
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20808 if (SWIG_arg_fail(1)) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20825 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "self", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20836 if (SWIG_arg_fail(1)) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20853 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20885 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20896 if (SWIG_arg_fail(1)) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20913 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20941 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20952 if (SWIG_arg_fail(1)) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20969 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20971 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self",(char *) "check", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20981 if (SWIG_arg_fail(1)) SWIG_fail
;
20983 arg2
= (bool)(SWIG_As_bool(obj1
));
20984 if (SWIG_arg_fail(2)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->Check(arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "enable", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21012 if (SWIG_arg_fail(1)) SWIG_fail
;
21014 arg2
= (bool)(SWIG_As_bool(obj1
));
21015 if (SWIG_arg_fail(2)) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 (arg1
)->Enable(arg2
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 Py_INCREF(Py_None
); resultobj
= Py_None
;
21031 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21034 wxString
*arg2
= 0 ;
21035 bool temp2
= false ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self",(char *) "text", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21044 if (SWIG_arg_fail(1)) SWIG_fail
;
21046 arg2
= wxString_in_helper(obj1
);
21047 if (arg2
== NULL
) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetText((wxString
const &)*arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 Py_INCREF(Py_None
); resultobj
= Py_None
;
21072 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "updateInterval", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21082 arg1
= (long)(SWIG_As_long(obj0
));
21083 if (SWIG_arg_fail(1)) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 Py_INCREF(Py_None
); resultobj
= Py_None
;
21099 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21102 char *kwnames
[] = {
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_From_long((long)(result
));
21123 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21124 PyObject
*resultobj
;
21125 wxWindow
*arg1
= (wxWindow
*) 0 ;
21127 PyObject
* obj0
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "win", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21134 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21151 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 char *kwnames
[] = {
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 wxUpdateUIEvent::ResetUpdateTime();
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 Py_INCREF(Py_None
); resultobj
= Py_None
;
21172 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxUpdateUIMode arg1
;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "mode", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21182 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21183 if (SWIG_arg_fail(1)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxUpdateUIMode result
;
21202 char *kwnames
[] = {
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_From_int((result
));
21221 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21224 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21226 return Py_BuildValue((char *)"");
21228 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxSysColourChangedEvent
*result
;
21231 char *kwnames
[] = {
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21250 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21253 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21255 return Py_BuildValue((char *)"");
21257 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 int arg1
= (int) 0 ;
21260 wxWindow
*arg2
= (wxWindow
*) NULL
;
21261 wxMouseCaptureChangedEvent
*result
;
21262 PyObject
* obj0
= 0 ;
21263 PyObject
* obj1
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "winid",(char *) "gainedCapture", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21271 arg1
= (int)(SWIG_As_int(obj0
));
21272 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21277 if (SWIG_arg_fail(2)) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21293 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21304 if (SWIG_arg_fail(1)) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= wxPyMake_wxObject(result
, 0);
21321 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21324 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21326 return Py_BuildValue((char *)"");
21328 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
;
21330 wxDisplayChangedEvent
*result
;
21331 char *kwnames
[] = {
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21350 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21353 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21355 return Py_BuildValue((char *)"");
21357 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
;
21359 int arg1
= (int) 0 ;
21360 wxPaletteChangedEvent
*result
;
21361 PyObject
* obj0
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "id", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21369 arg1
= (int)(SWIG_As_int(obj0
));
21370 if (SWIG_arg_fail(1)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21387 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21390 wxWindow
*arg2
= (wxWindow
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "win", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21401 if (SWIG_arg_fail(2)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->SetChangedWindow(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= wxPyMake_wxObject(result
, 0);
21444 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21447 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21449 return Py_BuildValue((char *)"");
21451 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 int arg1
= (int) 0 ;
21454 wxQueryNewPaletteEvent
*result
;
21455 PyObject
* obj0
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "winid", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21463 arg1
= (int)(SWIG_As_int(obj0
));
21464 if (SWIG_arg_fail(1)) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21481 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "realized", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21493 if (SWIG_arg_fail(1)) SWIG_fail
;
21495 arg2
= (bool)(SWIG_As_bool(obj1
));
21496 if (SWIG_arg_fail(2)) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 (arg1
)->SetPaletteRealized(arg2
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 Py_INCREF(Py_None
); resultobj
= Py_None
;
21512 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21523 if (SWIG_arg_fail(1)) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21540 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21543 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21545 return Py_BuildValue((char *)"");
21547 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxNavigationKeyEvent
*result
;
21550 char *kwnames
[] = {
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21569 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21573 PyObject
* obj0
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21580 if (SWIG_arg_fail(1)) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21597 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "forward", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21609 if (SWIG_arg_fail(1)) SWIG_fail
;
21611 arg2
= (bool)(SWIG_As_bool(obj1
));
21612 if (SWIG_arg_fail(2)) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->SetDirection(arg2
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21639 if (SWIG_arg_fail(1)) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "ischange", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21668 if (SWIG_arg_fail(1)) SWIG_fail
;
21670 arg2
= (bool)(SWIG_As_bool(obj1
));
21671 if (SWIG_arg_fail(2)) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 (arg1
)->SetWindowChange(arg2
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 Py_INCREF(Py_None
); resultobj
= Py_None
;
21687 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21698 if (SWIG_arg_fail(1)) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21715 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "bIs", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 arg2
= (bool)(SWIG_As_bool(obj1
));
21730 if (SWIG_arg_fail(2)) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->SetFromTab(arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "flags", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 arg2
= (long)(SWIG_As_long(obj1
));
21761 if (SWIG_arg_fail(2)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetFlags(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= wxPyMake_wxObject(result
, 0);
21805 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21808 wxWindow
*arg2
= (wxWindow
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "win", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail
;
21818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21819 if (SWIG_arg_fail(2)) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetCurrentFocus(arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21834 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21837 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21839 return Py_BuildValue((char *)"");
21841 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxWindow
*arg1
= (wxWindow
*) NULL
;
21844 wxWindowCreateEvent
*result
;
21845 PyObject
* obj0
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "win", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21869 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21870 PyObject
*resultobj
;
21871 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21880 if (SWIG_arg_fail(1)) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= wxPyMake_wxObject(result
, 0);
21897 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21900 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21902 return Py_BuildValue((char *)"");
21904 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxWindow
*arg1
= (wxWindow
*) NULL
;
21907 wxWindowDestroyEvent
*result
;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "win", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21916 if (SWIG_arg_fail(1)) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21932 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21943 if (SWIG_arg_fail(1)) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= wxPyMake_wxObject(result
, 0);
21960 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21963 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21965 return Py_BuildValue((char *)"");
21967 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21970 int arg2
= (int) 0 ;
21971 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21972 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21973 wxContextMenuEvent
*result
;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "type",(char *) "winid",(char *) "pt", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21985 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21991 arg2
= (int)(SWIG_As_int(obj1
));
21992 if (SWIG_arg_fail(2)) SWIG_fail
;
21998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22015 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22026 if (SWIG_arg_fail(1)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22031 result
= (wxPoint
*) &_result_ref
;
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22044 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22047 wxPoint
*arg2
= 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "pos", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22057 if (SWIG_arg_fail(1)) SWIG_fail
;
22060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 Py_INCREF(Py_None
); resultobj
= Py_None
;
22076 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22079 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22081 return Py_BuildValue((char *)"");
22083 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxIdleEvent
*result
;
22086 char *kwnames
[] = {
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (wxIdleEvent
*)new wxIdleEvent();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22105 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22108 bool arg2
= (bool) true ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "needMore", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(1)) SWIG_fail
;
22120 arg2
= (bool)(SWIG_As_bool(obj1
));
22121 if (SWIG_arg_fail(2)) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->RequestMore(arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22166 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "mode", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22176 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22177 if (SWIG_arg_fail(1)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22196 char *kwnames
[] = {
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_From_int((result
));
22215 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxWindow
*arg1
= (wxWindow
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "win", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (bool)wxIdleEvent::CanSend(arg1
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22243 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22246 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22248 return Py_BuildValue((char *)"");
22250 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 int arg1
= (int) 0 ;
22253 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "winid",(char *) "commandType", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22264 arg1
= (int)(SWIG_As_int(obj0
));
22265 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22271 if (SWIG_arg_fail(2)) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22288 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22298 if (SWIG_arg_fail(1)) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 Py_INCREF(Py_None
); resultobj
= Py_None
;
22313 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22316 PyObject
*arg2
= (PyObject
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "self", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22325 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 (arg1
)->SetSelf(arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 Py_INCREF(Py_None
); resultobj
= Py_None
;
22341 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (PyObject
*)(arg1
)->GetSelf();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= result
;
22367 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22370 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22372 return Py_BuildValue((char *)"");
22374 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22377 int arg2
= (int) 0 ;
22378 wxPyCommandEvent
*result
;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "commandType",(char *) "id", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22388 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22389 if (SWIG_arg_fail(1)) SWIG_fail
;
22394 arg2
= (int)(SWIG_As_int(obj1
));
22395 if (SWIG_arg_fail(2)) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22412 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 char *kwnames
[] = {
22417 (char *) "self", NULL
22420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22422 if (SWIG_arg_fail(1)) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 Py_INCREF(Py_None
); resultobj
= Py_None
;
22437 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22440 PyObject
*arg2
= (PyObject
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "self", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22449 if (SWIG_arg_fail(1)) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 (arg1
)->SetSelf(arg2
);
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22465 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (PyObject
*)(arg1
)->GetSelf();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= result
;
22491 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22494 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22496 return Py_BuildValue((char *)"");
22498 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxWindow
*arg1
= (wxWindow
*) 0 ;
22501 wxDateTime
*arg2
= 0 ;
22503 wxDateEvent
*result
;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 PyObject
* obj2
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "win",(char *) "dt",(char *) "type", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail
;
22515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22516 if (SWIG_arg_fail(2)) SWIG_fail
;
22517 if (arg2
== NULL
) {
22518 SWIG_null_ref("wxDateTime");
22520 if (SWIG_arg_fail(2)) SWIG_fail
;
22523 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22524 if (SWIG_arg_fail(3)) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22540 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22543 wxDateTime
*result
;
22544 PyObject
* obj0
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22551 if (SWIG_arg_fail(1)) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22556 result
= (wxDateTime
*) &_result_ref
;
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22569 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22572 wxDateTime
*arg2
= 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self",(char *) "date", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22581 if (SWIG_arg_fail(1)) SWIG_fail
;
22583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22584 if (SWIG_arg_fail(2)) SWIG_fail
;
22585 if (arg2
== NULL
) {
22586 SWIG_null_ref("wxDateTime");
22588 if (SWIG_arg_fail(2)) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 Py_INCREF(Py_None
); resultobj
= Py_None
;
22604 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22607 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22609 return Py_BuildValue((char *)"");
22611 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22614 char *kwnames
[] = {
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxPyApp
*)new_wxPyApp();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22633 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 Py_INCREF(Py_None
); resultobj
= Py_None
;
22658 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22661 PyObject
*arg2
= (PyObject
*) 0 ;
22662 PyObject
*arg3
= (PyObject
*) 0 ;
22664 PyObject
* obj0
= 0 ;
22665 PyObject
* obj1
= 0 ;
22666 PyObject
* obj2
= 0 ;
22667 PyObject
* obj3
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 arg4
= (bool)(SWIG_As_bool(obj3
));
22679 if (SWIG_arg_fail(4)) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22727 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22730 wxString
*arg2
= 0 ;
22731 bool temp2
= false ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self",(char *) "name", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail
;
22742 arg2
= wxString_in_helper(obj1
);
22743 if (arg2
== NULL
) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 (arg1
)->SetAppName((wxString
const &)*arg2
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22779 if (SWIG_arg_fail(1)) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22800 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22803 wxString
*arg2
= 0 ;
22804 bool temp2
= false ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 char *kwnames
[] = {
22808 (char *) "self",(char *) "name", NULL
22811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22813 if (SWIG_arg_fail(1)) SWIG_fail
;
22815 arg2
= wxString_in_helper(obj1
);
22816 if (arg2
== NULL
) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->SetClassName((wxString
const &)*arg2
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22852 if (SWIG_arg_fail(1)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22857 result
= (wxString
*) &_result_ref
;
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22867 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22876 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22879 wxString
*arg2
= 0 ;
22880 bool temp2
= false ;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "name", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22889 if (SWIG_arg_fail(1)) SWIG_fail
;
22891 arg2
= wxString_in_helper(obj1
);
22892 if (arg2
== NULL
) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 Py_INCREF(Py_None
); resultobj
= Py_None
;
22917 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22920 wxAppTraits
*result
;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22943 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 (arg1
)->ProcessPendingEvents();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 Py_INCREF(Py_None
); resultobj
= Py_None
;
22968 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22971 bool arg2
= (bool) false ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "onlyIfNeeded", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22981 if (SWIG_arg_fail(1)) SWIG_fail
;
22984 arg2
= (bool)(SWIG_As_bool(obj1
));
22985 if (SWIG_arg_fail(2)) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (bool)(arg1
)->Yield(arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23004 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 (arg1
)->WakeUpIdle();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 Py_INCREF(Py_None
); resultobj
= Py_None
;
23029 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23032 char *kwnames
[] = {
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (bool)wxPyApp::IsMainLoopRunning();
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23053 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (int)(arg1
)->MainLoop();
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_From_int((int)(result
));
23081 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23091 if (SWIG_arg_fail(1)) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23116 if (SWIG_arg_fail(1)) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 (arg1
)->ExitMainLoop();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 Py_INCREF(Py_None
); resultobj
= Py_None
;
23131 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (bool)(arg1
)->Pending();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23159 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (bool)(arg1
)->Dispatch();
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23187 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23198 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (bool)(arg1
)->ProcessIdle();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23215 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23218 wxWindow
*arg2
= (wxWindow
*) 0 ;
23219 wxIdleEvent
*arg3
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 PyObject
* obj2
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "win",(char *) "event", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23230 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(2)) SWIG_fail
;
23234 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23235 if (SWIG_arg_fail(3)) SWIG_fail
;
23236 if (arg3
== NULL
) {
23237 SWIG_null_ref("wxIdleEvent");
23239 if (SWIG_arg_fail(3)) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23257 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23268 if (SWIG_arg_fail(1)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23285 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23288 wxWindow
*arg2
= (wxWindow
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "win", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23299 if (SWIG_arg_fail(2)) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 (arg1
)->SetTopWindow(arg2
);
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 Py_INCREF(Py_None
); resultobj
= Py_None
;
23314 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= wxPyMake_wxObject(result
, 0);
23342 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self",(char *) "flag", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 arg2
= (bool)(SWIG_As_bool(obj1
));
23357 if (SWIG_arg_fail(2)) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 (arg1
)->SetExitOnFrameDelete(arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 Py_INCREF(Py_None
); resultobj
= Py_None
;
23373 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23401 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "flag", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 arg2
= (bool)(SWIG_As_bool(obj1
));
23416 if (SWIG_arg_fail(2)) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 (arg1
)->SetUseBestVisual(arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 Py_INCREF(Py_None
); resultobj
= Py_None
;
23432 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23443 if (SWIG_arg_fail(1)) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23460 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "mode", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 arg2
= (int)(SWIG_As_int(obj1
));
23475 if (SWIG_arg_fail(2)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 (arg1
)->SetPrintMode(arg2
);
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 Py_INCREF(Py_None
); resultobj
= Py_None
;
23491 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23495 PyObject
* obj0
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23502 if (SWIG_arg_fail(1)) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_From_int((int)(result
));
23519 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 PyObject
* obj1
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "mode", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23531 if (SWIG_arg_fail(1)) SWIG_fail
;
23533 arg2
= (int)(SWIG_As_int(obj1
));
23534 if (SWIG_arg_fail(2)) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->SetAssertMode(arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= (int)(arg1
)->GetAssertMode();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_From_int((int)(result
));
23578 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23581 char *kwnames
[] = {
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23605 char *kwnames
[] = {
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_From_long((long)(result
));
23626 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23629 char *kwnames
[] = {
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_From_long((long)(result
));
23650 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23653 char *kwnames
[] = {
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (long)wxPyApp::GetMacExitMenuItemId();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_From_long((long)(result
));
23674 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23677 char *kwnames
[] = {
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= wxPyApp::GetMacHelpMenuTitleName();
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23702 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "val", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23712 arg1
= (bool)(SWIG_As_bool(obj0
));
23713 if (SWIG_arg_fail(1)) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 Py_INCREF(Py_None
); resultobj
= Py_None
;
23729 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "val", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23739 arg1
= (long)(SWIG_As_long(obj0
));
23740 if (SWIG_arg_fail(1)) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 wxPyApp::SetMacAboutMenuItemId(arg1
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 Py_INCREF(Py_None
); resultobj
= Py_None
;
23756 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23759 PyObject
* obj0
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "val", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23766 arg1
= (long)(SWIG_As_long(obj0
));
23767 if (SWIG_arg_fail(1)) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23786 PyObject
* obj0
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "val", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23793 arg1
= (long)(SWIG_As_long(obj0
));
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 wxPyApp::SetMacExitMenuItemId(arg1
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 Py_INCREF(Py_None
); resultobj
= Py_None
;
23810 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxString
*arg1
= 0 ;
23813 bool temp1
= false ;
23814 PyObject
* obj0
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "val", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23821 arg1
= wxString_in_helper(obj0
);
23822 if (arg1
== NULL
) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23847 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23857 if (SWIG_arg_fail(1)) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->_BootstrapApp();
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23875 char *kwnames
[] = {
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (int)wxPyApp::GetComCtl32Version();
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_From_int((int)(result
));
23896 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23899 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23901 return Py_BuildValue((char *)"");
23903 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 char *kwnames
[] = {
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 Py_INCREF(Py_None
); resultobj
= Py_None
;
23924 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23927 char *kwnames
[] = {
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (bool)wxYield();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23948 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23951 char *kwnames
[] = {
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)wxYieldIfNeeded();
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23972 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxWindow
*arg1
= (wxWindow
*) NULL
;
23975 bool arg2
= (bool) false ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "win",(char *) "onlyIfNeeded", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23986 if (SWIG_arg_fail(1)) SWIG_fail
;
23990 arg2
= (bool)(SWIG_As_bool(obj1
));
23991 if (SWIG_arg_fail(2)) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (bool)wxSafeYield(arg1
,arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24010 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 char *kwnames
[] = {
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 Py_INCREF(Py_None
); resultobj
= Py_None
;
24031 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24034 wxEvent
*arg2
= 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "dest",(char *) "event", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24043 if (SWIG_arg_fail(1)) SWIG_fail
;
24045 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24046 if (SWIG_arg_fail(2)) SWIG_fail
;
24047 if (arg2
== NULL
) {
24048 SWIG_null_ref("wxEvent");
24050 if (SWIG_arg_fail(2)) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 wxPostEvent(arg1
,*arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 Py_INCREF(Py_None
); resultobj
= Py_None
;
24066 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 char *kwnames
[] = {
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24090 char *kwnames
[] = {
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 result
= (wxPyApp
*)wxPyGetApp();
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24103 resultobj
= wxPyMake_wxObject(result
, 0);
24111 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 char *arg1
= (char *) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "encoding", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24120 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24121 SWIG_arg_fail(1);SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 wxSetDefaultPyEncoding((char const *)arg1
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 Py_INCREF(Py_None
); resultobj
= Py_None
;
24137 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24140 char *kwnames
[] = {
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (char *)wxGetDefaultPyEncoding();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_FromCharPtr(result
);
24159 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxEventLoop
*result
;
24162 char *kwnames
[] = {
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (wxEventLoop
*)new wxEventLoop();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24181 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (int)(arg1
)->Run();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_From_int((int)(result
));
24234 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24237 int arg2
= (int) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "rc", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24249 arg2
= (int)(SWIG_As_int(obj1
));
24250 if (SWIG_arg_fail(2)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->Exit(arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24278 if (SWIG_arg_fail(1)) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24295 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24306 if (SWIG_arg_fail(1)) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (bool)(arg1
)->Dispatch();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24323 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxEventLoop
*result
;
24354 char *kwnames
[] = {
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24373 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "loop", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24383 if (SWIG_arg_fail(1)) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 wxEventLoop::SetActive(arg1
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 Py_INCREF(Py_None
); resultobj
= Py_None
;
24398 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24401 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24403 return Py_BuildValue((char *)"");
24405 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 int arg1
= (int) 0 ;
24408 int arg2
= (int) 0 ;
24409 int arg3
= (int) 0 ;
24410 wxAcceleratorEntry
*result
;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 PyObject
* obj2
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24421 arg1
= (int)(SWIG_As_int(obj0
));
24422 if (SWIG_arg_fail(1)) SWIG_fail
;
24427 arg2
= (int)(SWIG_As_int(obj1
));
24428 if (SWIG_arg_fail(2)) SWIG_fail
;
24433 arg3
= (int)(SWIG_As_int(obj2
));
24434 if (SWIG_arg_fail(3)) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24451 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24461 if (SWIG_arg_fail(1)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 Py_INCREF(Py_None
); resultobj
= Py_None
;
24476 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 PyObject
* obj2
= 0 ;
24485 PyObject
* obj3
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24492 if (SWIG_arg_fail(1)) SWIG_fail
;
24494 arg2
= (int)(SWIG_As_int(obj1
));
24495 if (SWIG_arg_fail(2)) SWIG_fail
;
24498 arg3
= (int)(SWIG_As_int(obj2
));
24499 if (SWIG_arg_fail(3)) SWIG_fail
;
24502 arg4
= (int)(SWIG_As_int(obj3
));
24503 if (SWIG_arg_fail(4)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->Set(arg2
,arg3
,arg4
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24519 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (int)(arg1
)->GetFlags();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= SWIG_From_int((int)(result
));
24547 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24558 if (SWIG_arg_fail(1)) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (int)(arg1
)->GetKeyCode();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_From_int((int)(result
));
24575 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24586 if (SWIG_arg_fail(1)) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (int)(arg1
)->GetCommand();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_From_int((int)(result
));
24603 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24606 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24608 return Py_BuildValue((char *)"");
24610 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24613 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24614 wxAcceleratorTable
*result
;
24615 PyObject
* obj0
= 0 ;
24616 char *kwnames
[] = {
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24622 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24623 if (arg2
) arg1
= PyList_Size(obj0
);
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24646 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24656 if (SWIG_arg_fail(1)) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 Py_INCREF(Py_None
); resultobj
= Py_None
;
24671 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24699 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24702 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24704 return Py_BuildValue((char *)"");
24706 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24707 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24712 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24715 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24720 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxString
*arg1
= 0 ;
24723 wxAcceleratorEntry
*result
;
24724 bool temp1
= false ;
24725 PyObject
* obj0
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "label", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24732 arg1
= wxString_in_helper(obj0
);
24733 if (arg1
== NULL
) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24758 static int _wrap_PanelNameStr_set(PyObject
*) {
24759 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24764 static PyObject
*_wrap_PanelNameStr_get(void) {
24769 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24771 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24778 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxVisualAttributes
*result
;
24781 char *kwnames
[] = {
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24800 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
;
24802 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24803 PyObject
* obj0
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24810 if (SWIG_arg_fail(1)) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 delete_wxVisualAttributes(arg1
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 Py_INCREF(Py_None
); resultobj
= Py_None
;
24825 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
;
24827 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24828 wxFont
*arg2
= (wxFont
*) 0 ;
24829 PyObject
* obj0
= 0 ;
24830 PyObject
* obj1
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self",(char *) "font", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24837 if (SWIG_arg_fail(1)) SWIG_fail
;
24838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24839 if (SWIG_arg_fail(2)) SWIG_fail
;
24840 if (arg1
) (arg1
)->font
= *arg2
;
24842 Py_INCREF(Py_None
); resultobj
= Py_None
;
24849 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24860 if (SWIG_arg_fail(1)) SWIG_fail
;
24861 result
= (wxFont
*)& ((arg1
)->font
);
24863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24870 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24873 wxColour
*arg2
= (wxColour
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self",(char *) "colFg", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail
;
24883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(2)) SWIG_fail
;
24885 if (arg1
) (arg1
)->colFg
= *arg2
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail
;
24906 result
= (wxColour
*)& ((arg1
)->colFg
);
24908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24915 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
;
24917 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24918 wxColour
*arg2
= (wxColour
*) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self",(char *) "colBg", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24927 if (SWIG_arg_fail(1)) SWIG_fail
;
24928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24929 if (SWIG_arg_fail(2)) SWIG_fail
;
24930 if (arg1
) (arg1
)->colBg
= *arg2
;
24932 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24943 PyObject
* obj0
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24951 result
= (wxColour
*)& ((arg1
)->colBg
);
24953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24960 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24963 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24965 return Py_BuildValue((char *)"");
24967 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxWindow
*arg1
= (wxWindow
*) 0 ;
24970 int arg2
= (int) (int)-1 ;
24971 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24972 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24973 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24974 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24975 long arg5
= (long) 0 ;
24976 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24977 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24981 bool temp6
= false ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 PyObject
* obj3
= 0 ;
24986 PyObject
* obj4
= 0 ;
24987 PyObject
* obj5
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24997 arg2
= (int const)(SWIG_As_int(obj1
));
24998 if (SWIG_arg_fail(2)) SWIG_fail
;
25004 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25010 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25015 arg5
= (long)(SWIG_As_long(obj4
));
25016 if (SWIG_arg_fail(5)) SWIG_fail
;
25021 arg6
= wxString_in_helper(obj5
);
25022 if (arg6
== NULL
) SWIG_fail
;
25027 if (!wxPyCheckForApp()) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25049 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25052 char *kwnames
[] = {
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25058 if (!wxPyCheckForApp()) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxWindow
*)new wxWindow();
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25072 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxWindow
*arg1
= (wxWindow
*) 0 ;
25075 wxWindow
*arg2
= (wxWindow
*) 0 ;
25076 int arg3
= (int) (int)-1 ;
25077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25081 long arg6
= (long) 0 ;
25082 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25087 bool temp7
= false ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 PyObject
* obj3
= 0 ;
25092 PyObject
* obj4
= 0 ;
25093 PyObject
* obj5
= 0 ;
25094 PyObject
* obj6
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25101 if (SWIG_arg_fail(1)) SWIG_fail
;
25102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25103 if (SWIG_arg_fail(2)) SWIG_fail
;
25106 arg3
= (int const)(SWIG_As_int(obj2
));
25107 if (SWIG_arg_fail(3)) SWIG_fail
;
25113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25124 arg6
= (long)(SWIG_As_long(obj5
));
25125 if (SWIG_arg_fail(6)) SWIG_fail
;
25130 arg7
= wxString_in_helper(obj6
);
25131 if (arg7
== NULL
) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25159 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 bool arg2
= (bool) false ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "force", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail
;
25175 arg2
= (bool)(SWIG_As_bool(obj1
));
25176 if (SWIG_arg_fail(2)) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)(arg1
)->Close(arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25195 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (bool)(arg1
)->Destroy();
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25223 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxWindow
*arg1
= (wxWindow
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25234 if (SWIG_arg_fail(1)) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (bool)(arg1
)->DestroyChildren();
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25251 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxWindow
*arg1
= (wxWindow
*) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25262 if (SWIG_arg_fail(1)) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25279 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxWindow
*arg1
= (wxWindow
*) 0 ;
25282 wxString
*arg2
= 0 ;
25283 bool temp2
= false ;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self",(char *) "title", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 arg2
= wxString_in_helper(obj1
);
25295 if (arg2
== NULL
) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetTitle((wxString
const &)*arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25320 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxWindow
*arg1
= (wxWindow
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= ((wxWindow
const *)arg1
)->GetTitle();
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25352 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxWindow
*arg1
= (wxWindow
*) 0 ;
25355 wxString
*arg2
= 0 ;
25356 bool temp2
= false ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "label", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25365 if (SWIG_arg_fail(1)) SWIG_fail
;
25367 arg2
= wxString_in_helper(obj1
);
25368 if (arg2
== NULL
) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 (arg1
)->SetLabel((wxString
const &)*arg2
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 Py_INCREF(Py_None
); resultobj
= Py_None
;
25393 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxWindow
*arg1
= (wxWindow
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= ((wxWindow
const *)arg1
)->GetLabel();
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25425 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxWindow
*arg1
= (wxWindow
*) 0 ;
25428 wxString
*arg2
= 0 ;
25429 bool temp2
= false ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "name", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25438 if (SWIG_arg_fail(1)) SWIG_fail
;
25440 arg2
= wxString_in_helper(obj1
);
25441 if (arg2
== NULL
) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 (arg1
)->SetName((wxString
const &)*arg2
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxWindow
*arg1
= (wxWindow
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= ((wxWindow
const *)arg1
)->GetName();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25498 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxWindow
*arg1
= (wxWindow
*) 0 ;
25501 wxWindowVariant arg2
;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 char *kwnames
[] = {
25505 (char *) "self",(char *) "variant", NULL
25508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25510 if (SWIG_arg_fail(1)) SWIG_fail
;
25512 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25513 if (SWIG_arg_fail(2)) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxWindow
*arg1
= (wxWindow
*) 0 ;
25532 wxWindowVariant result
;
25533 PyObject
* obj0
= 0 ;
25534 char *kwnames
[] = {
25535 (char *) "self", NULL
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25540 if (SWIG_arg_fail(1)) SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_From_int((result
));
25555 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxWindow
*arg1
= (wxWindow
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "winid", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25567 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 arg2
= (int)(SWIG_As_int(obj1
));
25570 if (SWIG_arg_fail(2)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->SetId(arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (int)((wxWindow
const *)arg1
)->GetId();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_From_int((int)(result
));
25614 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25617 char *kwnames
[] = {
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (int)wxWindow::NewControlId();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_From_int((int)(result
));
25638 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "winid", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25649 arg1
= (int)(SWIG_As_int(obj0
));
25650 if (SWIG_arg_fail(1)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (int)wxWindow::NextControlId(arg1
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_From_int((int)(result
));
25668 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "winid", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25679 arg1
= (int)(SWIG_As_int(obj0
));
25680 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (int)wxWindow::PrevControlId(arg1
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_From_int((int)(result
));
25698 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxWindow
*arg1
= (wxWindow
*) 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "size", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25711 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 (arg1
)->SetSize((wxSize
const &)*arg2
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 Py_INCREF(Py_None
); resultobj
= Py_None
;
25730 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25737 int arg6
= (int) wxSIZE_AUTO
;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 PyObject
* obj2
= 0 ;
25741 PyObject
* obj3
= 0 ;
25742 PyObject
* obj4
= 0 ;
25743 PyObject
* obj5
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 arg2
= (int)(SWIG_As_int(obj1
));
25753 if (SWIG_arg_fail(2)) SWIG_fail
;
25756 arg3
= (int)(SWIG_As_int(obj2
));
25757 if (SWIG_arg_fail(3)) SWIG_fail
;
25760 arg4
= (int)(SWIG_As_int(obj3
));
25761 if (SWIG_arg_fail(4)) SWIG_fail
;
25764 arg5
= (int)(SWIG_As_int(obj4
));
25765 if (SWIG_arg_fail(5)) SWIG_fail
;
25769 arg6
= (int)(SWIG_As_int(obj5
));
25770 if (SWIG_arg_fail(6)) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 Py_INCREF(Py_None
); resultobj
= Py_None
;
25787 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxWindow
*arg1
= (wxWindow
*) 0 ;
25791 int arg3
= (int) wxSIZE_AUTO
;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25802 if (SWIG_arg_fail(1)) SWIG_fail
;
25805 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25809 arg3
= (int)(SWIG_As_int(obj2
));
25810 if (SWIG_arg_fail(3)) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxWindow
*arg1
= (wxWindow
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 PyObject
* obj2
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self",(char *) "width",(char *) "height", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail
;
25843 arg2
= (int)(SWIG_As_int(obj1
));
25844 if (SWIG_arg_fail(2)) SWIG_fail
;
25847 arg3
= (int)(SWIG_As_int(obj2
));
25848 if (SWIG_arg_fail(3)) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 (arg1
)->SetSize(arg2
,arg3
);
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 Py_INCREF(Py_None
); resultobj
= Py_None
;
25864 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
;
25866 wxWindow
*arg1
= (wxWindow
*) 0 ;
25867 wxPoint
*arg2
= 0 ;
25868 int arg3
= (int) wxSIZE_USE_EXISTING
;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "pt",(char *) "flags", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25879 if (SWIG_arg_fail(1)) SWIG_fail
;
25882 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25886 arg3
= (int)(SWIG_As_int(obj2
));
25887 if (SWIG_arg_fail(3)) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 Py_INCREF(Py_None
); resultobj
= Py_None
;
25904 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxWindow
*arg1
= (wxWindow
*) 0 ;
25909 int arg4
= (int) wxSIZE_USE_EXISTING
;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 PyObject
* obj2
= 0 ;
25913 PyObject
* obj3
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25920 if (SWIG_arg_fail(1)) SWIG_fail
;
25922 arg2
= (int)(SWIG_As_int(obj1
));
25923 if (SWIG_arg_fail(2)) SWIG_fail
;
25926 arg3
= (int)(SWIG_As_int(obj2
));
25927 if (SWIG_arg_fail(3)) SWIG_fail
;
25931 arg4
= (int)(SWIG_As_int(obj3
));
25932 if (SWIG_arg_fail(4)) SWIG_fail
;
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 (arg1
)->Move(arg2
,arg3
,arg4
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 Py_INCREF(Py_None
); resultobj
= Py_None
;
25949 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
;
25951 wxWindow
*arg1
= (wxWindow
*) 0 ;
25952 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25953 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self",(char *) "size", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxWindow
*arg1
= (wxWindow
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25994 if (SWIG_arg_fail(1)) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 Py_INCREF(Py_None
); resultobj
= Py_None
;
26009 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26012 PyObject
* obj0
= 0 ;
26013 char *kwnames
[] = {
26014 (char *) "self", NULL
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26019 if (SWIG_arg_fail(1)) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 Py_INCREF(Py_None
); resultobj
= Py_None
;
26034 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxWindow
*arg1
= (wxWindow
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self",(char *) "size", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26047 if (SWIG_arg_fail(1)) SWIG_fail
;
26050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 Py_INCREF(Py_None
); resultobj
= Py_None
;
26066 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxWindow
*arg1
= (wxWindow
*) 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 PyObject
* obj2
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "width",(char *) "height", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26080 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 arg2
= (int)(SWIG_As_int(obj1
));
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26086 arg3
= (int)(SWIG_As_int(obj2
));
26087 if (SWIG_arg_fail(3)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 (arg1
)->SetClientSize(arg2
,arg3
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 Py_INCREF(Py_None
); resultobj
= Py_None
;
26103 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "rect", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26116 if (SWIG_arg_fail(1)) SWIG_fail
;
26119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 Py_INCREF(Py_None
); resultobj
= Py_None
;
26135 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
;
26137 wxWindow
*arg1
= (wxWindow
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (arg1
)->GetPosition();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 wxPoint
* resultptr
;
26156 resultptr
= new wxPoint((wxPoint
&)(result
));
26157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26165 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxWindow
*arg1
= (wxWindow
*) 0 ;
26168 int *arg2
= (int *) 0 ;
26169 int *arg3
= (int *) 0 ;
26174 PyObject
* obj0
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self", NULL
26179 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26180 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 (arg1
)->GetPosition(arg2
,arg3
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 Py_INCREF(Py_None
); resultobj
= Py_None
;
26192 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26193 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26194 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26195 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26202 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxWindow
*arg1
= (wxWindow
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= ((wxWindow
const *)arg1
)->GetSize();
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26222 wxSize
* resultptr
;
26223 resultptr
= new wxSize((wxSize
&)(result
));
26224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26232 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
;
26234 wxWindow
*arg1
= (wxWindow
*) 0 ;
26235 int *arg2
= (int *) 0 ;
26236 int *arg3
= (int *) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self", NULL
26246 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26247 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26250 if (SWIG_arg_fail(1)) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26259 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26260 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26261 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26262 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26269 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxWindow
*arg1
= (wxWindow
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= ((wxWindow
const *)arg1
)->GetRect();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 wxRect
* resultptr
;
26290 resultptr
= new wxRect((wxRect
&)(result
));
26291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26299 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 wxSize
* resultptr
;
26320 resultptr
= new wxSize((wxSize
&)(result
));
26321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26329 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxWindow
*arg1
= (wxWindow
*) 0 ;
26332 int *arg2
= (int *) 0 ;
26333 int *arg3
= (int *) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self", NULL
26343 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26344 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 Py_INCREF(Py_None
); resultobj
= Py_None
;
26356 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26357 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26358 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26359 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26366 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxWindow
*arg1
= (wxWindow
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 wxPoint
* resultptr
;
26387 resultptr
= new wxPoint((wxPoint
&)(result
));
26388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26396 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxRect
* resultptr
;
26417 resultptr
= new wxRect((wxRect
&)(result
));
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26426 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxWindow
*arg1
= (wxWindow
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26437 if (SWIG_arg_fail(1)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 wxSize
* resultptr
;
26447 resultptr
= new wxSize((wxSize
&)(result
));
26448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26456 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 int *arg2
= (int *) 0 ;
26460 int *arg3
= (int *) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self", NULL
26470 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26471 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26483 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26484 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26485 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26486 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26493 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxWindow
*arg1
= (wxWindow
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->InvalidateBestSize();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 Py_INCREF(Py_None
); resultobj
= Py_None
;
26518 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxWindow
*arg1
= (wxWindow
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26529 if (SWIG_arg_fail(1)) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 wxSize
* resultptr
;
26539 resultptr
= new wxSize((wxSize
&)(result
));
26540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26548 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxWindow
*arg1
= (wxWindow
*) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26559 if (SWIG_arg_fail(1)) SWIG_fail
;
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26568 wxSize
* resultptr
;
26569 resultptr
= new wxSize((wxSize
&)(result
));
26570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26578 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxWindow
*arg1
= (wxWindow
*) 0 ;
26581 int arg2
= (int) wxBOTH
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "direction", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26590 if (SWIG_arg_fail(1)) SWIG_fail
;
26593 arg2
= (int)(SWIG_As_int(obj1
));
26594 if (SWIG_arg_fail(2)) SWIG_fail
;
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->Center(arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 Py_INCREF(Py_None
); resultobj
= Py_None
;
26611 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxWindow
*arg1
= (wxWindow
*) 0 ;
26614 int arg2
= (int) wxBOTH
;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "dir", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26623 if (SWIG_arg_fail(1)) SWIG_fail
;
26626 arg2
= (int)(SWIG_As_int(obj1
));
26627 if (SWIG_arg_fail(2)) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->CenterOnScreen(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 Py_INCREF(Py_None
); resultobj
= Py_None
;
26644 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxWindow
*arg1
= (wxWindow
*) 0 ;
26647 int arg2
= (int) wxBOTH
;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "dir", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail
;
26659 arg2
= (int)(SWIG_As_int(obj1
));
26660 if (SWIG_arg_fail(2)) SWIG_fail
;
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 (arg1
)->CenterOnParent(arg2
);
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 Py_INCREF(Py_None
); resultobj
= Py_None
;
26677 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
;
26679 wxWindow
*arg1
= (wxWindow
*) 0 ;
26680 PyObject
* obj0
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26687 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 Py_INCREF(Py_None
); resultobj
= Py_None
;
26702 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
;
26704 wxWindow
*arg1
= (wxWindow
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26712 if (SWIG_arg_fail(1)) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->FitInside();
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxWindow
*arg1
= (wxWindow
*) 0 ;
26732 int arg4
= (int) -1 ;
26733 int arg5
= (int) -1 ;
26734 int arg6
= (int) -1 ;
26735 int arg7
= (int) -1 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 PyObject
* obj2
= 0 ;
26739 PyObject
* obj3
= 0 ;
26740 PyObject
* obj4
= 0 ;
26741 PyObject
* obj5
= 0 ;
26742 PyObject
* obj6
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26749 if (SWIG_arg_fail(1)) SWIG_fail
;
26751 arg2
= (int)(SWIG_As_int(obj1
));
26752 if (SWIG_arg_fail(2)) SWIG_fail
;
26755 arg3
= (int)(SWIG_As_int(obj2
));
26756 if (SWIG_arg_fail(3)) SWIG_fail
;
26760 arg4
= (int)(SWIG_As_int(obj3
));
26761 if (SWIG_arg_fail(4)) SWIG_fail
;
26766 arg5
= (int)(SWIG_As_int(obj4
));
26767 if (SWIG_arg_fail(5)) SWIG_fail
;
26772 arg6
= (int)(SWIG_As_int(obj5
));
26773 if (SWIG_arg_fail(6)) SWIG_fail
;
26778 arg7
= (int)(SWIG_As_int(obj6
));
26779 if (SWIG_arg_fail(7)) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26796 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxWindow
*arg1
= (wxWindow
*) 0 ;
26800 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26801 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26802 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26803 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 PyObject
* obj3
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26817 if (SWIG_arg_fail(1)) SWIG_fail
;
26820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26825 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 Py_INCREF(Py_None
); resultobj
= Py_None
;
26848 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxWindow
*arg1
= (wxWindow
*) 0 ;
26853 int arg4
= (int) -1 ;
26854 int arg5
= (int) -1 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 PyObject
* obj4
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail
;
26868 arg2
= (int)(SWIG_As_int(obj1
));
26869 if (SWIG_arg_fail(2)) SWIG_fail
;
26872 arg3
= (int)(SWIG_As_int(obj2
));
26873 if (SWIG_arg_fail(3)) SWIG_fail
;
26877 arg4
= (int)(SWIG_As_int(obj3
));
26878 if (SWIG_arg_fail(4)) SWIG_fail
;
26883 arg5
= (int)(SWIG_As_int(obj4
));
26884 if (SWIG_arg_fail(5)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 Py_INCREF(Py_None
); resultobj
= Py_None
;
26901 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26905 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26906 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 PyObject
* obj2
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26918 if (SWIG_arg_fail(1)) SWIG_fail
;
26921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26926 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 Py_INCREF(Py_None
); resultobj
= Py_None
;
26943 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
;
26945 wxWindow
*arg1
= (wxWindow
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 wxSize
* resultptr
;
26964 resultptr
= new wxSize((wxSize
&)(result
));
26965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26973 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26984 if (SWIG_arg_fail(1)) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 wxSize
* resultptr
;
26994 resultptr
= new wxSize((wxSize
&)(result
));
26995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27003 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "minSize", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxWindow
*arg1
= (wxWindow
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 char *kwnames
[] = {
27043 (char *) "self",(char *) "maxSize", NULL
27046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27048 if (SWIG_arg_fail(1)) SWIG_fail
;
27051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 Py_INCREF(Py_None
); resultobj
= Py_None
;
27067 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_From_int((int)(result
));
27095 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxWindow
*arg1
= (wxWindow
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_From_int((int)(result
));
27123 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxWindow
*arg1
= (wxWindow
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_From_int((int)(result
));
27151 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxWindow
*arg1
= (wxWindow
*) 0 ;
27155 PyObject
* obj0
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27162 if (SWIG_arg_fail(1)) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= SWIG_From_int((int)(result
));
27179 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "size", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail
;
27195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 Py_INCREF(Py_None
); resultobj
= Py_None
;
27211 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxWindow
*arg1
= (wxWindow
*) 0 ;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 PyObject
* obj2
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self",(char *) "w",(char *) "h", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail
;
27227 arg2
= (int)(SWIG_As_int(obj1
));
27228 if (SWIG_arg_fail(2)) SWIG_fail
;
27231 arg3
= (int)(SWIG_As_int(obj2
));
27232 if (SWIG_arg_fail(3)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 (arg1
)->SetVirtualSize(arg2
,arg3
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 Py_INCREF(Py_None
); resultobj
= Py_None
;
27248 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxWindow
*arg1
= (wxWindow
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(1)) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27268 wxSize
* resultptr
;
27269 resultptr
= new wxSize((wxSize
&)(result
));
27270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27278 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxWindow
*arg1
= (wxWindow
*) 0 ;
27281 int *arg2
= (int *) 0 ;
27282 int *arg3
= (int *) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self", NULL
27292 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27293 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(1)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 Py_INCREF(Py_None
); resultobj
= Py_None
;
27305 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27306 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27307 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27308 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27315 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxWindow
*arg1
= (wxWindow
*) 0 ;
27319 PyObject
* obj0
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 wxSize
* resultptr
;
27336 resultptr
= new wxSize((wxSize
&)(result
));
27337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27345 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxWindow
*arg1
= (wxWindow
*) 0 ;
27348 bool arg2
= (bool) true ;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "show", NULL
27356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27358 if (SWIG_arg_fail(1)) SWIG_fail
;
27361 arg2
= (bool)(SWIG_As_bool(obj1
));
27362 if (SWIG_arg_fail(2)) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (bool)(arg1
)->Show(arg2
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27381 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 PyObject
* obj0
= 0 ;
27386 char *kwnames
[] = {
27387 (char *) "self", NULL
27390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 result
= (bool)(arg1
)->Hide();
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27409 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxWindow
*arg1
= (wxWindow
*) 0 ;
27412 bool arg2
= (bool) true ;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "enable", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27422 if (SWIG_arg_fail(1)) SWIG_fail
;
27425 arg2
= (bool)(SWIG_As_bool(obj1
));
27426 if (SWIG_arg_fail(2)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (bool)(arg1
)->Enable(arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27445 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
;
27447 wxWindow
*arg1
= (wxWindow
*) 0 ;
27449 PyObject
* obj0
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (bool)(arg1
)->Disable();
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27473 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxWindow
*arg1
= (wxWindow
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(1)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27501 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxWindow
*arg1
= (wxWindow
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27512 if (SWIG_arg_fail(1)) SWIG_fail
;
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27529 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxWindow
*arg1
= (wxWindow
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self",(char *) "style", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27541 if (SWIG_arg_fail(1)) SWIG_fail
;
27543 arg2
= (long)(SWIG_As_long(obj1
));
27544 if (SWIG_arg_fail(2)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 (arg1
)->SetWindowStyleFlag(arg2
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 Py_INCREF(Py_None
); resultobj
= Py_None
;
27560 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxWindow
*arg1
= (wxWindow
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_From_long((long)(result
));
27588 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxWindow
*arg1
= (wxWindow
*) 0 ;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self",(char *) "flag", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27601 if (SWIG_arg_fail(1)) SWIG_fail
;
27603 arg2
= (int)(SWIG_As_int(obj1
));
27604 if (SWIG_arg_fail(2)) SWIG_fail
;
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27622 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxWindow
*arg1
= (wxWindow
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27650 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxWindow
*arg1
= (wxWindow
*) 0 ;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self",(char *) "exStyle", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 arg2
= (long)(SWIG_As_long(obj1
));
27665 if (SWIG_arg_fail(2)) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 (arg1
)->SetExtraStyle(arg2
);
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 Py_INCREF(Py_None
); resultobj
= Py_None
;
27681 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxWindow
*arg1
= (wxWindow
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27692 if (SWIG_arg_fail(1)) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_From_long((long)(result
));
27709 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxWindow
*arg1
= (wxWindow
*) 0 ;
27712 bool arg2
= (bool) true ;
27713 PyObject
* obj0
= 0 ;
27714 PyObject
* obj1
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self",(char *) "modal", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27721 if (SWIG_arg_fail(1)) SWIG_fail
;
27724 arg2
= (bool)(SWIG_As_bool(obj1
));
27725 if (SWIG_arg_fail(2)) SWIG_fail
;
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->MakeModal(arg2
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxWindow
*arg1
= (wxWindow
*) 0 ;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "enableTheme", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27754 if (SWIG_arg_fail(1)) SWIG_fail
;
27756 arg2
= (bool)(SWIG_As_bool(obj1
));
27757 if (SWIG_arg_fail(2)) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 (arg1
)->SetThemeEnabled(arg2
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 Py_INCREF(Py_None
); resultobj
= Py_None
;
27773 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxWindow
*arg1
= (wxWindow
*) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27801 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxWindow
*arg1
= (wxWindow
*) 0 ;
27804 PyObject
* obj0
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "self", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27811 if (SWIG_arg_fail(1)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->SetFocus();
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27836 if (SWIG_arg_fail(1)) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetFocusFromKbd();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27851 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27854 char *kwnames
[] = {
27858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27860 if (!wxPyCheckForApp()) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (wxWindow
*)wxWindow::FindFocus();
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= wxPyMake_wxObject(result
, 0);
27876 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxWindow
*arg1
= (wxWindow
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27887 if (SWIG_arg_fail(1)) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27904 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
;
27906 wxWindow
*arg1
= (wxWindow
*) 0 ;
27908 PyObject
* obj0
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27915 if (SWIG_arg_fail(1)) SWIG_fail
;
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27932 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxWindow
*arg1
= (wxWindow
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= wxPyMake_wxObject(result
, 0);
27960 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27962 wxWindow
*arg1
= (wxWindow
*) 0 ;
27963 wxWindow
*arg2
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 char *kwnames
[] = {
27968 (char *) "self",(char *) "child", NULL
27971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27973 if (SWIG_arg_fail(1)) SWIG_fail
;
27974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27975 if (SWIG_arg_fail(2)) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= wxPyMake_wxObject(result
, 0);
27992 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxWindow
*arg1
= (wxWindow
*) 0 ;
27995 wxWindow
*arg2
= (wxWindow
*) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self",(char *) "win", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28004 if (SWIG_arg_fail(1)) SWIG_fail
;
28005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28006 if (SWIG_arg_fail(2)) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->SetTmpDefaultItem(arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 Py_INCREF(Py_None
); resultobj
= Py_None
;
28021 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28024 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "flags", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28037 arg2
= (int)(SWIG_As_int(obj1
));
28038 if (SWIG_arg_fail(2)) SWIG_fail
;
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 result
= (bool)(arg1
)->Navigate(arg2
);
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28057 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxWindow
*arg1
= (wxWindow
*) 0 ;
28060 wxWindow
*arg2
= (wxWindow
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 char *kwnames
[] = {
28064 (char *) "self",(char *) "win", NULL
28067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28069 if (SWIG_arg_fail(1)) SWIG_fail
;
28070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28071 if (SWIG_arg_fail(2)) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->MoveAfterInTabOrder(arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxWindow
*arg1
= (wxWindow
*) 0 ;
28089 wxWindow
*arg2
= (wxWindow
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "win", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28098 if (SWIG_arg_fail(1)) SWIG_fail
;
28099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(2)) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->MoveBeforeInTabOrder(arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxWindow
*arg1
= (wxWindow
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28126 if (SWIG_arg_fail(1)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= result
;
28141 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxWindow
*arg1
= (wxWindow
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= wxPyMake_wxObject(result
, 0);
28169 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxWindow
*arg1
= (wxWindow
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= wxPyMake_wxObject(result
, 0);
28197 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxWindow
*arg1
= (wxWindow
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28208 if (SWIG_arg_fail(1)) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28225 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxWindow
*arg1
= (wxWindow
*) 0 ;
28228 wxWindow
*arg2
= (wxWindow
*) 0 ;
28230 PyObject
* obj0
= 0 ;
28231 PyObject
* obj1
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "self",(char *) "newParent", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28238 if (SWIG_arg_fail(1)) SWIG_fail
;
28239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28240 if (SWIG_arg_fail(2)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (bool)(arg1
)->Reparent(arg2
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28257 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
;
28259 wxWindow
*arg1
= (wxWindow
*) 0 ;
28260 wxWindow
*arg2
= (wxWindow
*) 0 ;
28261 PyObject
* obj0
= 0 ;
28262 PyObject
* obj1
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self",(char *) "child", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28269 if (SWIG_arg_fail(1)) SWIG_fail
;
28270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28271 if (SWIG_arg_fail(2)) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 (arg1
)->AddChild(arg2
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 Py_INCREF(Py_None
); resultobj
= Py_None
;
28286 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxWindow
*arg1
= (wxWindow
*) 0 ;
28289 wxWindow
*arg2
= (wxWindow
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self",(char *) "child", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28298 if (SWIG_arg_fail(1)) SWIG_fail
;
28299 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28300 if (SWIG_arg_fail(2)) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 (arg1
)->RemoveChild(arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 Py_INCREF(Py_None
); resultobj
= Py_None
;
28315 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxWindow
*arg1
= (wxWindow
*) 0 ;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 char *kwnames
[] = {
28323 (char *) "self",(char *) "winid", NULL
28326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28328 if (SWIG_arg_fail(1)) SWIG_fail
;
28330 arg2
= (long)(SWIG_As_long(obj1
));
28331 if (SWIG_arg_fail(2)) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= wxPyMake_wxObject(result
, 0);
28349 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) 0 ;
28352 wxString
*arg2
= 0 ;
28354 bool temp2
= false ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self",(char *) "name", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail
;
28365 arg2
= wxString_in_helper(obj1
);
28366 if (arg2
== NULL
) SWIG_fail
;
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28377 resultobj
= wxPyMake_wxObject(result
, 0);
28393 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28394 PyObject
*resultobj
;
28395 wxWindow
*arg1
= (wxWindow
*) 0 ;
28396 wxEvtHandler
*result
;
28397 PyObject
* obj0
= 0 ;
28398 char *kwnames
[] = {
28399 (char *) "self", NULL
28402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28404 if (SWIG_arg_fail(1)) SWIG_fail
;
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= wxPyMake_wxObject(result
, 0);
28421 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
;
28423 wxWindow
*arg1
= (wxWindow
*) 0 ;
28424 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28425 PyObject
* obj0
= 0 ;
28426 PyObject
* obj1
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self",(char *) "handler", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28433 if (SWIG_arg_fail(1)) SWIG_fail
;
28434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28435 if (SWIG_arg_fail(2)) SWIG_fail
;
28437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28438 (arg1
)->SetEventHandler(arg2
);
28440 wxPyEndAllowThreads(__tstate
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 Py_INCREF(Py_None
); resultobj
= Py_None
;
28450 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxWindow
*arg1
= (wxWindow
*) 0 ;
28453 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "handler", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail
;
28463 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28464 if (SWIG_arg_fail(2)) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->PushEventHandler(arg2
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 Py_INCREF(Py_None
); resultobj
= Py_None
;
28479 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxWindow
*arg1
= (wxWindow
*) 0 ;
28482 bool arg2
= (bool) false ;
28483 wxEvtHandler
*result
;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self",(char *) "deleteHandler", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28492 if (SWIG_arg_fail(1)) SWIG_fail
;
28495 arg2
= (bool)(SWIG_As_bool(obj1
));
28496 if (SWIG_arg_fail(2)) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= wxPyMake_wxObject(result
, 0);
28515 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxWindow
*arg1
= (wxWindow
*) 0 ;
28518 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28520 PyObject
* obj0
= 0 ;
28521 PyObject
* obj1
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self",(char *) "handler", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28528 if (SWIG_arg_fail(1)) SWIG_fail
;
28529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28530 if (SWIG_arg_fail(2)) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28547 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxWindow
*arg1
= (wxWindow
*) 0 ;
28550 wxValidator
*arg2
= 0 ;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self",(char *) "validator", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28559 if (SWIG_arg_fail(1)) SWIG_fail
;
28561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28562 if (SWIG_arg_fail(2)) SWIG_fail
;
28563 if (arg2
== NULL
) {
28564 SWIG_null_ref("wxValidator");
28566 if (SWIG_arg_fail(2)) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 Py_INCREF(Py_None
); resultobj
= Py_None
;
28582 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxWindow
*arg1
= (wxWindow
*) 0 ;
28585 wxValidator
*result
;
28586 PyObject
* obj0
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self", NULL
28591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(1)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (wxValidator
*)(arg1
)->GetValidator();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= wxPyMake_wxObject(result
, 0);
28610 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxWindow
*arg1
= (wxWindow
*) 0 ;
28614 PyObject
* obj0
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "self", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28621 if (SWIG_arg_fail(1)) SWIG_fail
;
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 result
= (bool)(arg1
)->Validate();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28638 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxWindow
*arg1
= (wxWindow
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= (bool)(arg1
)->TransferDataToWindow();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28666 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxWindow
*arg1
= (wxWindow
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 char *kwnames
[] = {
28672 (char *) "self", NULL
28675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28677 if (SWIG_arg_fail(1)) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= (bool)(arg1
)->TransferDataFromWindow();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28694 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
;
28696 wxWindow
*arg1
= (wxWindow
*) 0 ;
28697 PyObject
* obj0
= 0 ;
28698 char *kwnames
[] = {
28699 (char *) "self", NULL
28702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28704 if (SWIG_arg_fail(1)) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 (arg1
)->InitDialog();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 Py_INCREF(Py_None
); resultobj
= Py_None
;
28719 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxWindow
*arg1
= (wxWindow
*) 0 ;
28722 wxAcceleratorTable
*arg2
= 0 ;
28723 PyObject
* obj0
= 0 ;
28724 PyObject
* obj1
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "accel", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail
;
28733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28734 if (SWIG_arg_fail(2)) SWIG_fail
;
28735 if (arg2
== NULL
) {
28736 SWIG_null_ref("wxAcceleratorTable");
28738 if (SWIG_arg_fail(2)) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 Py_INCREF(Py_None
); resultobj
= Py_None
;
28754 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28755 PyObject
*resultobj
;
28756 wxWindow
*arg1
= (wxWindow
*) 0 ;
28757 wxAcceleratorTable
*result
;
28758 PyObject
* obj0
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(1)) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28780 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
;
28782 wxWindow
*arg1
= (wxWindow
*) 0 ;
28787 PyObject
* obj0
= 0 ;
28788 PyObject
* obj1
= 0 ;
28789 PyObject
* obj2
= 0 ;
28790 PyObject
* obj3
= 0 ;
28791 char *kwnames
[] = {
28792 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28797 if (SWIG_arg_fail(1)) SWIG_fail
;
28799 arg2
= (int)(SWIG_As_int(obj1
));
28800 if (SWIG_arg_fail(2)) SWIG_fail
;
28803 arg3
= (int)(SWIG_As_int(obj2
));
28804 if (SWIG_arg_fail(3)) SWIG_fail
;
28807 arg4
= (int)(SWIG_As_int(obj3
));
28808 if (SWIG_arg_fail(4)) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28826 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxWindow
*arg1
= (wxWindow
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self",(char *) "hotkeyId", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28839 if (SWIG_arg_fail(1)) SWIG_fail
;
28841 arg2
= (int)(SWIG_As_int(obj1
));
28842 if (SWIG_arg_fail(2)) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28860 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxWindow
*arg1
= (wxWindow
*) 0 ;
28863 wxPoint
*arg2
= 0 ;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 char *kwnames
[] = {
28869 (char *) "self",(char *) "pt", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28874 if (SWIG_arg_fail(1)) SWIG_fail
;
28877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28887 wxPoint
* resultptr
;
28888 resultptr
= new wxPoint((wxPoint
&)(result
));
28889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28897 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxWindow
*arg1
= (wxWindow
*) 0 ;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 char *kwnames
[] = {
28906 (char *) "self",(char *) "sz", NULL
28909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28911 if (SWIG_arg_fail(1)) SWIG_fail
;
28914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28924 wxSize
* resultptr
;
28925 resultptr
= new wxSize((wxSize
&)(result
));
28926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28934 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxWindow
*arg1
= (wxWindow
*) 0 ;
28937 wxPoint
*arg2
= 0 ;
28940 PyObject
* obj0
= 0 ;
28941 PyObject
* obj1
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self",(char *) "pt", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28948 if (SWIG_arg_fail(1)) SWIG_fail
;
28951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28961 wxPoint
* resultptr
;
28962 resultptr
= new wxPoint((wxPoint
&)(result
));
28963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28971 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxWindow
*arg1
= (wxWindow
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "sz", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28988 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28998 wxSize
* resultptr
;
28999 resultptr
= new wxSize((wxSize
&)(result
));
29000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29008 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxWindow
*arg1
= (wxWindow
*) 0 ;
29011 wxPoint
*arg2
= 0 ;
29014 PyObject
* obj0
= 0 ;
29015 PyObject
* obj1
= 0 ;
29016 char *kwnames
[] = {
29017 (char *) "self",(char *) "pt", NULL
29020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29022 if (SWIG_arg_fail(1)) SWIG_fail
;
29025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29035 wxPoint
* resultptr
;
29036 resultptr
= new wxPoint((wxPoint
&)(result
));
29037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29045 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxWindow
*arg1
= (wxWindow
*) 0 ;
29051 PyObject
* obj0
= 0 ;
29052 PyObject
* obj1
= 0 ;
29053 char *kwnames
[] = {
29054 (char *) "self",(char *) "sz", NULL
29057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29059 if (SWIG_arg_fail(1)) SWIG_fail
;
29062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29072 wxSize
* resultptr
;
29073 resultptr
= new wxSize((wxSize
&)(result
));
29074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29082 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxWindow
*arg1
= (wxWindow
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 PyObject
* obj2
= 0 ;
29090 char *kwnames
[] = {
29091 (char *) "self",(char *) "x",(char *) "y", NULL
29094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29096 if (SWIG_arg_fail(1)) SWIG_fail
;
29098 arg2
= (int)(SWIG_As_int(obj1
));
29099 if (SWIG_arg_fail(2)) SWIG_fail
;
29102 arg3
= (int)(SWIG_As_int(obj2
));
29103 if (SWIG_arg_fail(3)) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 (arg1
)->WarpPointer(arg2
,arg3
);
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 Py_INCREF(Py_None
); resultobj
= Py_None
;
29119 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxWindow
*arg1
= (wxWindow
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29129 if (SWIG_arg_fail(1)) SWIG_fail
;
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 (arg1
)->CaptureMouse();
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 Py_INCREF(Py_None
); resultobj
= Py_None
;
29144 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxWindow
*arg1
= (wxWindow
*) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 char *kwnames
[] = {
29149 (char *) "self", NULL
29152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29154 if (SWIG_arg_fail(1)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 (arg1
)->ReleaseMouse();
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 Py_INCREF(Py_None
); resultobj
= Py_None
;
29169 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29172 char *kwnames
[] = {
29176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29178 if (!wxPyCheckForApp()) SWIG_fail
;
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (wxWindow
*)wxWindow::GetCapture();
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= wxPyMake_wxObject(result
, 0);
29194 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxWindow
*arg1
= (wxWindow
*) 0 ;
29198 PyObject
* obj0
= 0 ;
29199 char *kwnames
[] = {
29200 (char *) "self", NULL
29203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29205 if (SWIG_arg_fail(1)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29222 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxWindow
*arg1
= (wxWindow
*) 0 ;
29225 bool arg2
= (bool) true ;
29226 wxRect
*arg3
= (wxRect
*) NULL
;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 PyObject
* obj2
= 0 ;
29230 char *kwnames
[] = {
29231 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29236 if (SWIG_arg_fail(1)) SWIG_fail
;
29239 arg2
= (bool)(SWIG_As_bool(obj1
));
29240 if (SWIG_arg_fail(2)) SWIG_fail
;
29244 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29245 if (SWIG_arg_fail(3)) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 Py_INCREF(Py_None
); resultobj
= Py_None
;
29261 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
;
29263 wxWindow
*arg1
= (wxWindow
*) 0 ;
29265 bool arg3
= (bool) true ;
29267 PyObject
* obj0
= 0 ;
29268 PyObject
* obj1
= 0 ;
29269 PyObject
* obj2
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail
;
29279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29283 arg3
= (bool)(SWIG_As_bool(obj2
));
29284 if (SWIG_arg_fail(3)) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxWindow
*arg1
= (wxWindow
*) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29311 if (SWIG_arg_fail(1)) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 Py_INCREF(Py_None
); resultobj
= Py_None
;
29326 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
;
29328 wxWindow
*arg1
= (wxWindow
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(1)) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 (arg1
)->ClearBackground();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxWindow
*arg1
= (wxWindow
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxWindow
*arg1
= (wxWindow
*) 0 ;
29379 PyObject
* obj0
= 0 ;
29380 char *kwnames
[] = {
29381 (char *) "self", NULL
29384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29386 if (SWIG_arg_fail(1)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 Py_INCREF(Py_None
); resultobj
= Py_None
;
29401 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
;
29403 wxWindow
*arg1
= (wxWindow
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "dc", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(1)) SWIG_fail
;
29415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(2)) SWIG_fail
;
29417 if (arg2
== NULL
) {
29418 SWIG_null_ref("wxDC");
29420 if (SWIG_arg_fail(2)) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->PrepareDC(*arg2
);
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 Py_INCREF(Py_None
); resultobj
= Py_None
;
29436 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxWindow
*arg1
= (wxWindow
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29452 result
= (wxRegion
*) &_result_ref
;
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29465 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxWindow
*arg1
= (wxWindow
*) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 wxRect
* resultptr
;
29486 resultptr
= new wxRect((wxRect
&)(result
));
29487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29495 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxWindow
*arg1
= (wxWindow
*) 0 ;
29500 int arg4
= (int) 1 ;
29501 int arg5
= (int) 1 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 PyObject
* obj2
= 0 ;
29506 PyObject
* obj3
= 0 ;
29507 PyObject
* obj4
= 0 ;
29508 char *kwnames
[] = {
29509 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29514 if (SWIG_arg_fail(1)) SWIG_fail
;
29516 arg2
= (int)(SWIG_As_int(obj1
));
29517 if (SWIG_arg_fail(2)) SWIG_fail
;
29520 arg3
= (int)(SWIG_As_int(obj2
));
29521 if (SWIG_arg_fail(3)) SWIG_fail
;
29525 arg4
= (int)(SWIG_As_int(obj3
));
29526 if (SWIG_arg_fail(4)) SWIG_fail
;
29531 arg5
= (int)(SWIG_As_int(obj4
));
29532 if (SWIG_arg_fail(5)) SWIG_fail
;
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29551 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxWindow
*arg1
= (wxWindow
*) 0 ;
29554 wxPoint
*arg2
= 0 ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self",(char *) "pt", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29565 if (SWIG_arg_fail(1)) SWIG_fail
;
29568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29586 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxWindow
*arg1
= (wxWindow
*) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "rect", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29600 if (SWIG_arg_fail(1)) SWIG_fail
;
29603 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29621 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
;
29623 wxWindow
*arg1
= (wxWindow
*) 0 ;
29624 wxVisualAttributes result
;
29625 PyObject
* obj0
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 wxVisualAttributes
* resultptr
;
29642 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29651 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29654 wxVisualAttributes result
;
29655 PyObject
* obj0
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "variant", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29663 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29664 if (SWIG_arg_fail(1)) SWIG_fail
;
29668 if (!wxPyCheckForApp()) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 wxVisualAttributes
* resultptr
;
29677 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29686 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29687 PyObject
*resultobj
;
29688 wxWindow
*arg1
= (wxWindow
*) 0 ;
29689 wxColour
*arg2
= 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 char *kwnames
[] = {
29695 (char *) "self",(char *) "colour", NULL
29698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail
;
29703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29721 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxWindow
*arg1
= (wxWindow
*) 0 ;
29724 wxColour
*arg2
= 0 ;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self",(char *) "colour", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29734 if (SWIG_arg_fail(1)) SWIG_fail
;
29737 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 Py_INCREF(Py_None
); resultobj
= Py_None
;
29753 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxWindow
*arg1
= (wxWindow
*) 0 ;
29756 wxColour
*arg2
= 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self",(char *) "colour", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29767 if (SWIG_arg_fail(1)) SWIG_fail
;
29770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29788 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
;
29790 wxWindow
*arg1
= (wxWindow
*) 0 ;
29791 wxColour
*arg2
= 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 char *kwnames
[] = {
29796 (char *) "self",(char *) "colour", NULL
29799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29801 if (SWIG_arg_fail(1)) SWIG_fail
;
29804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29810 wxPyEndAllowThreads(__tstate
);
29811 if (PyErr_Occurred()) SWIG_fail
;
29813 Py_INCREF(Py_None
); resultobj
= Py_None
;
29820 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29821 PyObject
*resultobj
;
29822 wxWindow
*arg1
= (wxWindow
*) 0 ;
29824 PyObject
* obj0
= 0 ;
29825 char *kwnames
[] = {
29826 (char *) "self", NULL
29829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29831 if (SWIG_arg_fail(1)) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29840 wxColour
* resultptr
;
29841 resultptr
= new wxColour((wxColour
&)(result
));
29842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29850 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxWindow
*arg1
= (wxWindow
*) 0 ;
29854 PyObject
* obj0
= 0 ;
29855 char *kwnames
[] = {
29856 (char *) "self", NULL
29859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29861 if (SWIG_arg_fail(1)) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 wxColour
* resultptr
;
29871 resultptr
= new wxColour((wxColour
&)(result
));
29872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29880 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxWindow
*arg1
= (wxWindow
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29891 if (SWIG_arg_fail(1)) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29908 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxWindow
*arg1
= (wxWindow
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 char *kwnames
[] = {
29914 (char *) "self", NULL
29917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29919 if (SWIG_arg_fail(1)) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29936 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxWindow
*arg1
= (wxWindow
*) 0 ;
29939 wxBackgroundStyle arg2
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "style", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail
;
29951 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29952 if (SWIG_arg_fail(2)) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29970 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxWindow
*arg1
= (wxWindow
*) 0 ;
29973 wxBackgroundStyle result
;
29974 PyObject
* obj0
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_From_int((result
));
29996 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxWindow
*arg1
= (wxWindow
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30007 if (SWIG_arg_fail(1)) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (bool)(arg1
)->HasTransparentBackground();
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30024 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxWindow
*arg1
= (wxWindow
*) 0 ;
30027 wxCursor
*arg2
= 0 ;
30029 PyObject
* obj0
= 0 ;
30030 PyObject
* obj1
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self",(char *) "cursor", NULL
30035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30037 if (SWIG_arg_fail(1)) SWIG_fail
;
30039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30040 if (SWIG_arg_fail(2)) SWIG_fail
;
30041 if (arg2
== NULL
) {
30042 SWIG_null_ref("wxCursor");
30044 if (SWIG_arg_fail(2)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30062 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxWindow
*arg1
= (wxWindow
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30073 if (SWIG_arg_fail(1)) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (arg1
)->GetCursor();
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30082 wxCursor
* resultptr
;
30083 resultptr
= new wxCursor((wxCursor
&)(result
));
30084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30092 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxWindow
*arg1
= (wxWindow
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "self",(char *) "font", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30105 if (SWIG_arg_fail(1)) SWIG_fail
;
30107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30108 if (SWIG_arg_fail(2)) SWIG_fail
;
30109 if (arg2
== NULL
) {
30110 SWIG_null_ref("wxFont");
30112 if (SWIG_arg_fail(2)) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30130 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
;
30132 wxWindow
*arg1
= (wxWindow
*) 0 ;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 char *kwnames
[] = {
30137 (char *) "self",(char *) "font", NULL
30140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30142 if (SWIG_arg_fail(1)) SWIG_fail
;
30144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30145 if (SWIG_arg_fail(2)) SWIG_fail
;
30146 if (arg2
== NULL
) {
30147 SWIG_null_ref("wxFont");
30149 if (SWIG_arg_fail(2)) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
;
30167 wxWindow
*arg1
= (wxWindow
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30176 if (SWIG_arg_fail(1)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (arg1
)->GetFont();
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 wxFont
* resultptr
;
30186 resultptr
= new wxFont((wxFont
&)(result
));
30187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30195 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
;
30197 wxWindow
*arg1
= (wxWindow
*) 0 ;
30198 wxCaret
*arg2
= (wxCaret
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "caret", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail
;
30208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30209 if (SWIG_arg_fail(2)) SWIG_fail
;
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 (arg1
)->SetCaret(arg2
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 Py_INCREF(Py_None
); resultobj
= Py_None
;
30224 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxWindow
*arg1
= (wxWindow
*) 0 ;
30228 PyObject
* obj0
= 0 ;
30229 char *kwnames
[] = {
30230 (char *) "self", NULL
30233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30235 if (SWIG_arg_fail(1)) SWIG_fail
;
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30250 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 wxWindow
*arg1
= (wxWindow
*) 0 ;
30254 PyObject
* obj0
= 0 ;
30255 char *kwnames
[] = {
30256 (char *) "self", NULL
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30261 if (SWIG_arg_fail(1)) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_From_int((int)(result
));
30278 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxWindow
*arg1
= (wxWindow
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30289 if (SWIG_arg_fail(1)) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_From_int((int)(result
));
30306 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxWindow
*arg1
= (wxWindow
*) 0 ;
30309 wxString
*arg2
= 0 ;
30310 int *arg3
= (int *) 0 ;
30311 int *arg4
= (int *) 0 ;
30312 bool temp2
= false ;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self",(char *) "string", NULL
30323 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30324 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30327 if (SWIG_arg_fail(1)) SWIG_fail
;
30329 arg2
= wxString_in_helper(obj1
);
30330 if (arg2
== NULL
) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30340 Py_INCREF(Py_None
); resultobj
= Py_None
;
30341 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30342 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30343 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30344 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30359 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
;
30361 wxWindow
*arg1
= (wxWindow
*) 0 ;
30362 wxString
*arg2
= 0 ;
30363 int *arg3
= (int *) 0 ;
30364 int *arg4
= (int *) 0 ;
30365 int *arg5
= (int *) 0 ;
30366 int *arg6
= (int *) 0 ;
30367 wxFont
*arg7
= (wxFont
*) NULL
;
30368 bool temp2
= false ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 char *kwnames
[] = {
30381 (char *) "self",(char *) "string",(char *) "font", NULL
30384 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30385 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30386 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30387 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 arg2
= wxString_in_helper(obj1
);
30393 if (arg2
== NULL
) SWIG_fail
;
30397 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30398 if (SWIG_arg_fail(7)) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 Py_INCREF(Py_None
); resultobj
= Py_None
;
30408 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30409 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30410 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30411 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30412 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30413 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30414 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30415 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30430 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxWindow
*arg1
= (wxWindow
*) 0 ;
30433 int *arg2
= (int *) 0 ;
30434 int *arg3
= (int *) 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 PyObject
* obj2
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self",(char *) "x",(char *) "y", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30448 if (SWIG_arg_fail(1)) SWIG_fail
;
30450 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30451 temp2
= SWIG_As_int(obj1
);
30452 if (SWIG_arg_fail(2)) SWIG_fail
;
30454 res2
= SWIG_NEWOBJ
;
30458 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30459 temp3
= SWIG_As_int(obj2
);
30460 if (SWIG_arg_fail(3)) SWIG_fail
;
30462 res3
= SWIG_NEWOBJ
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 Py_INCREF(Py_None
); resultobj
= Py_None
;
30473 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30474 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30475 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30476 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30483 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxWindow
*arg1
= (wxWindow
*) 0 ;
30486 int *arg2
= (int *) 0 ;
30487 int *arg3
= (int *) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 PyObject
* obj2
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self",(char *) "x",(char *) "y", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30501 if (SWIG_arg_fail(1)) SWIG_fail
;
30503 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30504 temp2
= SWIG_As_int(obj1
);
30505 if (SWIG_arg_fail(2)) SWIG_fail
;
30507 res2
= SWIG_NEWOBJ
;
30511 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30512 temp3
= SWIG_As_int(obj2
);
30513 if (SWIG_arg_fail(3)) SWIG_fail
;
30515 res3
= SWIG_NEWOBJ
;
30519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 Py_INCREF(Py_None
); resultobj
= Py_None
;
30526 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30527 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30528 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30529 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30536 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
;
30538 wxWindow
*arg1
= (wxWindow
*) 0 ;
30539 wxPoint
*arg2
= 0 ;
30542 PyObject
* obj0
= 0 ;
30543 PyObject
* obj1
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self",(char *) "pt", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail
;
30553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30563 wxPoint
* resultptr
;
30564 resultptr
= new wxPoint((wxPoint
&)(result
));
30565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30573 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxWindow
*arg1
= (wxWindow
*) 0 ;
30576 wxPoint
*arg2
= 0 ;
30579 PyObject
* obj0
= 0 ;
30580 PyObject
* obj1
= 0 ;
30581 char *kwnames
[] = {
30582 (char *) "self",(char *) "pt", NULL
30585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30600 wxPoint
* resultptr
;
30601 resultptr
= new wxPoint((wxPoint
&)(result
));
30602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30610 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
;
30612 wxWindow
*arg1
= (wxWindow
*) 0 ;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 PyObject
* obj2
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self",(char *) "x",(char *) "y", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30625 if (SWIG_arg_fail(1)) SWIG_fail
;
30627 arg2
= (int)(SWIG_As_int(obj1
));
30628 if (SWIG_arg_fail(2)) SWIG_fail
;
30631 arg3
= (int)(SWIG_As_int(obj2
));
30632 if (SWIG_arg_fail(3)) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_From_int((result
));
30648 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30649 PyObject
*resultobj
;
30650 wxWindow
*arg1
= (wxWindow
*) 0 ;
30651 wxPoint
*arg2
= 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "pt", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30662 if (SWIG_arg_fail(1)) SWIG_fail
;
30665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_From_int((result
));
30681 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30682 PyObject
*resultobj
;
30683 wxWindow
*arg1
= (wxWindow
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30689 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30691 if (SWIG_arg_fail(1)) SWIG_fail
;
30693 arg2
= (long)(SWIG_As_long(obj1
));
30694 if (SWIG_arg_fail(2)) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_From_int((result
));
30710 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30711 PyObject
*resultobj
;
30712 wxWindow
*arg1
= (wxWindow
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30716 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30718 if (SWIG_arg_fail(1)) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_From_int((result
));
30733 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30738 argc
= PyObject_Length(args
);
30739 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30740 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30754 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30761 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30769 _v
= SWIG_Check_long(argv
[1]);
30771 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30776 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30781 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxWindow
*arg1
= (wxWindow
*) 0 ;
30784 long arg2
= (long) wxUPDATE_UI_NONE
;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char *kwnames
[] = {
30788 (char *) "self",(char *) "flags", NULL
30791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30793 if (SWIG_arg_fail(1)) SWIG_fail
;
30796 arg2
= (long)(SWIG_As_long(obj1
));
30797 if (SWIG_arg_fail(2)) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 (arg1
)->UpdateWindowUI(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 Py_INCREF(Py_None
); resultobj
= Py_None
;
30814 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxWindow
*arg1
= (wxWindow
*) 0 ;
30817 wxMenu
*arg2
= (wxMenu
*) 0 ;
30818 int arg3
= (int) -1 ;
30819 int arg4
= (int) -1 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 PyObject
* obj2
= 0 ;
30824 PyObject
* obj3
= 0 ;
30825 char *kwnames
[] = {
30826 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30831 if (SWIG_arg_fail(1)) SWIG_fail
;
30832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30833 if (SWIG_arg_fail(2)) SWIG_fail
;
30836 arg3
= (int)(SWIG_As_int(obj2
));
30837 if (SWIG_arg_fail(3)) SWIG_fail
;
30842 arg4
= (int)(SWIG_As_int(obj3
));
30843 if (SWIG_arg_fail(4)) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30862 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30863 PyObject
*resultobj
;
30864 wxWindow
*arg1
= (wxWindow
*) 0 ;
30865 wxMenu
*arg2
= (wxMenu
*) 0 ;
30866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 PyObject
* obj2
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self",(char *) "menu",(char *) "pos", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30879 if (SWIG_arg_fail(1)) SWIG_fail
;
30880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30881 if (SWIG_arg_fail(2)) SWIG_fail
;
30885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30904 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxWindow
*arg1
= (wxWindow
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30915 if (SWIG_arg_fail(1)) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (long)wxWindow_GetHandle(arg1
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= SWIG_From_long((long)(result
));
30932 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxWindow
*arg1
= (wxWindow
*) 0 ;
30936 PyObject
* obj0
= 0 ;
30937 PyObject
* obj1
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self",(char *) "handle", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30944 if (SWIG_arg_fail(1)) SWIG_fail
;
30946 arg2
= (long)(SWIG_As_long(obj1
));
30947 if (SWIG_arg_fail(2)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 wxWindow_AssociateHandle(arg1
,arg2
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30956 Py_INCREF(Py_None
); resultobj
= Py_None
;
30963 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
;
30965 wxWindow
*arg1
= (wxWindow
*) 0 ;
30966 PyObject
* obj0
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30973 if (SWIG_arg_fail(1)) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 (arg1
)->DissociateHandle();
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30981 Py_INCREF(Py_None
); resultobj
= Py_None
;
30988 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxWindow
*arg1
= (wxWindow
*) 0 ;
30991 wxPaintEvent
*arg2
= 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self",(char *) "event", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31000 if (SWIG_arg_fail(1)) SWIG_fail
;
31002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
31003 if (SWIG_arg_fail(2)) SWIG_fail
;
31004 if (arg2
== NULL
) {
31005 SWIG_null_ref("wxPaintEvent");
31007 if (SWIG_arg_fail(2)) SWIG_fail
;
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 (arg1
)->OnPaint(*arg2
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 Py_INCREF(Py_None
); resultobj
= Py_None
;
31023 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxWindow
*arg1
= (wxWindow
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 PyObject
* obj1
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self",(char *) "orient", NULL
31034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31036 if (SWIG_arg_fail(1)) SWIG_fail
;
31038 arg2
= (int)(SWIG_As_int(obj1
));
31039 if (SWIG_arg_fail(2)) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31057 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxWindow
*arg1
= (wxWindow
*) 0 ;
31064 bool arg6
= (bool) true ;
31065 PyObject
* obj0
= 0 ;
31066 PyObject
* obj1
= 0 ;
31067 PyObject
* obj2
= 0 ;
31068 PyObject
* obj3
= 0 ;
31069 PyObject
* obj4
= 0 ;
31070 PyObject
* obj5
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31077 if (SWIG_arg_fail(1)) SWIG_fail
;
31079 arg2
= (int)(SWIG_As_int(obj1
));
31080 if (SWIG_arg_fail(2)) SWIG_fail
;
31083 arg3
= (int)(SWIG_As_int(obj2
));
31084 if (SWIG_arg_fail(3)) SWIG_fail
;
31087 arg4
= (int)(SWIG_As_int(obj3
));
31088 if (SWIG_arg_fail(4)) SWIG_fail
;
31091 arg5
= (int)(SWIG_As_int(obj4
));
31092 if (SWIG_arg_fail(5)) SWIG_fail
;
31096 arg6
= (bool)(SWIG_As_bool(obj5
));
31097 if (SWIG_arg_fail(6)) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 Py_INCREF(Py_None
); resultobj
= Py_None
;
31114 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
;
31116 wxWindow
*arg1
= (wxWindow
*) 0 ;
31119 bool arg4
= (bool) true ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 PyObject
* obj2
= 0 ;
31123 PyObject
* obj3
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31130 if (SWIG_arg_fail(1)) SWIG_fail
;
31132 arg2
= (int)(SWIG_As_int(obj1
));
31133 if (SWIG_arg_fail(2)) SWIG_fail
;
31136 arg3
= (int)(SWIG_As_int(obj2
));
31137 if (SWIG_arg_fail(3)) SWIG_fail
;
31141 arg4
= (bool)(SWIG_As_bool(obj3
));
31142 if (SWIG_arg_fail(4)) SWIG_fail
;
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 Py_INCREF(Py_None
); resultobj
= Py_None
;
31159 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
;
31161 wxWindow
*arg1
= (wxWindow
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 PyObject
* obj1
= 0 ;
31166 char *kwnames
[] = {
31167 (char *) "self",(char *) "orientation", NULL
31170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31172 if (SWIG_arg_fail(1)) SWIG_fail
;
31174 arg2
= (int)(SWIG_As_int(obj1
));
31175 if (SWIG_arg_fail(2)) SWIG_fail
;
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_From_int((int)(result
));
31193 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
;
31195 wxWindow
*arg1
= (wxWindow
*) 0 ;
31198 PyObject
* obj0
= 0 ;
31199 PyObject
* obj1
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self",(char *) "orientation", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31206 if (SWIG_arg_fail(1)) SWIG_fail
;
31208 arg2
= (int)(SWIG_As_int(obj1
));
31209 if (SWIG_arg_fail(2)) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= SWIG_From_int((int)(result
));
31227 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
;
31229 wxWindow
*arg1
= (wxWindow
*) 0 ;
31232 PyObject
* obj0
= 0 ;
31233 PyObject
* obj1
= 0 ;
31234 char *kwnames
[] = {
31235 (char *) "self",(char *) "orientation", NULL
31238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31240 if (SWIG_arg_fail(1)) SWIG_fail
;
31242 arg2
= (int)(SWIG_As_int(obj1
));
31243 if (SWIG_arg_fail(2)) SWIG_fail
;
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31253 resultobj
= SWIG_From_int((int)(result
));
31261 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxWindow
*arg1
= (wxWindow
*) 0 ;
31266 wxRect
*arg4
= (wxRect
*) NULL
;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 PyObject
* obj2
= 0 ;
31270 PyObject
* obj3
= 0 ;
31271 char *kwnames
[] = {
31272 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31277 if (SWIG_arg_fail(1)) SWIG_fail
;
31279 arg2
= (int)(SWIG_As_int(obj1
));
31280 if (SWIG_arg_fail(2)) SWIG_fail
;
31283 arg3
= (int)(SWIG_As_int(obj2
));
31284 if (SWIG_arg_fail(3)) SWIG_fail
;
31287 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31288 if (SWIG_arg_fail(4)) SWIG_fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 Py_INCREF(Py_None
); resultobj
= Py_None
;
31304 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxWindow
*arg1
= (wxWindow
*) 0 ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "lines", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31317 if (SWIG_arg_fail(1)) SWIG_fail
;
31319 arg2
= (int)(SWIG_As_int(obj1
));
31320 if (SWIG_arg_fail(2)) SWIG_fail
;
31323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 result
= (bool)(arg1
)->ScrollLines(arg2
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31338 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
;
31340 wxWindow
*arg1
= (wxWindow
*) 0 ;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 char *kwnames
[] = {
31346 (char *) "self",(char *) "pages", NULL
31349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31351 if (SWIG_arg_fail(1)) SWIG_fail
;
31353 arg2
= (int)(SWIG_As_int(obj1
));
31354 if (SWIG_arg_fail(2)) SWIG_fail
;
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 result
= (bool)(arg1
)->ScrollPages(arg2
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31372 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
;
31374 wxWindow
*arg1
= (wxWindow
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 char *kwnames
[] = {
31378 (char *) "self", NULL
31381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31383 if (SWIG_arg_fail(1)) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (bool)(arg1
)->LineUp();
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxWindow
*arg1
= (wxWindow
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (bool)(arg1
)->LineDown();
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31428 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxWindow
*arg1
= (wxWindow
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (bool)(arg1
)->PageUp();
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31456 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxWindow
*arg1
= (wxWindow
*) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (bool)(arg1
)->PageDown();
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31484 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxWindow
*arg1
= (wxWindow
*) 0 ;
31487 wxString
*arg2
= 0 ;
31488 bool temp2
= false ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 char *kwnames
[] = {
31492 (char *) "self",(char *) "text", NULL
31495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31497 if (SWIG_arg_fail(1)) SWIG_fail
;
31499 arg2
= wxString_in_helper(obj1
);
31500 if (arg2
== NULL
) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31525 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31527 wxWindow
*arg1
= (wxWindow
*) 0 ;
31528 wxString
*arg2
= 0 ;
31529 bool temp2
= false ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self",(char *) "text", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31538 if (SWIG_arg_fail(1)) SWIG_fail
;
31540 arg2
= wxString_in_helper(obj1
);
31541 if (arg2
== NULL
) SWIG_fail
;
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31568 wxWindow
*arg1
= (wxWindow
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31577 if (SWIG_arg_fail(1)) SWIG_fail
;
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31598 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
;
31600 wxWindow
*arg1
= (wxWindow
*) 0 ;
31601 wxString
*arg2
= 0 ;
31602 bool temp2
= false ;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self",(char *) "tip", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31611 if (SWIG_arg_fail(1)) SWIG_fail
;
31613 arg2
= wxString_in_helper(obj1
);
31614 if (arg2
== NULL
) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 Py_INCREF(Py_None
); resultobj
= Py_None
;
31639 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxWindow
*arg1
= (wxWindow
*) 0 ;
31642 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31643 PyObject
* obj0
= 0 ;
31644 PyObject
* obj1
= 0 ;
31645 char *kwnames
[] = {
31646 (char *) "self",(char *) "tip", NULL
31649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31651 if (SWIG_arg_fail(1)) SWIG_fail
;
31652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31653 if (SWIG_arg_fail(2)) SWIG_fail
;
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 (arg1
)->SetToolTip(arg2
);
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31661 Py_INCREF(Py_None
); resultobj
= Py_None
;
31668 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31669 PyObject
*resultobj
;
31670 wxWindow
*arg1
= (wxWindow
*) 0 ;
31672 PyObject
* obj0
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31679 if (SWIG_arg_fail(1)) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= wxPyMake_wxObject(result
, 0);
31696 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxWindow
*arg1
= (wxWindow
*) 0 ;
31699 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31700 PyObject
* obj0
= 0 ;
31701 PyObject
* obj1
= 0 ;
31702 char *kwnames
[] = {
31703 (char *) "self",(char *) "dropTarget", NULL
31706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31708 if (SWIG_arg_fail(1)) SWIG_fail
;
31709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31710 if (SWIG_arg_fail(2)) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->SetDropTarget(arg2
);
31715 wxPyEndAllowThreads(__tstate
);
31716 if (PyErr_Occurred()) SWIG_fail
;
31718 Py_INCREF(Py_None
); resultobj
= Py_None
;
31725 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
;
31727 wxWindow
*arg1
= (wxWindow
*) 0 ;
31728 wxPyDropTarget
*result
;
31729 PyObject
* obj0
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31736 if (SWIG_arg_fail(1)) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31751 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxWindow
*arg1
= (wxWindow
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "accept", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31763 if (SWIG_arg_fail(1)) SWIG_fail
;
31765 arg2
= (bool)(SWIG_As_bool(obj1
));
31766 if (SWIG_arg_fail(2)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 (arg1
)->DragAcceptFiles(arg2
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 Py_INCREF(Py_None
); resultobj
= Py_None
;
31782 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
;
31784 wxWindow
*arg1
= (wxWindow
*) 0 ;
31785 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 char *kwnames
[] = {
31789 (char *) "self",(char *) "constraints", NULL
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail
;
31795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31796 if (SWIG_arg_fail(2)) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 (arg1
)->SetConstraints(arg2
);
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 Py_INCREF(Py_None
); resultobj
= Py_None
;
31811 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
;
31813 wxWindow
*arg1
= (wxWindow
*) 0 ;
31814 wxLayoutConstraints
*result
;
31815 PyObject
* obj0
= 0 ;
31816 char *kwnames
[] = {
31817 (char *) "self", NULL
31820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31822 if (SWIG_arg_fail(1)) SWIG_fail
;
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31837 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31838 PyObject
*resultobj
;
31839 wxWindow
*arg1
= (wxWindow
*) 0 ;
31841 PyObject
* obj0
= 0 ;
31842 PyObject
* obj1
= 0 ;
31843 char *kwnames
[] = {
31844 (char *) "self",(char *) "autoLayout", NULL
31847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31849 if (SWIG_arg_fail(1)) SWIG_fail
;
31851 arg2
= (bool)(SWIG_As_bool(obj1
));
31852 if (SWIG_arg_fail(2)) SWIG_fail
;
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 (arg1
)->SetAutoLayout(arg2
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 Py_INCREF(Py_None
); resultobj
= Py_None
;
31868 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
;
31870 wxWindow
*arg1
= (wxWindow
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31896 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxWindow
*arg1
= (wxWindow
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31907 if (SWIG_arg_fail(1)) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (bool)(arg1
)->Layout();
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31924 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxWindow
*arg1
= (wxWindow
*) 0 ;
31927 wxSizer
*arg2
= (wxSizer
*) 0 ;
31928 bool arg3
= (bool) true ;
31929 PyObject
* obj0
= 0 ;
31930 PyObject
* obj1
= 0 ;
31931 PyObject
* obj2
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail
;
31939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31940 if (SWIG_arg_fail(2)) SWIG_fail
;
31943 arg3
= (bool)(SWIG_As_bool(obj2
));
31944 if (SWIG_arg_fail(3)) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 (arg1
)->SetSizer(arg2
,arg3
);
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 Py_INCREF(Py_None
); resultobj
= Py_None
;
31961 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
;
31963 wxWindow
*arg1
= (wxWindow
*) 0 ;
31964 wxSizer
*arg2
= (wxSizer
*) 0 ;
31965 bool arg3
= (bool) true ;
31966 PyObject
* obj0
= 0 ;
31967 PyObject
* obj1
= 0 ;
31968 PyObject
* obj2
= 0 ;
31969 char *kwnames
[] = {
31970 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31975 if (SWIG_arg_fail(1)) SWIG_fail
;
31976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31977 if (SWIG_arg_fail(2)) SWIG_fail
;
31980 arg3
= (bool)(SWIG_As_bool(obj2
));
31981 if (SWIG_arg_fail(3)) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 Py_INCREF(Py_None
); resultobj
= Py_None
;
31998 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
;
32000 wxWindow
*arg1
= (wxWindow
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32009 if (SWIG_arg_fail(1)) SWIG_fail
;
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32014 wxPyEndAllowThreads(__tstate
);
32015 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= wxPyMake_wxSizer(result
, 0);
32026 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxWindow
*arg1
= (wxWindow
*) 0 ;
32029 wxSizer
*arg2
= (wxSizer
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 PyObject
* obj1
= 0 ;
32032 char *kwnames
[] = {
32033 (char *) "self",(char *) "sizer", NULL
32036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32038 if (SWIG_arg_fail(1)) SWIG_fail
;
32039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32040 if (SWIG_arg_fail(2)) SWIG_fail
;
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 (arg1
)->SetContainingSizer(arg2
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 Py_INCREF(Py_None
); resultobj
= Py_None
;
32055 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32056 PyObject
*resultobj
;
32057 wxWindow
*arg1
= (wxWindow
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 char *kwnames
[] = {
32061 (char *) "self", NULL
32064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32066 if (SWIG_arg_fail(1)) SWIG_fail
;
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32075 resultobj
= wxPyMake_wxSizer(result
, 0);
32083 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxWindow
*arg1
= (wxWindow
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32093 if (SWIG_arg_fail(1)) SWIG_fail
;
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 (arg1
)->InheritAttributes();
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32101 Py_INCREF(Py_None
); resultobj
= Py_None
;
32108 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32109 PyObject
*resultobj
;
32110 wxWindow
*arg1
= (wxWindow
*) 0 ;
32112 PyObject
* obj0
= 0 ;
32113 char *kwnames
[] = {
32114 (char *) "self", NULL
32117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32119 if (SWIG_arg_fail(1)) SWIG_fail
;
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32136 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32139 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32141 return Py_BuildValue((char *)"");
32143 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32146 wxWindow
*arg2
= (wxWindow
*) NULL
;
32148 PyObject
* obj0
= 0 ;
32149 PyObject
* obj1
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "id",(char *) "parent", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32156 arg1
= (long)(SWIG_As_long(obj0
));
32157 if (SWIG_arg_fail(1)) SWIG_fail
;
32160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32161 if (SWIG_arg_fail(2)) SWIG_fail
;
32164 if (!wxPyCheckForApp()) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= wxPyMake_wxObject(result
, 0);
32180 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
;
32182 wxString
*arg1
= 0 ;
32183 wxWindow
*arg2
= (wxWindow
*) NULL
;
32185 bool temp1
= false ;
32186 PyObject
* obj0
= 0 ;
32187 PyObject
* obj1
= 0 ;
32188 char *kwnames
[] = {
32189 (char *) "name",(char *) "parent", NULL
32192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32194 arg1
= wxString_in_helper(obj0
);
32195 if (arg1
== NULL
) SWIG_fail
;
32199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32200 if (SWIG_arg_fail(2)) SWIG_fail
;
32203 if (!wxPyCheckForApp()) SWIG_fail
;
32204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32205 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32207 wxPyEndAllowThreads(__tstate
);
32208 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= wxPyMake_wxObject(result
, 0);
32227 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32228 PyObject
*resultobj
;
32229 wxString
*arg1
= 0 ;
32230 wxWindow
*arg2
= (wxWindow
*) NULL
;
32232 bool temp1
= false ;
32233 PyObject
* obj0
= 0 ;
32234 PyObject
* obj1
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "label",(char *) "parent", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32241 arg1
= wxString_in_helper(obj0
);
32242 if (arg1
== NULL
) SWIG_fail
;
32246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32247 if (SWIG_arg_fail(2)) SWIG_fail
;
32250 if (!wxPyCheckForApp()) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= wxPyMake_wxObject(result
, 0);
32274 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
;
32276 wxWindow
*arg1
= (wxWindow
*) 0 ;
32277 unsigned long arg2
;
32279 PyObject
* obj0
= 0 ;
32280 PyObject
* obj1
= 0 ;
32281 char *kwnames
[] = {
32282 (char *) "parent",(char *) "_hWnd", NULL
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32287 if (SWIG_arg_fail(1)) SWIG_fail
;
32289 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32290 if (SWIG_arg_fail(2)) SWIG_fail
;
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= wxPyMake_wxObject(result
, 0);
32308 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32311 char *kwnames
[] = {
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 result
= (PyObject
*)GetTopLevelWindows();
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32323 resultobj
= result
;
32330 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 wxValidator
*result
;
32333 char *kwnames
[] = {
32337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 result
= (wxValidator
*)new wxValidator();
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32352 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32354 wxValidator
*arg1
= (wxValidator
*) 0 ;
32355 wxValidator
*result
;
32356 PyObject
* obj0
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self", NULL
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32363 if (SWIG_arg_fail(1)) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 result
= (wxValidator
*)(arg1
)->Clone();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32372 resultobj
= wxPyMake_wxObject(result
, 0);
32380 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
;
32382 wxValidator
*arg1
= (wxValidator
*) 0 ;
32383 wxWindow
*arg2
= (wxWindow
*) 0 ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self",(char *) "parent", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail
;
32394 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32395 if (SWIG_arg_fail(2)) SWIG_fail
;
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 result
= (bool)(arg1
)->Validate(arg2
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32412 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxValidator
*arg1
= (wxValidator
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 char *kwnames
[] = {
32418 (char *) "self", NULL
32421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(1)) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (bool)(arg1
)->TransferToWindow();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32440 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxValidator
*arg1
= (wxValidator
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 result
= (bool)(arg1
)->TransferFromWindow();
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32468 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
;
32470 wxValidator
*arg1
= (wxValidator
*) 0 ;
32472 PyObject
* obj0
= 0 ;
32473 char *kwnames
[] = {
32474 (char *) "self", NULL
32477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32479 if (SWIG_arg_fail(1)) SWIG_fail
;
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 result
= (wxWindow
*)(arg1
)->GetWindow();
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= wxPyMake_wxObject(result
, 0);
32496 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
;
32498 wxValidator
*arg1
= (wxValidator
*) 0 ;
32499 wxWindow
*arg2
= (wxWindow
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 char *kwnames
[] = {
32503 (char *) "self",(char *) "window", NULL
32506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32508 if (SWIG_arg_fail(1)) SWIG_fail
;
32509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32510 if (SWIG_arg_fail(2)) SWIG_fail
;
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 (arg1
)->SetWindow(arg2
);
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 Py_INCREF(Py_None
); resultobj
= Py_None
;
32525 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
;
32528 char *kwnames
[] = {
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (bool)wxValidator::IsSilent();
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32549 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
;
32551 int arg1
= (int) true ;
32552 PyObject
* obj0
= 0 ;
32553 char *kwnames
[] = {
32554 (char *) "doIt", NULL
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32560 arg1
= (int)(SWIG_As_int(obj0
));
32561 if (SWIG_arg_fail(1)) SWIG_fail
;
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 wxValidator::SetBellOnError(arg1
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 Py_INCREF(Py_None
); resultobj
= Py_None
;
32578 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32581 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32583 return Py_BuildValue((char *)"");
32585 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
;
32587 wxPyValidator
*result
;
32588 char *kwnames
[] = {
32592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 result
= (wxPyValidator
*)new wxPyValidator();
32597 wxPyEndAllowThreads(__tstate
);
32598 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32607 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32608 PyObject
*resultobj
;
32609 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32610 PyObject
*arg2
= (PyObject
*) 0 ;
32611 PyObject
*arg3
= (PyObject
*) 0 ;
32612 int arg4
= (int) true ;
32613 PyObject
* obj0
= 0 ;
32614 PyObject
* obj1
= 0 ;
32615 PyObject
* obj2
= 0 ;
32616 PyObject
* obj3
= 0 ;
32617 char *kwnames
[] = {
32618 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32623 if (SWIG_arg_fail(1)) SWIG_fail
;
32628 arg4
= (int)(SWIG_As_int(obj3
));
32629 if (SWIG_arg_fail(4)) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32639 Py_INCREF(Py_None
); resultobj
= Py_None
;
32646 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32649 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32651 return Py_BuildValue((char *)"");
32653 static int _wrap_DefaultValidator_set(PyObject
*) {
32654 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32659 static PyObject
*_wrap_DefaultValidator_get(void) {
32662 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32667 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32670 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32671 long arg2
= (long) 0 ;
32673 bool temp1
= false ;
32674 PyObject
* obj0
= 0 ;
32675 PyObject
* obj1
= 0 ;
32676 char *kwnames
[] = {
32677 (char *) "title",(char *) "style", NULL
32680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32683 arg1
= wxString_in_helper(obj0
);
32684 if (arg1
== NULL
) SWIG_fail
;
32690 arg2
= (long)(SWIG_As_long(obj1
));
32691 if (SWIG_arg_fail(2)) SWIG_fail
;
32695 if (!wxPyCheckForApp()) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32717 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32718 PyObject
*resultobj
;
32719 wxMenu
*arg1
= (wxMenu
*) 0 ;
32721 wxString
*arg3
= 0 ;
32722 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32724 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32725 wxMenuItem
*result
;
32726 bool temp3
= false ;
32727 bool temp4
= false ;
32728 PyObject
* obj0
= 0 ;
32729 PyObject
* obj1
= 0 ;
32730 PyObject
* obj2
= 0 ;
32731 PyObject
* obj3
= 0 ;
32732 PyObject
* obj4
= 0 ;
32733 char *kwnames
[] = {
32734 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32739 if (SWIG_arg_fail(1)) SWIG_fail
;
32741 arg2
= (int)(SWIG_As_int(obj1
));
32742 if (SWIG_arg_fail(2)) SWIG_fail
;
32745 arg3
= wxString_in_helper(obj2
);
32746 if (arg3
== NULL
) SWIG_fail
;
32751 arg4
= wxString_in_helper(obj3
);
32752 if (arg4
== NULL
) SWIG_fail
;
32758 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32759 if (SWIG_arg_fail(5)) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= wxPyMake_wxObject(result
, 0);
32794 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenu
*arg1
= (wxMenu
*) 0 ;
32797 wxMenuItem
*result
;
32798 PyObject
* obj0
= 0 ;
32799 char *kwnames
[] = {
32800 (char *) "self", NULL
32803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32805 if (SWIG_arg_fail(1)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= wxPyMake_wxObject(result
, 0);
32822 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxMenu
*arg1
= (wxMenu
*) 0 ;
32826 wxString
*arg3
= 0 ;
32827 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32829 wxMenuItem
*result
;
32830 bool temp3
= false ;
32831 bool temp4
= false ;
32832 PyObject
* obj0
= 0 ;
32833 PyObject
* obj1
= 0 ;
32834 PyObject
* obj2
= 0 ;
32835 PyObject
* obj3
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail
;
32844 arg2
= (int)(SWIG_As_int(obj1
));
32845 if (SWIG_arg_fail(2)) SWIG_fail
;
32848 arg3
= wxString_in_helper(obj2
);
32849 if (arg3
== NULL
) SWIG_fail
;
32854 arg4
= wxString_in_helper(obj3
);
32855 if (arg4
== NULL
) SWIG_fail
;
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32867 resultobj
= wxPyMake_wxObject(result
, 0);
32891 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
;
32893 wxMenu
*arg1
= (wxMenu
*) 0 ;
32895 wxString
*arg3
= 0 ;
32896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32898 wxMenuItem
*result
;
32899 bool temp3
= false ;
32900 bool temp4
= false ;
32901 PyObject
* obj0
= 0 ;
32902 PyObject
* obj1
= 0 ;
32903 PyObject
* obj2
= 0 ;
32904 PyObject
* obj3
= 0 ;
32905 char *kwnames
[] = {
32906 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32911 if (SWIG_arg_fail(1)) SWIG_fail
;
32913 arg2
= (int)(SWIG_As_int(obj1
));
32914 if (SWIG_arg_fail(2)) SWIG_fail
;
32917 arg3
= wxString_in_helper(obj2
);
32918 if (arg3
== NULL
) SWIG_fail
;
32923 arg4
= wxString_in_helper(obj3
);
32924 if (arg4
== NULL
) SWIG_fail
;
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32932 wxPyEndAllowThreads(__tstate
);
32933 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= wxPyMake_wxObject(result
, 0);
32960 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
;
32962 wxMenu
*arg1
= (wxMenu
*) 0 ;
32964 wxString
*arg3
= 0 ;
32965 wxMenu
*arg4
= (wxMenu
*) 0 ;
32966 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32967 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32968 wxMenuItem
*result
;
32969 bool temp3
= false ;
32970 bool temp5
= false ;
32971 PyObject
* obj0
= 0 ;
32972 PyObject
* obj1
= 0 ;
32973 PyObject
* obj2
= 0 ;
32974 PyObject
* obj3
= 0 ;
32975 PyObject
* obj4
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32982 if (SWIG_arg_fail(1)) SWIG_fail
;
32984 arg2
= (int)(SWIG_As_int(obj1
));
32985 if (SWIG_arg_fail(2)) SWIG_fail
;
32988 arg3
= wxString_in_helper(obj2
);
32989 if (arg3
== NULL
) SWIG_fail
;
32992 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32993 if (SWIG_arg_fail(4)) SWIG_fail
;
32996 arg5
= wxString_in_helper(obj4
);
32997 if (arg5
== NULL
) SWIG_fail
;
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33005 wxPyEndAllowThreads(__tstate
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= wxPyMake_wxObject(result
, 0);
33033 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxMenu
*arg1
= (wxMenu
*) 0 ;
33036 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33037 wxMenuItem
*result
;
33038 PyObject
* obj0
= 0 ;
33039 PyObject
* obj1
= 0 ;
33040 char *kwnames
[] = {
33041 (char *) "self",(char *) "item", NULL
33044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33046 if (SWIG_arg_fail(1)) SWIG_fail
;
33047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33048 if (SWIG_arg_fail(2)) SWIG_fail
;
33050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33051 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= wxPyMake_wxObject(result
, 0);
33065 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
;
33067 wxMenu
*arg1
= (wxMenu
*) 0 ;
33068 PyObject
* obj0
= 0 ;
33069 char *kwnames
[] = {
33070 (char *) "self", NULL
33073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33075 if (SWIG_arg_fail(1)) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxMenu
*arg1
= (wxMenu
*) 0 ;
33094 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33095 wxMenuItem
*result
;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 PyObject
* obj2
= 0 ;
33099 char *kwnames
[] = {
33100 (char *) "self",(char *) "pos",(char *) "item", NULL
33103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33105 if (SWIG_arg_fail(1)) SWIG_fail
;
33107 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33108 if (SWIG_arg_fail(2)) SWIG_fail
;
33110 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33111 if (SWIG_arg_fail(3)) SWIG_fail
;
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= wxPyMake_wxObject(result
, 0);
33128 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33129 PyObject
*resultobj
;
33130 wxMenu
*arg1
= (wxMenu
*) 0 ;
33133 wxString
*arg4
= 0 ;
33134 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33135 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33136 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33137 wxMenuItem
*result
;
33138 bool temp4
= false ;
33139 bool temp5
= false ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 PyObject
* obj2
= 0 ;
33143 PyObject
* obj3
= 0 ;
33144 PyObject
* obj4
= 0 ;
33145 PyObject
* obj5
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33152 if (SWIG_arg_fail(1)) SWIG_fail
;
33154 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33155 if (SWIG_arg_fail(2)) SWIG_fail
;
33158 arg3
= (int)(SWIG_As_int(obj2
));
33159 if (SWIG_arg_fail(3)) SWIG_fail
;
33162 arg4
= wxString_in_helper(obj3
);
33163 if (arg4
== NULL
) SWIG_fail
;
33168 arg5
= wxString_in_helper(obj4
);
33169 if (arg5
== NULL
) SWIG_fail
;
33175 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33176 if (SWIG_arg_fail(6)) SWIG_fail
;
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= wxPyMake_wxObject(result
, 0);
33211 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
;
33213 wxMenu
*arg1
= (wxMenu
*) 0 ;
33215 wxMenuItem
*result
;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 char *kwnames
[] = {
33219 (char *) "self",(char *) "pos", NULL
33222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33224 if (SWIG_arg_fail(1)) SWIG_fail
;
33226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33227 if (SWIG_arg_fail(2)) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= wxPyMake_wxObject(result
, 0);
33245 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33246 PyObject
*resultobj
;
33247 wxMenu
*arg1
= (wxMenu
*) 0 ;
33250 wxString
*arg4
= 0 ;
33251 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33252 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33253 wxMenuItem
*result
;
33254 bool temp4
= false ;
33255 bool temp5
= false ;
33256 PyObject
* obj0
= 0 ;
33257 PyObject
* obj1
= 0 ;
33258 PyObject
* obj2
= 0 ;
33259 PyObject
* obj3
= 0 ;
33260 PyObject
* obj4
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33267 if (SWIG_arg_fail(1)) SWIG_fail
;
33269 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33270 if (SWIG_arg_fail(2)) SWIG_fail
;
33273 arg3
= (int)(SWIG_As_int(obj2
));
33274 if (SWIG_arg_fail(3)) SWIG_fail
;
33277 arg4
= wxString_in_helper(obj3
);
33278 if (arg4
== NULL
) SWIG_fail
;
33283 arg5
= wxString_in_helper(obj4
);
33284 if (arg5
== NULL
) SWIG_fail
;
33289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33292 wxPyEndAllowThreads(__tstate
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33296 resultobj
= wxPyMake_wxObject(result
, 0);
33320 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
;
33322 wxMenu
*arg1
= (wxMenu
*) 0 ;
33325 wxString
*arg4
= 0 ;
33326 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33327 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33328 wxMenuItem
*result
;
33329 bool temp4
= false ;
33330 bool temp5
= false ;
33331 PyObject
* obj0
= 0 ;
33332 PyObject
* obj1
= 0 ;
33333 PyObject
* obj2
= 0 ;
33334 PyObject
* obj3
= 0 ;
33335 PyObject
* obj4
= 0 ;
33336 char *kwnames
[] = {
33337 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33342 if (SWIG_arg_fail(1)) SWIG_fail
;
33344 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33345 if (SWIG_arg_fail(2)) SWIG_fail
;
33348 arg3
= (int)(SWIG_As_int(obj2
));
33349 if (SWIG_arg_fail(3)) SWIG_fail
;
33352 arg4
= wxString_in_helper(obj3
);
33353 if (arg4
== NULL
) SWIG_fail
;
33358 arg5
= wxString_in_helper(obj4
);
33359 if (arg5
== NULL
) SWIG_fail
;
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33367 wxPyEndAllowThreads(__tstate
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33371 resultobj
= wxPyMake_wxObject(result
, 0);
33395 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
;
33397 wxMenu
*arg1
= (wxMenu
*) 0 ;
33400 wxString
*arg4
= 0 ;
33401 wxMenu
*arg5
= (wxMenu
*) 0 ;
33402 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33404 wxMenuItem
*result
;
33405 bool temp4
= false ;
33406 bool temp6
= false ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 PyObject
* obj2
= 0 ;
33410 PyObject
* obj3
= 0 ;
33411 PyObject
* obj4
= 0 ;
33412 PyObject
* obj5
= 0 ;
33413 char *kwnames
[] = {
33414 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33419 if (SWIG_arg_fail(1)) SWIG_fail
;
33421 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33422 if (SWIG_arg_fail(2)) SWIG_fail
;
33425 arg3
= (int)(SWIG_As_int(obj2
));
33426 if (SWIG_arg_fail(3)) SWIG_fail
;
33429 arg4
= wxString_in_helper(obj3
);
33430 if (arg4
== NULL
) SWIG_fail
;
33433 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33434 if (SWIG_arg_fail(5)) SWIG_fail
;
33437 arg6
= wxString_in_helper(obj5
);
33438 if (arg6
== NULL
) SWIG_fail
;
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= wxPyMake_wxObject(result
, 0);
33474 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
;
33476 wxMenu
*arg1
= (wxMenu
*) 0 ;
33477 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33478 wxMenuItem
*result
;
33479 PyObject
* obj0
= 0 ;
33480 PyObject
* obj1
= 0 ;
33481 char *kwnames
[] = {
33482 (char *) "self",(char *) "item", NULL
33485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33487 if (SWIG_arg_fail(1)) SWIG_fail
;
33488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33489 if (SWIG_arg_fail(2)) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= wxPyMake_wxObject(result
, 0);
33506 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxMenu
*arg1
= (wxMenu
*) 0 ;
33510 wxString
*arg3
= 0 ;
33511 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33512 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33513 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33514 wxMenuItem
*result
;
33515 bool temp3
= false ;
33516 bool temp4
= false ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 PyObject
* obj2
= 0 ;
33520 PyObject
* obj3
= 0 ;
33521 PyObject
* obj4
= 0 ;
33522 char *kwnames
[] = {
33523 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33528 if (SWIG_arg_fail(1)) SWIG_fail
;
33530 arg2
= (int)(SWIG_As_int(obj1
));
33531 if (SWIG_arg_fail(2)) SWIG_fail
;
33534 arg3
= wxString_in_helper(obj2
);
33535 if (arg3
== NULL
) SWIG_fail
;
33540 arg4
= wxString_in_helper(obj3
);
33541 if (arg4
== NULL
) SWIG_fail
;
33547 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33548 if (SWIG_arg_fail(5)) SWIG_fail
;
33552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33553 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33559 resultobj
= wxPyMake_wxObject(result
, 0);
33583 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33584 PyObject
*resultobj
;
33585 wxMenu
*arg1
= (wxMenu
*) 0 ;
33586 wxMenuItem
*result
;
33587 PyObject
* obj0
= 0 ;
33588 char *kwnames
[] = {
33589 (char *) "self", NULL
33592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33594 if (SWIG_arg_fail(1)) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33603 resultobj
= wxPyMake_wxObject(result
, 0);
33611 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxMenu
*arg1
= (wxMenu
*) 0 ;
33615 wxString
*arg3
= 0 ;
33616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33618 wxMenuItem
*result
;
33619 bool temp3
= false ;
33620 bool temp4
= false ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 PyObject
* obj2
= 0 ;
33624 PyObject
* obj3
= 0 ;
33625 char *kwnames
[] = {
33626 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33631 if (SWIG_arg_fail(1)) SWIG_fail
;
33633 arg2
= (int)(SWIG_As_int(obj1
));
33634 if (SWIG_arg_fail(2)) SWIG_fail
;
33637 arg3
= wxString_in_helper(obj2
);
33638 if (arg3
== NULL
) SWIG_fail
;
33643 arg4
= wxString_in_helper(obj3
);
33644 if (arg4
== NULL
) SWIG_fail
;
33649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33650 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= wxPyMake_wxObject(result
, 0);
33680 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
;
33682 wxMenu
*arg1
= (wxMenu
*) 0 ;
33684 wxString
*arg3
= 0 ;
33685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33687 wxMenuItem
*result
;
33688 bool temp3
= false ;
33689 bool temp4
= false ;
33690 PyObject
* obj0
= 0 ;
33691 PyObject
* obj1
= 0 ;
33692 PyObject
* obj2
= 0 ;
33693 PyObject
* obj3
= 0 ;
33694 char *kwnames
[] = {
33695 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33700 if (SWIG_arg_fail(1)) SWIG_fail
;
33702 arg2
= (int)(SWIG_As_int(obj1
));
33703 if (SWIG_arg_fail(2)) SWIG_fail
;
33706 arg3
= wxString_in_helper(obj2
);
33707 if (arg3
== NULL
) SWIG_fail
;
33712 arg4
= wxString_in_helper(obj3
);
33713 if (arg4
== NULL
) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33725 resultobj
= wxPyMake_wxObject(result
, 0);
33749 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33750 PyObject
*resultobj
;
33751 wxMenu
*arg1
= (wxMenu
*) 0 ;
33753 wxString
*arg3
= 0 ;
33754 wxMenu
*arg4
= (wxMenu
*) 0 ;
33755 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33756 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33757 wxMenuItem
*result
;
33758 bool temp3
= false ;
33759 bool temp5
= false ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 PyObject
* obj2
= 0 ;
33763 PyObject
* obj3
= 0 ;
33764 PyObject
* obj4
= 0 ;
33765 char *kwnames
[] = {
33766 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33771 if (SWIG_arg_fail(1)) SWIG_fail
;
33773 arg2
= (int)(SWIG_As_int(obj1
));
33774 if (SWIG_arg_fail(2)) SWIG_fail
;
33777 arg3
= wxString_in_helper(obj2
);
33778 if (arg3
== NULL
) SWIG_fail
;
33781 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33782 if (SWIG_arg_fail(4)) SWIG_fail
;
33785 arg5
= wxString_in_helper(obj4
);
33786 if (arg5
== NULL
) SWIG_fail
;
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= wxPyMake_wxObject(result
, 0);
33822 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
;
33824 wxMenu
*arg1
= (wxMenu
*) 0 ;
33826 wxMenuItem
*result
;
33827 PyObject
* obj0
= 0 ;
33828 PyObject
* obj1
= 0 ;
33829 char *kwnames
[] = {
33830 (char *) "self",(char *) "id", NULL
33833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33835 if (SWIG_arg_fail(1)) SWIG_fail
;
33837 arg2
= (int)(SWIG_As_int(obj1
));
33838 if (SWIG_arg_fail(2)) SWIG_fail
;
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33848 resultobj
= wxPyMake_wxObject(result
, 0);
33856 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
;
33858 wxMenu
*arg1
= (wxMenu
*) 0 ;
33859 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33860 wxMenuItem
*result
;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "self",(char *) "item", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33869 if (SWIG_arg_fail(1)) SWIG_fail
;
33870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33871 if (SWIG_arg_fail(2)) SWIG_fail
;
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= wxPyMake_wxObject(result
, 0);
33888 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxMenu
*arg1
= (wxMenu
*) 0 ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "self",(char *) "id", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33901 if (SWIG_arg_fail(1)) SWIG_fail
;
33903 arg2
= (int)(SWIG_As_int(obj1
));
33904 if (SWIG_arg_fail(2)) SWIG_fail
;
33907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33908 result
= (bool)(arg1
)->Delete(arg2
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33922 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
;
33924 wxMenu
*arg1
= (wxMenu
*) 0 ;
33925 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33927 PyObject
* obj0
= 0 ;
33928 PyObject
* obj1
= 0 ;
33929 char *kwnames
[] = {
33930 (char *) "self",(char *) "item", NULL
33933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33935 if (SWIG_arg_fail(1)) SWIG_fail
;
33936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33937 if (SWIG_arg_fail(2)) SWIG_fail
;
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 result
= (bool)(arg1
)->Delete(arg2
);
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33954 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33955 PyObject
*resultobj
;
33956 wxMenu
*arg1
= (wxMenu
*) 0 ;
33957 PyObject
* obj0
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 wxMenu_Destroy(arg1
);
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33972 Py_INCREF(Py_None
); resultobj
= Py_None
;
33979 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
;
33981 wxMenu
*arg1
= (wxMenu
*) 0 ;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "self",(char *) "id", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33992 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 arg2
= (int)(SWIG_As_int(obj1
));
33995 if (SWIG_arg_fail(2)) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 result
= (bool)(arg1
)->Destroy(arg2
);
34001 wxPyEndAllowThreads(__tstate
);
34002 if (PyErr_Occurred()) SWIG_fail
;
34005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34013 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34014 PyObject
*resultobj
;
34015 wxMenu
*arg1
= (wxMenu
*) 0 ;
34016 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34018 PyObject
* obj0
= 0 ;
34019 PyObject
* obj1
= 0 ;
34020 char *kwnames
[] = {
34021 (char *) "self",(char *) "item", NULL
34024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34026 if (SWIG_arg_fail(1)) SWIG_fail
;
34027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34028 if (SWIG_arg_fail(2)) SWIG_fail
;
34030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34031 result
= (bool)(arg1
)->Destroy(arg2
);
34033 wxPyEndAllowThreads(__tstate
);
34034 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34045 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
;
34047 wxMenu
*arg1
= (wxMenu
*) 0 ;
34049 PyObject
* obj0
= 0 ;
34050 char *kwnames
[] = {
34051 (char *) "self", NULL
34054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34056 if (SWIG_arg_fail(1)) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34073 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxMenu
*arg1
= (wxMenu
*) 0 ;
34077 PyObject
* obj0
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "self", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34084 if (SWIG_arg_fail(1)) SWIG_fail
;
34086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34087 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 resultobj
= result
;
34099 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
;
34101 wxMenu
*arg1
= (wxMenu
*) 0 ;
34102 wxString
*arg2
= 0 ;
34104 bool temp2
= false ;
34105 PyObject
* obj0
= 0 ;
34106 PyObject
* obj1
= 0 ;
34107 char *kwnames
[] = {
34108 (char *) "self",(char *) "item", NULL
34111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34113 if (SWIG_arg_fail(1)) SWIG_fail
;
34115 arg2
= wxString_in_helper(obj1
);
34116 if (arg2
== NULL
) SWIG_fail
;
34120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34121 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34123 wxPyEndAllowThreads(__tstate
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34127 resultobj
= SWIG_From_int((int)(result
));
34143 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
;
34145 wxMenu
*arg1
= (wxMenu
*) 0 ;
34147 wxMenuItem
*result
;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self",(char *) "id", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail
;
34158 arg2
= (int)(SWIG_As_int(obj1
));
34159 if (SWIG_arg_fail(2)) SWIG_fail
;
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34165 wxPyEndAllowThreads(__tstate
);
34166 if (PyErr_Occurred()) SWIG_fail
;
34169 resultobj
= wxPyMake_wxObject(result
, 0);
34177 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
;
34179 wxMenu
*arg1
= (wxMenu
*) 0 ;
34181 wxMenuItem
*result
;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 char *kwnames
[] = {
34185 (char *) "self",(char *) "position", NULL
34188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34190 if (SWIG_arg_fail(1)) SWIG_fail
;
34192 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34193 if (SWIG_arg_fail(2)) SWIG_fail
;
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34203 resultobj
= wxPyMake_wxObject(result
, 0);
34211 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34212 PyObject
*resultobj
;
34213 wxMenu
*arg1
= (wxMenu
*) 0 ;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 PyObject
* obj2
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self",(char *) "id",(char *) "enable", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail
;
34227 arg2
= (int)(SWIG_As_int(obj1
));
34228 if (SWIG_arg_fail(2)) SWIG_fail
;
34231 arg3
= (bool)(SWIG_As_bool(obj2
));
34232 if (SWIG_arg_fail(3)) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 (arg1
)->Enable(arg2
,arg3
);
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34241 Py_INCREF(Py_None
); resultobj
= Py_None
;
34248 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxMenu
*arg1
= (wxMenu
*) 0 ;
34253 PyObject
* obj0
= 0 ;
34254 PyObject
* obj1
= 0 ;
34255 char *kwnames
[] = {
34256 (char *) "self",(char *) "id", NULL
34259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34261 if (SWIG_arg_fail(1)) SWIG_fail
;
34263 arg2
= (int)(SWIG_As_int(obj1
));
34264 if (SWIG_arg_fail(2)) SWIG_fail
;
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34282 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34283 PyObject
*resultobj
;
34284 wxMenu
*arg1
= (wxMenu
*) 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 PyObject
* obj2
= 0 ;
34290 char *kwnames
[] = {
34291 (char *) "self",(char *) "id",(char *) "check", NULL
34294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34296 if (SWIG_arg_fail(1)) SWIG_fail
;
34298 arg2
= (int)(SWIG_As_int(obj1
));
34299 if (SWIG_arg_fail(2)) SWIG_fail
;
34302 arg3
= (bool)(SWIG_As_bool(obj2
));
34303 if (SWIG_arg_fail(3)) SWIG_fail
;
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 (arg1
)->Check(arg2
,arg3
);
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 Py_INCREF(Py_None
); resultobj
= Py_None
;
34319 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
;
34321 wxMenu
*arg1
= (wxMenu
*) 0 ;
34324 PyObject
* obj0
= 0 ;
34325 PyObject
* obj1
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self",(char *) "id", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail
;
34334 arg2
= (int)(SWIG_As_int(obj1
));
34335 if (SWIG_arg_fail(2)) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34353 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
;
34355 wxMenu
*arg1
= (wxMenu
*) 0 ;
34357 wxString
*arg3
= 0 ;
34358 bool temp3
= false ;
34359 PyObject
* obj0
= 0 ;
34360 PyObject
* obj1
= 0 ;
34361 PyObject
* obj2
= 0 ;
34362 char *kwnames
[] = {
34363 (char *) "self",(char *) "id",(char *) "label", NULL
34366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34368 if (SWIG_arg_fail(1)) SWIG_fail
;
34370 arg2
= (int)(SWIG_As_int(obj1
));
34371 if (SWIG_arg_fail(2)) SWIG_fail
;
34374 arg3
= wxString_in_helper(obj2
);
34375 if (arg3
== NULL
) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 Py_INCREF(Py_None
); resultobj
= Py_None
;
34400 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34401 PyObject
*resultobj
;
34402 wxMenu
*arg1
= (wxMenu
*) 0 ;
34405 PyObject
* obj0
= 0 ;
34406 PyObject
* obj1
= 0 ;
34407 char *kwnames
[] = {
34408 (char *) "self",(char *) "id", NULL
34411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34413 if (SWIG_arg_fail(1)) SWIG_fail
;
34415 arg2
= (int)(SWIG_As_int(obj1
));
34416 if (SWIG_arg_fail(2)) SWIG_fail
;
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34420 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34438 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxMenu
*arg1
= (wxMenu
*) 0 ;
34442 wxString
*arg3
= 0 ;
34443 bool temp3
= false ;
34444 PyObject
* obj0
= 0 ;
34445 PyObject
* obj1
= 0 ;
34446 PyObject
* obj2
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self",(char *) "id",(char *) "helpString", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34453 if (SWIG_arg_fail(1)) SWIG_fail
;
34455 arg2
= (int)(SWIG_As_int(obj1
));
34456 if (SWIG_arg_fail(2)) SWIG_fail
;
34459 arg3
= wxString_in_helper(obj2
);
34460 if (arg3
== NULL
) SWIG_fail
;
34464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34465 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34467 wxPyEndAllowThreads(__tstate
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34470 Py_INCREF(Py_None
); resultobj
= Py_None
;
34485 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34486 PyObject
*resultobj
;
34487 wxMenu
*arg1
= (wxMenu
*) 0 ;
34490 PyObject
* obj0
= 0 ;
34491 PyObject
* obj1
= 0 ;
34492 char *kwnames
[] = {
34493 (char *) "self",(char *) "id", NULL
34496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail
;
34500 arg2
= (int)(SWIG_As_int(obj1
));
34501 if (SWIG_arg_fail(2)) SWIG_fail
;
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34505 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34523 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34524 PyObject
*resultobj
;
34525 wxMenu
*arg1
= (wxMenu
*) 0 ;
34526 wxString
*arg2
= 0 ;
34527 bool temp2
= false ;
34528 PyObject
* obj0
= 0 ;
34529 PyObject
* obj1
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self",(char *) "title", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34536 if (SWIG_arg_fail(1)) SWIG_fail
;
34538 arg2
= wxString_in_helper(obj1
);
34539 if (arg2
== NULL
) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 (arg1
)->SetTitle((wxString
const &)*arg2
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 Py_INCREF(Py_None
); resultobj
= Py_None
;
34564 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
;
34566 wxMenu
*arg1
= (wxMenu
*) 0 ;
34568 PyObject
* obj0
= 0 ;
34569 char *kwnames
[] = {
34570 (char *) "self", NULL
34573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34575 if (SWIG_arg_fail(1)) SWIG_fail
;
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 result
= ((wxMenu
const *)arg1
)->GetTitle();
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34596 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
;
34598 wxMenu
*arg1
= (wxMenu
*) 0 ;
34599 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34600 PyObject
* obj0
= 0 ;
34601 PyObject
* obj1
= 0 ;
34602 char *kwnames
[] = {
34603 (char *) "self",(char *) "handler", NULL
34606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34608 if (SWIG_arg_fail(1)) SWIG_fail
;
34609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34610 if (SWIG_arg_fail(2)) SWIG_fail
;
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 (arg1
)->SetEventHandler(arg2
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 Py_INCREF(Py_None
); resultobj
= Py_None
;
34625 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
;
34627 wxMenu
*arg1
= (wxMenu
*) 0 ;
34628 wxEvtHandler
*result
;
34629 PyObject
* obj0
= 0 ;
34630 char *kwnames
[] = {
34631 (char *) "self", NULL
34634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34636 if (SWIG_arg_fail(1)) SWIG_fail
;
34638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34639 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34641 wxPyEndAllowThreads(__tstate
);
34642 if (PyErr_Occurred()) SWIG_fail
;
34645 resultobj
= wxPyMake_wxObject(result
, 0);
34653 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
;
34655 wxMenu
*arg1
= (wxMenu
*) 0 ;
34656 wxWindow
*arg2
= (wxWindow
*) 0 ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self",(char *) "win", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34665 if (SWIG_arg_fail(1)) SWIG_fail
;
34666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34667 if (SWIG_arg_fail(2)) SWIG_fail
;
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 (arg1
)->SetInvokingWindow(arg2
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 Py_INCREF(Py_None
); resultobj
= Py_None
;
34682 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
;
34684 wxMenu
*arg1
= (wxMenu
*) 0 ;
34686 PyObject
* obj0
= 0 ;
34687 char *kwnames
[] = {
34688 (char *) "self", NULL
34691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34693 if (SWIG_arg_fail(1)) SWIG_fail
;
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34702 resultobj
= wxPyMake_wxObject(result
, 0);
34710 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxMenu
*arg1
= (wxMenu
*) 0 ;
34714 PyObject
* obj0
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail
;
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34730 resultobj
= SWIG_From_long((long)(result
));
34738 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
;
34740 wxMenu
*arg1
= (wxMenu
*) 0 ;
34741 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34742 PyObject
* obj0
= 0 ;
34743 PyObject
* obj1
= 0 ;
34744 char *kwnames
[] = {
34745 (char *) "self",(char *) "source", NULL
34748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34750 if (SWIG_arg_fail(1)) SWIG_fail
;
34752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34753 if (SWIG_arg_fail(2)) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 (arg1
)->UpdateUI(arg2
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 Py_INCREF(Py_None
); resultobj
= Py_None
;
34769 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
;
34771 wxMenu
*arg1
= (wxMenu
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "self", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34780 if (SWIG_arg_fail(1)) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34789 resultobj
= wxPyMake_wxObject(result
, 0);
34797 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
;
34799 wxMenu
*arg1
= (wxMenu
*) 0 ;
34800 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self",(char *) "menubar", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34809 if (SWIG_arg_fail(1)) SWIG_fail
;
34810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34811 if (SWIG_arg_fail(2)) SWIG_fail
;
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 (arg1
)->Attach(arg2
);
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34819 Py_INCREF(Py_None
); resultobj
= Py_None
;
34826 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34827 PyObject
*resultobj
;
34828 wxMenu
*arg1
= (wxMenu
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "self", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34836 if (SWIG_arg_fail(1)) SWIG_fail
;
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34844 Py_INCREF(Py_None
); resultobj
= Py_None
;
34851 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34852 PyObject
*resultobj
;
34853 wxMenu
*arg1
= (wxMenu
*) 0 ;
34855 PyObject
* obj0
= 0 ;
34856 char *kwnames
[] = {
34857 (char *) "self", NULL
34860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34862 if (SWIG_arg_fail(1)) SWIG_fail
;
34864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34865 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34867 wxPyEndAllowThreads(__tstate
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34879 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxMenu
*arg1
= (wxMenu
*) 0 ;
34882 wxMenu
*arg2
= (wxMenu
*) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char *kwnames
[] = {
34886 (char *) "self",(char *) "parent", NULL
34889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34891 if (SWIG_arg_fail(1)) SWIG_fail
;
34892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34893 if (SWIG_arg_fail(2)) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->SetParent(arg2
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 Py_INCREF(Py_None
); resultobj
= Py_None
;
34908 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxMenu
*arg1
= (wxMenu
*) 0 ;
34912 PyObject
* obj0
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34919 if (SWIG_arg_fail(1)) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34928 resultobj
= wxPyMake_wxObject(result
, 0);
34936 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34939 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34941 return Py_BuildValue((char *)"");
34943 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
;
34945 long arg1
= (long) 0 ;
34947 PyObject
* obj0
= 0 ;
34948 char *kwnames
[] = {
34949 (char *) "style", NULL
34952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34955 arg1
= (long)(SWIG_As_long(obj0
));
34956 if (SWIG_arg_fail(1)) SWIG_fail
;
34960 if (!wxPyCheckForApp()) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34974 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
;
34976 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34977 wxMenu
*arg2
= (wxMenu
*) 0 ;
34978 wxString
*arg3
= 0 ;
34980 bool temp3
= false ;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 PyObject
* obj2
= 0 ;
34984 char *kwnames
[] = {
34985 (char *) "self",(char *) "menu",(char *) "title", NULL
34988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34990 if (SWIG_arg_fail(1)) SWIG_fail
;
34991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34992 if (SWIG_arg_fail(2)) SWIG_fail
;
34994 arg3
= wxString_in_helper(obj2
);
34995 if (arg3
== NULL
) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35022 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
;
35024 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35026 wxMenu
*arg3
= (wxMenu
*) 0 ;
35027 wxString
*arg4
= 0 ;
35029 bool temp4
= false ;
35030 PyObject
* obj0
= 0 ;
35031 PyObject
* obj1
= 0 ;
35032 PyObject
* obj2
= 0 ;
35033 PyObject
* obj3
= 0 ;
35034 char *kwnames
[] = {
35035 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35040 if (SWIG_arg_fail(1)) SWIG_fail
;
35042 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35043 if (SWIG_arg_fail(2)) SWIG_fail
;
35045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35046 if (SWIG_arg_fail(3)) SWIG_fail
;
35048 arg4
= wxString_in_helper(obj3
);
35049 if (arg4
== NULL
) SWIG_fail
;
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35076 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
;
35078 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35080 PyObject
* obj0
= 0 ;
35081 char *kwnames
[] = {
35082 (char *) "self", NULL
35085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35087 if (SWIG_arg_fail(1)) SWIG_fail
;
35089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35096 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35104 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
;
35106 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 PyObject
* obj1
= 0 ;
35111 char *kwnames
[] = {
35112 (char *) "self",(char *) "pos", NULL
35115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35117 if (SWIG_arg_fail(1)) SWIG_fail
;
35119 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35120 if (SWIG_arg_fail(2)) SWIG_fail
;
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35124 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= wxPyMake_wxObject(result
, 0);
35138 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35139 PyObject
*resultobj
;
35140 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35142 wxMenu
*arg3
= (wxMenu
*) 0 ;
35143 wxString
*arg4
= 0 ;
35145 bool temp4
= false ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 PyObject
* obj3
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35156 if (SWIG_arg_fail(1)) SWIG_fail
;
35158 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35159 if (SWIG_arg_fail(2)) SWIG_fail
;
35161 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35162 if (SWIG_arg_fail(3)) SWIG_fail
;
35164 arg4
= wxString_in_helper(obj3
);
35165 if (arg4
== NULL
) SWIG_fail
;
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35172 wxPyEndAllowThreads(__tstate
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= wxPyMake_wxObject(result
, 0);
35192 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
;
35194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 char *kwnames
[] = {
35200 (char *) "self",(char *) "pos", NULL
35203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35205 if (SWIG_arg_fail(1)) SWIG_fail
;
35207 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35208 if (SWIG_arg_fail(2)) SWIG_fail
;
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= wxPyMake_wxObject(result
, 0);
35226 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
;
35228 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35231 PyObject
* obj0
= 0 ;
35232 PyObject
* obj1
= 0 ;
35233 PyObject
* obj2
= 0 ;
35234 char *kwnames
[] = {
35235 (char *) "self",(char *) "pos",(char *) "enable", NULL
35238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35240 if (SWIG_arg_fail(1)) SWIG_fail
;
35242 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35243 if (SWIG_arg_fail(2)) SWIG_fail
;
35246 arg3
= (bool)(SWIG_As_bool(obj2
));
35247 if (SWIG_arg_fail(3)) SWIG_fail
;
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 (arg1
)->EnableTop(arg2
,arg3
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 Py_INCREF(Py_None
); resultobj
= Py_None
;
35263 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
;
35265 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self",(char *) "pos", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35276 if (SWIG_arg_fail(1)) SWIG_fail
;
35278 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35279 if (SWIG_arg_fail(2)) SWIG_fail
;
35282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35297 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35301 wxString
*arg3
= 0 ;
35302 bool temp3
= false ;
35303 PyObject
* obj0
= 0 ;
35304 PyObject
* obj1
= 0 ;
35305 PyObject
* obj2
= 0 ;
35306 char *kwnames
[] = {
35307 (char *) "self",(char *) "pos",(char *) "label", NULL
35310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35312 if (SWIG_arg_fail(1)) SWIG_fail
;
35314 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35315 if (SWIG_arg_fail(2)) SWIG_fail
;
35318 arg3
= wxString_in_helper(obj2
);
35319 if (arg3
== NULL
) SWIG_fail
;
35323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35324 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35326 wxPyEndAllowThreads(__tstate
);
35327 if (PyErr_Occurred()) SWIG_fail
;
35329 Py_INCREF(Py_None
); resultobj
= Py_None
;
35344 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
;
35346 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "pos", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35357 if (SWIG_arg_fail(1)) SWIG_fail
;
35359 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35360 if (SWIG_arg_fail(2)) SWIG_fail
;
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35382 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
;
35384 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35385 wxString
*arg2
= 0 ;
35386 wxString
*arg3
= 0 ;
35388 bool temp2
= false ;
35389 bool temp3
= false ;
35390 PyObject
* obj0
= 0 ;
35391 PyObject
* obj1
= 0 ;
35392 PyObject
* obj2
= 0 ;
35393 char *kwnames
[] = {
35394 (char *) "self",(char *) "menu",(char *) "item", NULL
35397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35399 if (SWIG_arg_fail(1)) SWIG_fail
;
35401 arg2
= wxString_in_helper(obj1
);
35402 if (arg2
== NULL
) SWIG_fail
;
35406 arg3
= wxString_in_helper(obj2
);
35407 if (arg3
== NULL
) SWIG_fail
;
35411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35418 resultobj
= SWIG_From_int((int)(result
));
35442 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35443 PyObject
*resultobj
;
35444 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35446 wxMenuItem
*result
;
35447 PyObject
* obj0
= 0 ;
35448 PyObject
* obj1
= 0 ;
35449 char *kwnames
[] = {
35450 (char *) "self",(char *) "id", NULL
35453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35455 if (SWIG_arg_fail(1)) SWIG_fail
;
35457 arg2
= (int)(SWIG_As_int(obj1
));
35458 if (SWIG_arg_fail(2)) SWIG_fail
;
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35468 resultobj
= wxPyMake_wxObject(result
, 0);
35476 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35477 PyObject
*resultobj
;
35478 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35479 wxString
*arg2
= 0 ;
35481 bool temp2
= false ;
35482 PyObject
* obj0
= 0 ;
35483 PyObject
* obj1
= 0 ;
35484 char *kwnames
[] = {
35485 (char *) "self",(char *) "title", NULL
35488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35490 if (SWIG_arg_fail(1)) SWIG_fail
;
35492 arg2
= wxString_in_helper(obj1
);
35493 if (arg2
== NULL
) SWIG_fail
;
35497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35498 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35504 resultobj
= SWIG_From_int((int)(result
));
35520 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 PyObject
* obj2
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "self",(char *) "id",(char *) "enable", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35534 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 arg2
= (int)(SWIG_As_int(obj1
));
35537 if (SWIG_arg_fail(2)) SWIG_fail
;
35540 arg3
= (bool)(SWIG_As_bool(obj2
));
35541 if (SWIG_arg_fail(3)) SWIG_fail
;
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 (arg1
)->Enable(arg2
,arg3
);
35547 wxPyEndAllowThreads(__tstate
);
35548 if (PyErr_Occurred()) SWIG_fail
;
35550 Py_INCREF(Py_None
); resultobj
= Py_None
;
35557 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35558 PyObject
*resultobj
;
35559 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35562 PyObject
* obj0
= 0 ;
35563 PyObject
* obj1
= 0 ;
35564 PyObject
* obj2
= 0 ;
35565 char *kwnames
[] = {
35566 (char *) "self",(char *) "id",(char *) "check", NULL
35569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35571 if (SWIG_arg_fail(1)) SWIG_fail
;
35573 arg2
= (int)(SWIG_As_int(obj1
));
35574 if (SWIG_arg_fail(2)) SWIG_fail
;
35577 arg3
= (bool)(SWIG_As_bool(obj2
));
35578 if (SWIG_arg_fail(3)) SWIG_fail
;
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 (arg1
)->Check(arg2
,arg3
);
35584 wxPyEndAllowThreads(__tstate
);
35585 if (PyErr_Occurred()) SWIG_fail
;
35587 Py_INCREF(Py_None
); resultobj
= Py_None
;
35594 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35595 PyObject
*resultobj
;
35596 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35599 PyObject
* obj0
= 0 ;
35600 PyObject
* obj1
= 0 ;
35601 char *kwnames
[] = {
35602 (char *) "self",(char *) "id", NULL
35605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35607 if (SWIG_arg_fail(1)) SWIG_fail
;
35609 arg2
= (int)(SWIG_As_int(obj1
));
35610 if (SWIG_arg_fail(2)) SWIG_fail
;
35613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35628 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35629 PyObject
*resultobj
;
35630 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 char *kwnames
[] = {
35636 (char *) "self",(char *) "id", NULL
35639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35641 if (SWIG_arg_fail(1)) SWIG_fail
;
35643 arg2
= (int)(SWIG_As_int(obj1
));
35644 if (SWIG_arg_fail(2)) SWIG_fail
;
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35662 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35663 PyObject
*resultobj
;
35664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35666 wxString
*arg3
= 0 ;
35667 bool temp3
= false ;
35668 PyObject
* obj0
= 0 ;
35669 PyObject
* obj1
= 0 ;
35670 PyObject
* obj2
= 0 ;
35671 char *kwnames
[] = {
35672 (char *) "self",(char *) "id",(char *) "label", NULL
35675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35677 if (SWIG_arg_fail(1)) SWIG_fail
;
35679 arg2
= (int)(SWIG_As_int(obj1
));
35680 if (SWIG_arg_fail(2)) SWIG_fail
;
35683 arg3
= wxString_in_helper(obj2
);
35684 if (arg3
== NULL
) SWIG_fail
;
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 Py_INCREF(Py_None
); resultobj
= Py_None
;
35709 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35714 PyObject
* obj0
= 0 ;
35715 PyObject
* obj1
= 0 ;
35716 char *kwnames
[] = {
35717 (char *) "self",(char *) "id", NULL
35720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35722 if (SWIG_arg_fail(1)) SWIG_fail
;
35724 arg2
= (int)(SWIG_As_int(obj1
));
35725 if (SWIG_arg_fail(2)) SWIG_fail
;
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35731 wxPyEndAllowThreads(__tstate
);
35732 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35747 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35748 PyObject
*resultobj
;
35749 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35751 wxString
*arg3
= 0 ;
35752 bool temp3
= false ;
35753 PyObject
* obj0
= 0 ;
35754 PyObject
* obj1
= 0 ;
35755 PyObject
* obj2
= 0 ;
35756 char *kwnames
[] = {
35757 (char *) "self",(char *) "id",(char *) "helpString", NULL
35760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35762 if (SWIG_arg_fail(1)) SWIG_fail
;
35764 arg2
= (int)(SWIG_As_int(obj1
));
35765 if (SWIG_arg_fail(2)) SWIG_fail
;
35768 arg3
= wxString_in_helper(obj2
);
35769 if (arg3
== NULL
) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 Py_INCREF(Py_None
); resultobj
= Py_None
;
35794 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35795 PyObject
*resultobj
;
35796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 char *kwnames
[] = {
35802 (char *) "self",(char *) "id", NULL
35805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35807 if (SWIG_arg_fail(1)) SWIG_fail
;
35809 arg2
= (int)(SWIG_As_int(obj1
));
35810 if (SWIG_arg_fail(2)) SWIG_fail
;
35813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35814 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35816 wxPyEndAllowThreads(__tstate
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35832 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
;
35834 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35836 PyObject
* obj0
= 0 ;
35837 char *kwnames
[] = {
35838 (char *) "self", NULL
35841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35843 if (SWIG_arg_fail(1)) SWIG_fail
;
35845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35846 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= wxPyMake_wxObject(result
, 0);
35860 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
;
35862 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35864 PyObject
* obj0
= 0 ;
35865 char *kwnames
[] = {
35866 (char *) "self", NULL
35869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35871 if (SWIG_arg_fail(1)) SWIG_fail
;
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35888 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35891 wxFrame
*arg2
= (wxFrame
*) 0 ;
35892 PyObject
* obj0
= 0 ;
35893 PyObject
* obj1
= 0 ;
35894 char *kwnames
[] = {
35895 (char *) "self",(char *) "frame", NULL
35898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35900 if (SWIG_arg_fail(1)) SWIG_fail
;
35901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35902 if (SWIG_arg_fail(2)) SWIG_fail
;
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 (arg1
)->Attach(arg2
);
35907 wxPyEndAllowThreads(__tstate
);
35908 if (PyErr_Occurred()) SWIG_fail
;
35910 Py_INCREF(Py_None
); resultobj
= Py_None
;
35917 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35918 PyObject
*resultobj
;
35919 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35927 if (SWIG_arg_fail(1)) SWIG_fail
;
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 wxPyEndAllowThreads(__tstate
);
35933 if (PyErr_Occurred()) SWIG_fail
;
35935 Py_INCREF(Py_None
); resultobj
= Py_None
;
35942 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35945 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35947 return Py_BuildValue((char *)"");
35949 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
;
35951 wxMenu
*arg1
= (wxMenu
*) NULL
;
35952 int arg2
= (int) wxID_ANY
;
35953 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35954 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35955 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35956 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35957 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35958 wxMenu
*arg6
= (wxMenu
*) NULL
;
35959 wxMenuItem
*result
;
35960 bool temp3
= false ;
35961 bool temp4
= false ;
35962 PyObject
* obj0
= 0 ;
35963 PyObject
* obj1
= 0 ;
35964 PyObject
* obj2
= 0 ;
35965 PyObject
* obj3
= 0 ;
35966 PyObject
* obj4
= 0 ;
35967 PyObject
* obj5
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35975 if (SWIG_arg_fail(1)) SWIG_fail
;
35979 arg2
= (int)(SWIG_As_int(obj1
));
35980 if (SWIG_arg_fail(2)) SWIG_fail
;
35985 arg3
= wxString_in_helper(obj2
);
35986 if (arg3
== NULL
) SWIG_fail
;
35992 arg4
= wxString_in_helper(obj3
);
35993 if (arg4
== NULL
) SWIG_fail
;
35999 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36000 if (SWIG_arg_fail(5)) SWIG_fail
;
36004 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36005 if (SWIG_arg_fail(6)) SWIG_fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36015 resultobj
= wxPyMake_wxObject(result
, 1);
36039 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
;
36041 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36043 PyObject
* obj0
= 0 ;
36044 char *kwnames
[] = {
36045 (char *) "self", NULL
36048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36050 if (SWIG_arg_fail(1)) SWIG_fail
;
36052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36053 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= wxPyMake_wxObject(result
, 0);
36067 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36068 PyObject
*resultobj
;
36069 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36070 wxMenu
*arg2
= (wxMenu
*) 0 ;
36071 PyObject
* obj0
= 0 ;
36072 PyObject
* obj1
= 0 ;
36073 char *kwnames
[] = {
36074 (char *) "self",(char *) "menu", NULL
36077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36079 if (SWIG_arg_fail(1)) SWIG_fail
;
36080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36081 if (SWIG_arg_fail(2)) SWIG_fail
;
36083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36084 (arg1
)->SetMenu(arg2
);
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 Py_INCREF(Py_None
); resultobj
= Py_None
;
36096 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
;
36098 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36100 PyObject
* obj0
= 0 ;
36101 PyObject
* obj1
= 0 ;
36102 char *kwnames
[] = {
36103 (char *) "self",(char *) "id", NULL
36106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36108 if (SWIG_arg_fail(1)) SWIG_fail
;
36110 arg2
= (int)(SWIG_As_int(obj1
));
36111 if (SWIG_arg_fail(2)) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 (arg1
)->SetId(arg2
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 Py_INCREF(Py_None
); resultobj
= Py_None
;
36127 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
;
36129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36131 PyObject
* obj0
= 0 ;
36132 char *kwnames
[] = {
36133 (char *) "self", NULL
36136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36138 if (SWIG_arg_fail(1)) SWIG_fail
;
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_From_int((int)(result
));
36155 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36156 PyObject
*resultobj
;
36157 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36159 PyObject
* obj0
= 0 ;
36160 char *kwnames
[] = {
36161 (char *) "self", NULL
36164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36166 if (SWIG_arg_fail(1)) SWIG_fail
;
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36183 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
;
36185 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36186 wxString
*arg2
= 0 ;
36187 bool temp2
= false ;
36188 PyObject
* obj0
= 0 ;
36189 PyObject
* obj1
= 0 ;
36190 char *kwnames
[] = {
36191 (char *) "self",(char *) "str", NULL
36194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36196 if (SWIG_arg_fail(1)) SWIG_fail
;
36198 arg2
= wxString_in_helper(obj1
);
36199 if (arg2
== NULL
) SWIG_fail
;
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->SetText((wxString
const &)*arg2
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 Py_INCREF(Py_None
); resultobj
= Py_None
;
36224 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36228 PyObject
* obj0
= 0 ;
36229 char *kwnames
[] = {
36230 (char *) "self", NULL
36233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36256 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36257 PyObject
*resultobj
;
36258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36260 PyObject
* obj0
= 0 ;
36261 char *kwnames
[] = {
36262 (char *) "self", NULL
36265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36267 if (SWIG_arg_fail(1)) SWIG_fail
;
36269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36271 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36272 result
= (wxString
*) &_result_ref
;
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36280 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36282 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36291 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36292 PyObject
*resultobj
;
36293 wxString
*arg1
= 0 ;
36295 bool temp1
= false ;
36296 PyObject
* obj0
= 0 ;
36297 char *kwnames
[] = {
36298 (char *) "text", NULL
36301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36303 arg1
= wxString_in_helper(obj0
);
36304 if (arg1
== NULL
) SWIG_fail
;
36308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36309 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36311 wxPyEndAllowThreads(__tstate
);
36312 if (PyErr_Occurred()) SWIG_fail
;
36316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36335 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
;
36337 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36339 PyObject
* obj0
= 0 ;
36340 char *kwnames
[] = {
36341 (char *) "self", NULL
36344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36346 if (SWIG_arg_fail(1)) SWIG_fail
;
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36349 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 resultobj
= SWIG_From_int((result
));
36361 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36365 PyObject
* obj0
= 0 ;
36366 PyObject
* obj1
= 0 ;
36367 char *kwnames
[] = {
36368 (char *) "self",(char *) "kind", NULL
36371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36373 if (SWIG_arg_fail(1)) SWIG_fail
;
36375 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36376 if (SWIG_arg_fail(2)) SWIG_fail
;
36379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36380 (arg1
)->SetKind((wxItemKind
)arg2
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 Py_INCREF(Py_None
); resultobj
= Py_None
;
36392 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
;
36394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 PyObject
* obj1
= 0 ;
36398 char *kwnames
[] = {
36399 (char *) "self",(char *) "checkable", NULL
36402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36404 if (SWIG_arg_fail(1)) SWIG_fail
;
36406 arg2
= (bool)(SWIG_As_bool(obj1
));
36407 if (SWIG_arg_fail(2)) SWIG_fail
;
36410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36411 (arg1
)->SetCheckable(arg2
);
36413 wxPyEndAllowThreads(__tstate
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36416 Py_INCREF(Py_None
); resultobj
= Py_None
;
36423 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
;
36425 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36427 PyObject
* obj0
= 0 ;
36428 char *kwnames
[] = {
36429 (char *) "self", NULL
36432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36434 if (SWIG_arg_fail(1)) SWIG_fail
;
36436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36437 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36451 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36455 PyObject
* obj0
= 0 ;
36456 char *kwnames
[] = {
36457 (char *) "self", NULL
36460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36462 if (SWIG_arg_fail(1)) SWIG_fail
;
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36479 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36482 wxMenu
*arg2
= (wxMenu
*) 0 ;
36483 PyObject
* obj0
= 0 ;
36484 PyObject
* obj1
= 0 ;
36485 char *kwnames
[] = {
36486 (char *) "self",(char *) "menu", NULL
36489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36491 if (SWIG_arg_fail(1)) SWIG_fail
;
36492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36493 if (SWIG_arg_fail(2)) SWIG_fail
;
36495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36496 (arg1
)->SetSubMenu(arg2
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 Py_INCREF(Py_None
); resultobj
= Py_None
;
36508 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
;
36510 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36512 PyObject
* obj0
= 0 ;
36513 char *kwnames
[] = {
36514 (char *) "self", NULL
36517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36519 if (SWIG_arg_fail(1)) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= wxPyMake_wxObject(result
, 0);
36536 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
;
36538 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36539 bool arg2
= (bool) true ;
36540 PyObject
* obj0
= 0 ;
36541 PyObject
* obj1
= 0 ;
36542 char *kwnames
[] = {
36543 (char *) "self",(char *) "enable", NULL
36546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36548 if (SWIG_arg_fail(1)) SWIG_fail
;
36551 arg2
= (bool)(SWIG_As_bool(obj1
));
36552 if (SWIG_arg_fail(2)) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 (arg1
)->Enable(arg2
);
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 Py_INCREF(Py_None
); resultobj
= Py_None
;
36569 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
;
36571 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36573 PyObject
* obj0
= 0 ;
36574 char *kwnames
[] = {
36575 (char *) "self", NULL
36578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36580 if (SWIG_arg_fail(1)) SWIG_fail
;
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36585 wxPyEndAllowThreads(__tstate
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36597 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
;
36599 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36600 bool arg2
= (bool) true ;
36601 PyObject
* obj0
= 0 ;
36602 PyObject
* obj1
= 0 ;
36603 char *kwnames
[] = {
36604 (char *) "self",(char *) "check", NULL
36607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36609 if (SWIG_arg_fail(1)) SWIG_fail
;
36612 arg2
= (bool)(SWIG_As_bool(obj1
));
36613 if (SWIG_arg_fail(2)) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->Check(arg2
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 Py_INCREF(Py_None
); resultobj
= Py_None
;
36630 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
;
36632 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36634 PyObject
* obj0
= 0 ;
36635 char *kwnames
[] = {
36636 (char *) "self", NULL
36639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36641 if (SWIG_arg_fail(1)) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36658 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36659 PyObject
*resultobj
;
36660 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36661 PyObject
* obj0
= 0 ;
36662 char *kwnames
[] = {
36663 (char *) "self", NULL
36666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36668 if (SWIG_arg_fail(1)) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 Py_INCREF(Py_None
); resultobj
= Py_None
;
36683 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
;
36685 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36686 wxString
*arg2
= 0 ;
36687 bool temp2
= false ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char *kwnames
[] = {
36691 (char *) "self",(char *) "str", NULL
36694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36696 if (SWIG_arg_fail(1)) SWIG_fail
;
36698 arg2
= wxString_in_helper(obj1
);
36699 if (arg2
== NULL
) SWIG_fail
;
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 (arg1
)->SetHelp((wxString
const &)*arg2
);
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36709 Py_INCREF(Py_None
); resultobj
= Py_None
;
36724 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
;
36726 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36728 PyObject
* obj0
= 0 ;
36729 char *kwnames
[] = {
36730 (char *) "self", NULL
36733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36735 if (SWIG_arg_fail(1)) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36740 result
= (wxString
*) &_result_ref
;
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36748 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36750 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36759 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36760 PyObject
*resultobj
;
36761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36762 wxAcceleratorEntry
*result
;
36763 PyObject
* obj0
= 0 ;
36764 char *kwnames
[] = {
36765 (char *) "self", NULL
36768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36770 if (SWIG_arg_fail(1)) SWIG_fail
;
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36775 wxPyEndAllowThreads(__tstate
);
36776 if (PyErr_Occurred()) SWIG_fail
;
36778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36785 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36788 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36789 PyObject
* obj0
= 0 ;
36790 PyObject
* obj1
= 0 ;
36791 char *kwnames
[] = {
36792 (char *) "self",(char *) "accel", NULL
36795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36797 if (SWIG_arg_fail(1)) SWIG_fail
;
36798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36799 if (SWIG_arg_fail(2)) SWIG_fail
;
36801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36802 (arg1
)->SetAccel(arg2
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 Py_INCREF(Py_None
); resultobj
= Py_None
;
36814 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36815 PyObject
*resultobj
;
36816 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36818 PyObject
* obj0
= 0 ;
36819 PyObject
* obj1
= 0 ;
36820 char *kwnames
[] = {
36821 (char *) "self",(char *) "font", NULL
36824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36826 if (SWIG_arg_fail(1)) SWIG_fail
;
36828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36829 if (SWIG_arg_fail(2)) SWIG_fail
;
36830 if (arg2
== NULL
) {
36831 SWIG_null_ref("wxFont");
36833 if (SWIG_arg_fail(2)) SWIG_fail
;
36836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36837 (arg1
)->SetFont((wxFont
const &)*arg2
);
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36842 Py_INCREF(Py_None
); resultobj
= Py_None
;
36849 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36850 PyObject
*resultobj
;
36851 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36853 PyObject
* obj0
= 0 ;
36854 char *kwnames
[] = {
36855 (char *) "self", NULL
36858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36860 if (SWIG_arg_fail(1)) SWIG_fail
;
36862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36863 result
= (arg1
)->GetFont();
36865 wxPyEndAllowThreads(__tstate
);
36866 if (PyErr_Occurred()) SWIG_fail
;
36869 wxFont
* resultptr
;
36870 resultptr
= new wxFont((wxFont
&)(result
));
36871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36879 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36880 PyObject
*resultobj
;
36881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36882 wxColour
*arg2
= 0 ;
36884 PyObject
* obj0
= 0 ;
36885 PyObject
* obj1
= 0 ;
36886 char *kwnames
[] = {
36887 (char *) "self",(char *) "colText", NULL
36890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36892 if (SWIG_arg_fail(1)) SWIG_fail
;
36895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 Py_INCREF(Py_None
); resultobj
= Py_None
;
36911 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36912 PyObject
*resultobj
;
36913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36915 PyObject
* obj0
= 0 ;
36916 char *kwnames
[] = {
36917 (char *) "self", NULL
36920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36922 if (SWIG_arg_fail(1)) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 result
= (arg1
)->GetTextColour();
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36931 wxColour
* resultptr
;
36932 resultptr
= new wxColour((wxColour
&)(result
));
36933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36941 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36942 PyObject
*resultobj
;
36943 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36944 wxColour
*arg2
= 0 ;
36946 PyObject
* obj0
= 0 ;
36947 PyObject
* obj1
= 0 ;
36948 char *kwnames
[] = {
36949 (char *) "self",(char *) "colBack", NULL
36952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36954 if (SWIG_arg_fail(1)) SWIG_fail
;
36957 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36961 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36963 wxPyEndAllowThreads(__tstate
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 Py_INCREF(Py_None
); resultobj
= Py_None
;
36973 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36974 PyObject
*resultobj
;
36975 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36977 PyObject
* obj0
= 0 ;
36978 char *kwnames
[] = {
36979 (char *) "self", NULL
36982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36984 if (SWIG_arg_fail(1)) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 result
= (arg1
)->GetBackgroundColour();
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36993 wxColour
* resultptr
;
36994 resultptr
= new wxColour((wxColour
&)(result
));
36995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37003 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37006 wxBitmap
*arg2
= 0 ;
37007 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37008 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 PyObject
* obj2
= 0 ;
37012 char *kwnames
[] = {
37013 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37018 if (SWIG_arg_fail(1)) SWIG_fail
;
37020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37021 if (SWIG_arg_fail(2)) SWIG_fail
;
37022 if (arg2
== NULL
) {
37023 SWIG_null_ref("wxBitmap");
37025 if (SWIG_arg_fail(2)) SWIG_fail
;
37029 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37030 if (SWIG_arg_fail(3)) SWIG_fail
;
37031 if (arg3
== NULL
) {
37032 SWIG_null_ref("wxBitmap");
37034 if (SWIG_arg_fail(3)) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37044 Py_INCREF(Py_None
); resultobj
= Py_None
;
37051 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37052 PyObject
*resultobj
;
37053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37054 wxBitmap
*arg2
= 0 ;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 char *kwnames
[] = {
37058 (char *) "self",(char *) "bmpDisabled", NULL
37061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37063 if (SWIG_arg_fail(1)) SWIG_fail
;
37065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37066 if (SWIG_arg_fail(2)) SWIG_fail
;
37067 if (arg2
== NULL
) {
37068 SWIG_null_ref("wxBitmap");
37070 if (SWIG_arg_fail(2)) SWIG_fail
;
37073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37074 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
37076 wxPyEndAllowThreads(__tstate
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37079 Py_INCREF(Py_None
); resultobj
= Py_None
;
37086 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37087 PyObject
*resultobj
;
37088 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37090 PyObject
* obj0
= 0 ;
37091 char *kwnames
[] = {
37092 (char *) "self", NULL
37095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37097 if (SWIG_arg_fail(1)) SWIG_fail
;
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
37102 result
= (wxBitmap
*) &_result_ref
;
37105 wxPyEndAllowThreads(__tstate
);
37106 if (PyErr_Occurred()) SWIG_fail
;
37109 wxBitmap
* resultptr
= new wxBitmap(*result
);
37110 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37118 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37119 PyObject
*resultobj
;
37120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37122 PyObject
* obj0
= 0 ;
37123 PyObject
* obj1
= 0 ;
37124 char *kwnames
[] = {
37125 (char *) "self",(char *) "nWidth", NULL
37128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37130 if (SWIG_arg_fail(1)) SWIG_fail
;
37132 arg2
= (int)(SWIG_As_int(obj1
));
37133 if (SWIG_arg_fail(2)) SWIG_fail
;
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->SetMarginWidth(arg2
);
37139 wxPyEndAllowThreads(__tstate
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37142 Py_INCREF(Py_None
); resultobj
= Py_None
;
37149 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37150 PyObject
*resultobj
;
37151 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37153 PyObject
* obj0
= 0 ;
37154 char *kwnames
[] = {
37155 (char *) "self", NULL
37158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37160 if (SWIG_arg_fail(1)) SWIG_fail
;
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 result
= (int)(arg1
)->GetMarginWidth();
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= SWIG_From_int((int)(result
));
37177 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
;
37180 char *kwnames
[] = {
37184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 result
= (int)wxMenuItem::GetDefaultMarginWidth();
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_From_int((int)(result
));
37201 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37202 PyObject
*resultobj
;
37203 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37205 PyObject
* obj0
= 0 ;
37206 char *kwnames
[] = {
37207 (char *) "self", NULL
37210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37212 if (SWIG_arg_fail(1)) SWIG_fail
;
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= (bool)(arg1
)->IsOwnerDrawn();
37217 wxPyEndAllowThreads(__tstate
);
37218 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37229 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
;
37231 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37232 bool arg2
= (bool) true ;
37233 PyObject
* obj0
= 0 ;
37234 PyObject
* obj1
= 0 ;
37235 char *kwnames
[] = {
37236 (char *) "self",(char *) "ownerDrawn", NULL
37239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37241 if (SWIG_arg_fail(1)) SWIG_fail
;
37244 arg2
= (bool)(SWIG_As_bool(obj1
));
37245 if (SWIG_arg_fail(2)) SWIG_fail
;
37249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37250 (arg1
)->SetOwnerDrawn(arg2
);
37252 wxPyEndAllowThreads(__tstate
);
37253 if (PyErr_Occurred()) SWIG_fail
;
37255 Py_INCREF(Py_None
); resultobj
= Py_None
;
37262 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37263 PyObject
*resultobj
;
37264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37265 PyObject
* obj0
= 0 ;
37266 char *kwnames
[] = {
37267 (char *) "self", NULL
37270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37272 if (SWIG_arg_fail(1)) SWIG_fail
;
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 (arg1
)->ResetOwnerDrawn();
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 Py_INCREF(Py_None
); resultobj
= Py_None
;
37287 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37288 PyObject
*resultobj
;
37289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37290 wxBitmap
*arg2
= 0 ;
37291 PyObject
* obj0
= 0 ;
37292 PyObject
* obj1
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self",(char *) "bitmap", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37299 if (SWIG_arg_fail(1)) SWIG_fail
;
37301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37302 if (SWIG_arg_fail(2)) SWIG_fail
;
37303 if (arg2
== NULL
) {
37304 SWIG_null_ref("wxBitmap");
37306 if (SWIG_arg_fail(2)) SWIG_fail
;
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37315 Py_INCREF(Py_None
); resultobj
= Py_None
;
37322 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37323 PyObject
*resultobj
;
37324 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37326 PyObject
* obj0
= 0 ;
37327 char *kwnames
[] = {
37328 (char *) "self", NULL
37331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37333 if (SWIG_arg_fail(1)) SWIG_fail
;
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37337 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37338 result
= (wxBitmap
*) &_result_ref
;
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37345 wxBitmap
* resultptr
= new wxBitmap(*result
);
37346 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37354 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37357 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37359 return Py_BuildValue((char *)"");
37361 static int _wrap_ControlNameStr_set(PyObject
*) {
37362 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37367 static PyObject
*_wrap_ControlNameStr_get(void) {
37372 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37374 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37381 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
;
37383 wxWindow
*arg1
= (wxWindow
*) 0 ;
37384 int arg2
= (int) -1 ;
37385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37389 long arg5
= (long) 0 ;
37390 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37391 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37392 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37393 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37397 bool temp7
= false ;
37398 PyObject
* obj0
= 0 ;
37399 PyObject
* obj1
= 0 ;
37400 PyObject
* obj2
= 0 ;
37401 PyObject
* obj3
= 0 ;
37402 PyObject
* obj4
= 0 ;
37403 PyObject
* obj5
= 0 ;
37404 PyObject
* obj6
= 0 ;
37405 char *kwnames
[] = {
37406 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37411 if (SWIG_arg_fail(1)) SWIG_fail
;
37414 arg2
= (int)(SWIG_As_int(obj1
));
37415 if (SWIG_arg_fail(2)) SWIG_fail
;
37421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37432 arg5
= (long)(SWIG_As_long(obj4
));
37433 if (SWIG_arg_fail(5)) SWIG_fail
;
37438 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37439 if (SWIG_arg_fail(6)) SWIG_fail
;
37440 if (arg6
== NULL
) {
37441 SWIG_null_ref("wxValidator");
37443 if (SWIG_arg_fail(6)) SWIG_fail
;
37448 arg7
= wxString_in_helper(obj6
);
37449 if (arg7
== NULL
) SWIG_fail
;
37454 if (!wxPyCheckForApp()) SWIG_fail
;
37455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37456 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37458 wxPyEndAllowThreads(__tstate
);
37459 if (PyErr_Occurred()) SWIG_fail
;
37461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37476 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
;
37479 char *kwnames
[] = {
37483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37485 if (!wxPyCheckForApp()) SWIG_fail
;
37486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37487 result
= (wxControl
*)new wxControl();
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37499 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37500 PyObject
*resultobj
;
37501 wxControl
*arg1
= (wxControl
*) 0 ;
37502 wxWindow
*arg2
= (wxWindow
*) 0 ;
37503 int arg3
= (int) -1 ;
37504 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37505 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37506 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37507 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37508 long arg6
= (long) 0 ;
37509 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37510 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37511 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37512 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37516 bool temp8
= false ;
37517 PyObject
* obj0
= 0 ;
37518 PyObject
* obj1
= 0 ;
37519 PyObject
* obj2
= 0 ;
37520 PyObject
* obj3
= 0 ;
37521 PyObject
* obj4
= 0 ;
37522 PyObject
* obj5
= 0 ;
37523 PyObject
* obj6
= 0 ;
37524 PyObject
* obj7
= 0 ;
37525 char *kwnames
[] = {
37526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37531 if (SWIG_arg_fail(1)) SWIG_fail
;
37532 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37533 if (SWIG_arg_fail(2)) SWIG_fail
;
37536 arg3
= (int)(SWIG_As_int(obj2
));
37537 if (SWIG_arg_fail(3)) SWIG_fail
;
37543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37554 arg6
= (long)(SWIG_As_long(obj5
));
37555 if (SWIG_arg_fail(6)) SWIG_fail
;
37560 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37561 if (SWIG_arg_fail(7)) SWIG_fail
;
37562 if (arg7
== NULL
) {
37563 SWIG_null_ref("wxValidator");
37565 if (SWIG_arg_fail(7)) SWIG_fail
;
37570 arg8
= wxString_in_helper(obj7
);
37571 if (arg8
== NULL
) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37599 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37600 PyObject
*resultobj
;
37601 wxControl
*arg1
= (wxControl
*) 0 ;
37602 wxCommandEvent
*arg2
= 0 ;
37603 PyObject
* obj0
= 0 ;
37604 PyObject
* obj1
= 0 ;
37605 char *kwnames
[] = {
37606 (char *) "self",(char *) "event", NULL
37609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37611 if (SWIG_arg_fail(1)) SWIG_fail
;
37613 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37614 if (SWIG_arg_fail(2)) SWIG_fail
;
37615 if (arg2
== NULL
) {
37616 SWIG_null_ref("wxCommandEvent");
37618 if (SWIG_arg_fail(2)) SWIG_fail
;
37621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37622 (arg1
)->Command(*arg2
);
37624 wxPyEndAllowThreads(__tstate
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37627 Py_INCREF(Py_None
); resultobj
= Py_None
;
37634 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37635 PyObject
*resultobj
;
37636 wxControl
*arg1
= (wxControl
*) 0 ;
37638 PyObject
* obj0
= 0 ;
37639 char *kwnames
[] = {
37640 (char *) "self", NULL
37643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37645 if (SWIG_arg_fail(1)) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 result
= (arg1
)->GetLabel();
37650 wxPyEndAllowThreads(__tstate
);
37651 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37666 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxControl
*arg1
= (wxControl
*) 0 ;
37669 wxString
*arg2
= 0 ;
37670 bool temp2
= false ;
37671 PyObject
* obj0
= 0 ;
37672 PyObject
* obj1
= 0 ;
37673 char *kwnames
[] = {
37674 (char *) "self",(char *) "label", NULL
37677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37679 if (SWIG_arg_fail(1)) SWIG_fail
;
37681 arg2
= wxString_in_helper(obj1
);
37682 if (arg2
== NULL
) SWIG_fail
;
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 (arg1
)->SetLabel((wxString
const &)*arg2
);
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37692 Py_INCREF(Py_None
); resultobj
= Py_None
;
37707 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
;
37709 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37710 wxVisualAttributes result
;
37711 PyObject
* obj0
= 0 ;
37712 char *kwnames
[] = {
37713 (char *) "variant", NULL
37716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37719 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37720 if (SWIG_arg_fail(1)) SWIG_fail
;
37724 if (!wxPyCheckForApp()) SWIG_fail
;
37725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37726 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37728 wxPyEndAllowThreads(__tstate
);
37729 if (PyErr_Occurred()) SWIG_fail
;
37732 wxVisualAttributes
* resultptr
;
37733 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37742 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37745 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37747 return Py_BuildValue((char *)"");
37749 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37750 PyObject
*resultobj
;
37751 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37752 wxString
*arg2
= 0 ;
37753 PyObject
*arg3
= (PyObject
*) NULL
;
37755 bool temp2
= false ;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 char *kwnames
[] = {
37760 (char *) "self",(char *) "item",(char *) "clientData", NULL
37763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37765 if (SWIG_arg_fail(1)) SWIG_fail
;
37767 arg2
= wxString_in_helper(obj1
);
37768 if (arg2
== NULL
) SWIG_fail
;
37775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37776 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37778 wxPyEndAllowThreads(__tstate
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37782 resultobj
= SWIG_From_int((int)(result
));
37798 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
;
37800 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37801 wxArrayString
*arg2
= 0 ;
37802 bool temp2
= false ;
37803 PyObject
* obj0
= 0 ;
37804 PyObject
* obj1
= 0 ;
37805 char *kwnames
[] = {
37806 (char *) "self",(char *) "strings", NULL
37809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37811 if (SWIG_arg_fail(1)) SWIG_fail
;
37813 if (! PySequence_Check(obj1
)) {
37814 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37817 arg2
= new wxArrayString
;
37819 int i
, len
=PySequence_Length(obj1
);
37820 for (i
=0; i
<len
; i
++) {
37821 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37823 PyObject
* str
= PyObject_Unicode(item
);
37825 PyObject
* str
= PyObject_Str(item
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37828 arg2
->Add(Py2wxString(str
));
37834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37835 (arg1
)->Append((wxArrayString
const &)*arg2
);
37837 wxPyEndAllowThreads(__tstate
);
37838 if (PyErr_Occurred()) SWIG_fail
;
37840 Py_INCREF(Py_None
); resultobj
= Py_None
;
37842 if (temp2
) delete arg2
;
37847 if (temp2
) delete arg2
;
37853 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37854 PyObject
*resultobj
;
37855 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37856 wxString
*arg2
= 0 ;
37858 PyObject
*arg4
= (PyObject
*) NULL
;
37860 bool temp2
= false ;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 PyObject
* obj2
= 0 ;
37864 PyObject
* obj3
= 0 ;
37865 char *kwnames
[] = {
37866 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37871 if (SWIG_arg_fail(1)) SWIG_fail
;
37873 arg2
= wxString_in_helper(obj1
);
37874 if (arg2
== NULL
) SWIG_fail
;
37878 arg3
= (int)(SWIG_As_int(obj2
));
37879 if (SWIG_arg_fail(3)) SWIG_fail
;
37885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37886 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37888 wxPyEndAllowThreads(__tstate
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37892 resultobj
= SWIG_From_int((int)(result
));
37908 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37909 PyObject
*resultobj
;
37910 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37911 PyObject
* obj0
= 0 ;
37912 char *kwnames
[] = {
37913 (char *) "self", NULL
37916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37918 if (SWIG_arg_fail(1)) SWIG_fail
;
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 Py_INCREF(Py_None
); resultobj
= Py_None
;
37933 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
;
37935 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37937 PyObject
* obj0
= 0 ;
37938 PyObject
* obj1
= 0 ;
37939 char *kwnames
[] = {
37940 (char *) "self",(char *) "n", NULL
37943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37945 if (SWIG_arg_fail(1)) SWIG_fail
;
37947 arg2
= (int)(SWIG_As_int(obj1
));
37948 if (SWIG_arg_fail(2)) SWIG_fail
;
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37952 (arg1
)->Delete(arg2
);
37954 wxPyEndAllowThreads(__tstate
);
37955 if (PyErr_Occurred()) SWIG_fail
;
37957 Py_INCREF(Py_None
); resultobj
= Py_None
;
37964 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37965 PyObject
*resultobj
;
37966 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37969 PyObject
* obj0
= 0 ;
37970 PyObject
* obj1
= 0 ;
37971 char *kwnames
[] = {
37972 (char *) "self",(char *) "n", NULL
37975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37977 if (SWIG_arg_fail(1)) SWIG_fail
;
37979 arg2
= (int)(SWIG_As_int(obj1
));
37980 if (SWIG_arg_fail(2)) SWIG_fail
;
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37986 wxPyEndAllowThreads(__tstate
);
37987 if (PyErr_Occurred()) SWIG_fail
;
37989 resultobj
= result
;
37996 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37997 PyObject
*resultobj
;
37998 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38000 PyObject
*arg3
= (PyObject
*) 0 ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 PyObject
* obj2
= 0 ;
38004 char *kwnames
[] = {
38005 (char *) "self",(char *) "n",(char *) "clientData", NULL
38008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38010 if (SWIG_arg_fail(1)) SWIG_fail
;
38012 arg2
= (int)(SWIG_As_int(obj1
));
38013 if (SWIG_arg_fail(2)) SWIG_fail
;
38017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38018 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38020 wxPyEndAllowThreads(__tstate
);
38021 if (PyErr_Occurred()) SWIG_fail
;
38023 Py_INCREF(Py_None
); resultobj
= Py_None
;
38030 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38031 PyObject
*resultobj
;
38032 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38034 PyObject
* obj0
= 0 ;
38035 char *kwnames
[] = {
38036 (char *) "self", NULL
38039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38041 if (SWIG_arg_fail(1)) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= SWIG_From_int((int)(result
));
38058 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38059 PyObject
*resultobj
;
38060 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 char *kwnames
[] = {
38064 (char *) "self", NULL
38067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38069 if (SWIG_arg_fail(1)) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38086 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
;
38088 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38091 PyObject
* obj0
= 0 ;
38092 PyObject
* obj1
= 0 ;
38093 char *kwnames
[] = {
38094 (char *) "self",(char *) "n", NULL
38097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38099 if (SWIG_arg_fail(1)) SWIG_fail
;
38101 arg2
= (int)(SWIG_As_int(obj1
));
38102 if (SWIG_arg_fail(2)) SWIG_fail
;
38105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38106 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38108 wxPyEndAllowThreads(__tstate
);
38109 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38124 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
;
38126 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38127 wxArrayString result
;
38128 PyObject
* obj0
= 0 ;
38129 char *kwnames
[] = {
38130 (char *) "self", NULL
38133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38135 if (SWIG_arg_fail(1)) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38144 resultobj
= wxArrayString2PyList_helper(result
);
38152 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38153 PyObject
*resultobj
;
38154 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38156 wxString
*arg3
= 0 ;
38157 bool temp3
= false ;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 PyObject
* obj2
= 0 ;
38161 char *kwnames
[] = {
38162 (char *) "self",(char *) "n",(char *) "s", NULL
38165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38167 if (SWIG_arg_fail(1)) SWIG_fail
;
38169 arg2
= (int)(SWIG_As_int(obj1
));
38170 if (SWIG_arg_fail(2)) SWIG_fail
;
38173 arg3
= wxString_in_helper(obj2
);
38174 if (arg3
== NULL
) SWIG_fail
;
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38181 wxPyEndAllowThreads(__tstate
);
38182 if (PyErr_Occurred()) SWIG_fail
;
38184 Py_INCREF(Py_None
); resultobj
= Py_None
;
38199 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
;
38201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38202 wxString
*arg2
= 0 ;
38204 bool temp2
= false ;
38205 PyObject
* obj0
= 0 ;
38206 PyObject
* obj1
= 0 ;
38207 char *kwnames
[] = {
38208 (char *) "self",(char *) "s", NULL
38211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38213 if (SWIG_arg_fail(1)) SWIG_fail
;
38215 arg2
= wxString_in_helper(obj1
);
38216 if (arg2
== NULL
) SWIG_fail
;
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38227 resultobj
= SWIG_From_int((int)(result
));
38243 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
;
38245 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38247 PyObject
* obj0
= 0 ;
38248 PyObject
* obj1
= 0 ;
38249 char *kwnames
[] = {
38250 (char *) "self",(char *) "n", NULL
38253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38255 if (SWIG_arg_fail(1)) SWIG_fail
;
38257 arg2
= (int)(SWIG_As_int(obj1
));
38258 if (SWIG_arg_fail(2)) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 (arg1
)->SetSelection(arg2
);
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38267 Py_INCREF(Py_None
); resultobj
= Py_None
;
38274 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38275 PyObject
*resultobj
;
38276 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 char *kwnames
[] = {
38280 (char *) "self", NULL
38283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38285 if (SWIG_arg_fail(1)) SWIG_fail
;
38287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38288 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_From_int((int)(result
));
38302 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
;
38304 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38305 wxString
*arg2
= 0 ;
38307 bool temp2
= false ;
38308 PyObject
* obj0
= 0 ;
38309 PyObject
* obj1
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self",(char *) "s", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38316 if (SWIG_arg_fail(1)) SWIG_fail
;
38318 arg2
= wxString_in_helper(obj1
);
38319 if (arg2
== NULL
) SWIG_fail
;
38323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38324 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38326 wxPyEndAllowThreads(__tstate
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38346 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
;
38348 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38350 PyObject
* obj0
= 0 ;
38351 char *kwnames
[] = {
38352 (char *) "self", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38357 if (SWIG_arg_fail(1)) SWIG_fail
;
38359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38360 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38378 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
;
38380 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38382 PyObject
* obj0
= 0 ;
38383 PyObject
* obj1
= 0 ;
38384 char *kwnames
[] = {
38385 (char *) "self",(char *) "n", NULL
38388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38390 if (SWIG_arg_fail(1)) SWIG_fail
;
38392 arg2
= (int)(SWIG_As_int(obj1
));
38393 if (SWIG_arg_fail(2)) SWIG_fail
;
38396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38397 (arg1
)->Select(arg2
);
38399 wxPyEndAllowThreads(__tstate
);
38400 if (PyErr_Occurred()) SWIG_fail
;
38402 Py_INCREF(Py_None
); resultobj
= Py_None
;
38409 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38412 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38414 return Py_BuildValue((char *)"");
38416 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38419 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38421 return Py_BuildValue((char *)"");
38423 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38424 PyObject
*resultobj
;
38425 wxSizerItem
*result
;
38426 char *kwnames
[] = {
38430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38433 result
= (wxSizerItem
*)new wxSizerItem();
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38445 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
;
38447 wxWindow
*arg1
= (wxWindow
*) 0 ;
38451 PyObject
*arg5
= (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 char *kwnames
[] = {
38459 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38464 if (SWIG_arg_fail(1)) SWIG_fail
;
38466 arg2
= (int)(SWIG_As_int(obj1
));
38467 if (SWIG_arg_fail(2)) SWIG_fail
;
38470 arg3
= (int)(SWIG_As_int(obj2
));
38471 if (SWIG_arg_fail(3)) SWIG_fail
;
38474 arg4
= (int)(SWIG_As_int(obj3
));
38475 if (SWIG_arg_fail(4)) SWIG_fail
;
38481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38484 wxPyEndAllowThreads(__tstate
);
38485 if (PyErr_Occurred()) SWIG_fail
;
38487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38494 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
;
38501 PyObject
*arg6
= (PyObject
*) NULL
;
38502 wxSizerItem
*result
;
38503 PyObject
* obj0
= 0 ;
38504 PyObject
* obj1
= 0 ;
38505 PyObject
* obj2
= 0 ;
38506 PyObject
* obj3
= 0 ;
38507 PyObject
* obj4
= 0 ;
38508 PyObject
* obj5
= 0 ;
38509 char *kwnames
[] = {
38510 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38515 arg1
= (int)(SWIG_As_int(obj0
));
38516 if (SWIG_arg_fail(1)) SWIG_fail
;
38519 arg2
= (int)(SWIG_As_int(obj1
));
38520 if (SWIG_arg_fail(2)) SWIG_fail
;
38523 arg3
= (int)(SWIG_As_int(obj2
));
38524 if (SWIG_arg_fail(3)) SWIG_fail
;
38527 arg4
= (int)(SWIG_As_int(obj3
));
38528 if (SWIG_arg_fail(4)) SWIG_fail
;
38531 arg5
= (int)(SWIG_As_int(obj4
));
38532 if (SWIG_arg_fail(5)) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38551 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38552 PyObject
*resultobj
;
38553 wxSizer
*arg1
= (wxSizer
*) 0 ;
38557 PyObject
*arg5
= (PyObject
*) NULL
;
38558 wxSizerItem
*result
;
38559 PyObject
* obj0
= 0 ;
38560 PyObject
* obj1
= 0 ;
38561 PyObject
* obj2
= 0 ;
38562 PyObject
* obj3
= 0 ;
38563 PyObject
* obj4
= 0 ;
38564 char *kwnames
[] = {
38565 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38570 if (SWIG_arg_fail(1)) SWIG_fail
;
38572 arg2
= (int)(SWIG_As_int(obj1
));
38573 if (SWIG_arg_fail(2)) SWIG_fail
;
38576 arg3
= (int)(SWIG_As_int(obj2
));
38577 if (SWIG_arg_fail(3)) SWIG_fail
;
38580 arg4
= (int)(SWIG_As_int(obj3
));
38581 if (SWIG_arg_fail(4)) SWIG_fail
;
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38600 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
;
38602 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38603 PyObject
* obj0
= 0 ;
38604 char *kwnames
[] = {
38605 (char *) "self", NULL
38608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38610 if (SWIG_arg_fail(1)) SWIG_fail
;
38612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38613 (arg1
)->DeleteWindows();
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 Py_INCREF(Py_None
); resultobj
= Py_None
;
38625 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38626 PyObject
*resultobj
;
38627 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38628 PyObject
* obj0
= 0 ;
38629 char *kwnames
[] = {
38630 (char *) "self", NULL
38633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38635 if (SWIG_arg_fail(1)) SWIG_fail
;
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->DetachSizer();
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 Py_INCREF(Py_None
); resultobj
= Py_None
;
38650 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38651 PyObject
*resultobj
;
38652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38654 PyObject
* obj0
= 0 ;
38655 char *kwnames
[] = {
38656 (char *) "self", NULL
38659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38661 if (SWIG_arg_fail(1)) SWIG_fail
;
38663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38664 result
= (arg1
)->GetSize();
38666 wxPyEndAllowThreads(__tstate
);
38667 if (PyErr_Occurred()) SWIG_fail
;
38670 wxSize
* resultptr
;
38671 resultptr
= new wxSize((wxSize
&)(result
));
38672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38680 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38681 PyObject
*resultobj
;
38682 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38684 PyObject
* obj0
= 0 ;
38685 char *kwnames
[] = {
38686 (char *) "self", NULL
38689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38691 if (SWIG_arg_fail(1)) SWIG_fail
;
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (arg1
)->CalcMin();
38696 wxPyEndAllowThreads(__tstate
);
38697 if (PyErr_Occurred()) SWIG_fail
;
38700 wxSize
* resultptr
;
38701 resultptr
= new wxSize((wxSize
&)(result
));
38702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38710 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38711 PyObject
*resultobj
;
38712 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38715 PyObject
* obj0
= 0 ;
38716 PyObject
* obj1
= 0 ;
38717 PyObject
* obj2
= 0 ;
38718 char *kwnames
[] = {
38719 (char *) "self",(char *) "pos",(char *) "size", NULL
38722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38724 if (SWIG_arg_fail(1)) SWIG_fail
;
38727 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38728 if (SWIG_arg_fail(2)) SWIG_fail
;
38729 if (argp
== NULL
) {
38730 SWIG_null_ref("wxPoint");
38732 if (SWIG_arg_fail(2)) SWIG_fail
;
38737 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38738 if (SWIG_arg_fail(3)) SWIG_fail
;
38739 if (argp
== NULL
) {
38740 SWIG_null_ref("wxSize");
38742 if (SWIG_arg_fail(3)) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 (arg1
)->SetDimension(arg2
,arg3
);
38749 wxPyEndAllowThreads(__tstate
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38752 Py_INCREF(Py_None
); resultobj
= Py_None
;
38759 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38760 PyObject
*resultobj
;
38761 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38763 PyObject
* obj0
= 0 ;
38764 char *kwnames
[] = {
38765 (char *) "self", NULL
38768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38770 if (SWIG_arg_fail(1)) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= (arg1
)->GetMinSize();
38775 wxPyEndAllowThreads(__tstate
);
38776 if (PyErr_Occurred()) SWIG_fail
;
38779 wxSize
* resultptr
;
38780 resultptr
= new wxSize((wxSize
&)(result
));
38781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38789 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
;
38791 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38793 PyObject
* obj0
= 0 ;
38794 char *kwnames
[] = {
38795 (char *) "self", NULL
38798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38800 if (SWIG_arg_fail(1)) SWIG_fail
;
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 wxSize
* resultptr
;
38810 resultptr
= new wxSize((wxSize
&)(result
));
38811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38819 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38820 PyObject
*resultobj
;
38821 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38824 PyObject
* obj0
= 0 ;
38825 PyObject
* obj1
= 0 ;
38826 PyObject
* obj2
= 0 ;
38827 char *kwnames
[] = {
38828 (char *) "self",(char *) "x",(char *) "y", NULL
38831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38833 if (SWIG_arg_fail(1)) SWIG_fail
;
38835 arg2
= (int)(SWIG_As_int(obj1
));
38836 if (SWIG_arg_fail(2)) SWIG_fail
;
38839 arg3
= (int)(SWIG_As_int(obj2
));
38840 if (SWIG_arg_fail(3)) SWIG_fail
;
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 (arg1
)->SetInitSize(arg2
,arg3
);
38846 wxPyEndAllowThreads(__tstate
);
38847 if (PyErr_Occurred()) SWIG_fail
;
38849 Py_INCREF(Py_None
); resultobj
= Py_None
;
38856 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38857 PyObject
*resultobj
;
38858 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38861 PyObject
* obj0
= 0 ;
38862 PyObject
* obj1
= 0 ;
38863 PyObject
* obj2
= 0 ;
38864 char *kwnames
[] = {
38865 (char *) "self",(char *) "width",(char *) "height", NULL
38868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38870 if (SWIG_arg_fail(1)) SWIG_fail
;
38872 arg2
= (int)(SWIG_As_int(obj1
));
38873 if (SWIG_arg_fail(2)) SWIG_fail
;
38876 arg3
= (int)(SWIG_As_int(obj2
));
38877 if (SWIG_arg_fail(3)) SWIG_fail
;
38880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38881 (arg1
)->SetRatio(arg2
,arg3
);
38883 wxPyEndAllowThreads(__tstate
);
38884 if (PyErr_Occurred()) SWIG_fail
;
38886 Py_INCREF(Py_None
); resultobj
= Py_None
;
38893 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38894 PyObject
*resultobj
;
38895 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38898 PyObject
* obj0
= 0 ;
38899 PyObject
* obj1
= 0 ;
38900 char *kwnames
[] = {
38901 (char *) "self",(char *) "size", NULL
38904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38906 if (SWIG_arg_fail(1)) SWIG_fail
;
38909 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38913 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38915 wxPyEndAllowThreads(__tstate
);
38916 if (PyErr_Occurred()) SWIG_fail
;
38918 Py_INCREF(Py_None
); resultobj
= Py_None
;
38925 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38926 PyObject
*resultobj
;
38927 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38929 PyObject
* obj0
= 0 ;
38930 PyObject
* obj1
= 0 ;
38931 char *kwnames
[] = {
38932 (char *) "self",(char *) "ratio", NULL
38935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38937 if (SWIG_arg_fail(1)) SWIG_fail
;
38939 arg2
= (float)(SWIG_As_float(obj1
));
38940 if (SWIG_arg_fail(2)) SWIG_fail
;
38943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38944 (arg1
)->SetRatio(arg2
);
38946 wxPyEndAllowThreads(__tstate
);
38947 if (PyErr_Occurred()) SWIG_fail
;
38949 Py_INCREF(Py_None
); resultobj
= Py_None
;
38956 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38957 PyObject
*resultobj
;
38958 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38960 PyObject
* obj0
= 0 ;
38961 char *kwnames
[] = {
38962 (char *) "self", NULL
38965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38967 if (SWIG_arg_fail(1)) SWIG_fail
;
38969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38970 result
= (float)(arg1
)->GetRatio();
38972 wxPyEndAllowThreads(__tstate
);
38973 if (PyErr_Occurred()) SWIG_fail
;
38976 resultobj
= SWIG_From_float((float)(result
));
38984 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38985 PyObject
*resultobj
;
38986 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38988 PyObject
* obj0
= 0 ;
38989 char *kwnames
[] = {
38990 (char *) "self", NULL
38993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38995 if (SWIG_arg_fail(1)) SWIG_fail
;
38997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38998 result
= (arg1
)->GetRect();
39000 wxPyEndAllowThreads(__tstate
);
39001 if (PyErr_Occurred()) SWIG_fail
;
39004 wxRect
* resultptr
;
39005 resultptr
= new wxRect((wxRect
&)(result
));
39006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39014 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39015 PyObject
*resultobj
;
39016 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39018 PyObject
* obj0
= 0 ;
39019 char *kwnames
[] = {
39020 (char *) "self", NULL
39023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39025 if (SWIG_arg_fail(1)) SWIG_fail
;
39027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39028 result
= (bool)(arg1
)->IsWindow();
39030 wxPyEndAllowThreads(__tstate
);
39031 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39042 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39043 PyObject
*resultobj
;
39044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39046 PyObject
* obj0
= 0 ;
39047 char *kwnames
[] = {
39048 (char *) "self", NULL
39051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39053 if (SWIG_arg_fail(1)) SWIG_fail
;
39055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39056 result
= (bool)(arg1
)->IsSizer();
39058 wxPyEndAllowThreads(__tstate
);
39059 if (PyErr_Occurred()) SWIG_fail
;
39062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39070 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39071 PyObject
*resultobj
;
39072 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39074 PyObject
* obj0
= 0 ;
39075 char *kwnames
[] = {
39076 (char *) "self", NULL
39079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39081 if (SWIG_arg_fail(1)) SWIG_fail
;
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 result
= (bool)(arg1
)->IsSpacer();
39086 wxPyEndAllowThreads(__tstate
);
39087 if (PyErr_Occurred()) SWIG_fail
;
39090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39098 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39099 PyObject
*resultobj
;
39100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39102 PyObject
* obj0
= 0 ;
39103 PyObject
* obj1
= 0 ;
39104 char *kwnames
[] = {
39105 (char *) "self",(char *) "proportion", NULL
39108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39110 if (SWIG_arg_fail(1)) SWIG_fail
;
39112 arg2
= (int)(SWIG_As_int(obj1
));
39113 if (SWIG_arg_fail(2)) SWIG_fail
;
39116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39117 (arg1
)->SetProportion(arg2
);
39119 wxPyEndAllowThreads(__tstate
);
39120 if (PyErr_Occurred()) SWIG_fail
;
39122 Py_INCREF(Py_None
); resultobj
= Py_None
;
39129 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39130 PyObject
*resultobj
;
39131 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39133 PyObject
* obj0
= 0 ;
39134 char *kwnames
[] = {
39135 (char *) "self", NULL
39138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39140 if (SWIG_arg_fail(1)) SWIG_fail
;
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 result
= (int)(arg1
)->GetProportion();
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39149 resultobj
= SWIG_From_int((int)(result
));
39157 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39158 PyObject
*resultobj
;
39159 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39161 PyObject
* obj0
= 0 ;
39162 PyObject
* obj1
= 0 ;
39163 char *kwnames
[] = {
39164 (char *) "self",(char *) "flag", NULL
39167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39169 if (SWIG_arg_fail(1)) SWIG_fail
;
39171 arg2
= (int)(SWIG_As_int(obj1
));
39172 if (SWIG_arg_fail(2)) SWIG_fail
;
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 (arg1
)->SetFlag(arg2
);
39178 wxPyEndAllowThreads(__tstate
);
39179 if (PyErr_Occurred()) SWIG_fail
;
39181 Py_INCREF(Py_None
); resultobj
= Py_None
;
39188 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39189 PyObject
*resultobj
;
39190 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39192 PyObject
* obj0
= 0 ;
39193 char *kwnames
[] = {
39194 (char *) "self", NULL
39197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39199 if (SWIG_arg_fail(1)) SWIG_fail
;
39201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39202 result
= (int)(arg1
)->GetFlag();
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_From_int((int)(result
));
39216 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39217 PyObject
*resultobj
;
39218 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39220 PyObject
* obj0
= 0 ;
39221 PyObject
* obj1
= 0 ;
39222 char *kwnames
[] = {
39223 (char *) "self",(char *) "border", NULL
39226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39228 if (SWIG_arg_fail(1)) SWIG_fail
;
39230 arg2
= (int)(SWIG_As_int(obj1
));
39231 if (SWIG_arg_fail(2)) SWIG_fail
;
39234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39235 (arg1
)->SetBorder(arg2
);
39237 wxPyEndAllowThreads(__tstate
);
39238 if (PyErr_Occurred()) SWIG_fail
;
39240 Py_INCREF(Py_None
); resultobj
= Py_None
;
39247 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39248 PyObject
*resultobj
;
39249 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39251 PyObject
* obj0
= 0 ;
39252 char *kwnames
[] = {
39253 (char *) "self", NULL
39256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39258 if (SWIG_arg_fail(1)) SWIG_fail
;
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 result
= (int)(arg1
)->GetBorder();
39263 wxPyEndAllowThreads(__tstate
);
39264 if (PyErr_Occurred()) SWIG_fail
;
39267 resultobj
= SWIG_From_int((int)(result
));
39275 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39276 PyObject
*resultobj
;
39277 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39279 PyObject
* obj0
= 0 ;
39280 char *kwnames
[] = {
39281 (char *) "self", NULL
39284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39286 if (SWIG_arg_fail(1)) SWIG_fail
;
39288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39289 result
= (wxWindow
*)(arg1
)->GetWindow();
39291 wxPyEndAllowThreads(__tstate
);
39292 if (PyErr_Occurred()) SWIG_fail
;
39295 resultobj
= wxPyMake_wxObject(result
, 0);
39303 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39304 PyObject
*resultobj
;
39305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39306 wxWindow
*arg2
= (wxWindow
*) 0 ;
39307 PyObject
* obj0
= 0 ;
39308 PyObject
* obj1
= 0 ;
39309 char *kwnames
[] = {
39310 (char *) "self",(char *) "window", NULL
39313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39315 if (SWIG_arg_fail(1)) SWIG_fail
;
39316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39317 if (SWIG_arg_fail(2)) SWIG_fail
;
39319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39320 (arg1
)->SetWindow(arg2
);
39322 wxPyEndAllowThreads(__tstate
);
39323 if (PyErr_Occurred()) SWIG_fail
;
39325 Py_INCREF(Py_None
); resultobj
= Py_None
;
39332 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39333 PyObject
*resultobj
;
39334 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39336 PyObject
* obj0
= 0 ;
39337 char *kwnames
[] = {
39338 (char *) "self", NULL
39341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39343 if (SWIG_arg_fail(1)) SWIG_fail
;
39345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39346 result
= (wxSizer
*)(arg1
)->GetSizer();
39348 wxPyEndAllowThreads(__tstate
);
39349 if (PyErr_Occurred()) SWIG_fail
;
39352 resultobj
= wxPyMake_wxSizer(result
, 0);
39360 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39361 PyObject
*resultobj
;
39362 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39363 wxSizer
*arg2
= (wxSizer
*) 0 ;
39364 PyObject
* obj0
= 0 ;
39365 PyObject
* obj1
= 0 ;
39366 char *kwnames
[] = {
39367 (char *) "self",(char *) "sizer", NULL
39370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39372 if (SWIG_arg_fail(1)) SWIG_fail
;
39373 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39374 if (SWIG_arg_fail(2)) SWIG_fail
;
39376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39377 (arg1
)->SetSizer(arg2
);
39379 wxPyEndAllowThreads(__tstate
);
39380 if (PyErr_Occurred()) SWIG_fail
;
39382 Py_INCREF(Py_None
); resultobj
= Py_None
;
39389 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39390 PyObject
*resultobj
;
39391 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39393 PyObject
* obj0
= 0 ;
39394 char *kwnames
[] = {
39395 (char *) "self", NULL
39398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39400 if (SWIG_arg_fail(1)) SWIG_fail
;
39402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39404 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39405 result
= (wxSize
*) &_result_ref
;
39408 wxPyEndAllowThreads(__tstate
);
39409 if (PyErr_Occurred()) SWIG_fail
;
39411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39418 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39419 PyObject
*resultobj
;
39420 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39423 PyObject
* obj0
= 0 ;
39424 PyObject
* obj1
= 0 ;
39425 char *kwnames
[] = {
39426 (char *) "self",(char *) "size", NULL
39429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39431 if (SWIG_arg_fail(1)) SWIG_fail
;
39434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39438 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39440 wxPyEndAllowThreads(__tstate
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39443 Py_INCREF(Py_None
); resultobj
= Py_None
;
39450 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39451 PyObject
*resultobj
;
39452 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39454 PyObject
* obj0
= 0 ;
39455 PyObject
* obj1
= 0 ;
39456 char *kwnames
[] = {
39457 (char *) "self",(char *) "show", NULL
39460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39462 if (SWIG_arg_fail(1)) SWIG_fail
;
39464 arg2
= (bool)(SWIG_As_bool(obj1
));
39465 if (SWIG_arg_fail(2)) SWIG_fail
;
39468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39469 (arg1
)->Show(arg2
);
39471 wxPyEndAllowThreads(__tstate
);
39472 if (PyErr_Occurred()) SWIG_fail
;
39474 Py_INCREF(Py_None
); resultobj
= Py_None
;
39481 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39482 PyObject
*resultobj
;
39483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39485 PyObject
* obj0
= 0 ;
39486 char *kwnames
[] = {
39487 (char *) "self", NULL
39490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39492 if (SWIG_arg_fail(1)) SWIG_fail
;
39494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39495 result
= (bool)(arg1
)->IsShown();
39497 wxPyEndAllowThreads(__tstate
);
39498 if (PyErr_Occurred()) SWIG_fail
;
39501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39509 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39510 PyObject
*resultobj
;
39511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39513 PyObject
* obj0
= 0 ;
39514 char *kwnames
[] = {
39515 (char *) "self", NULL
39518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39520 if (SWIG_arg_fail(1)) SWIG_fail
;
39522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 result
= (arg1
)->GetPosition();
39525 wxPyEndAllowThreads(__tstate
);
39526 if (PyErr_Occurred()) SWIG_fail
;
39529 wxPoint
* resultptr
;
39530 resultptr
= new wxPoint((wxPoint
&)(result
));
39531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39539 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39540 PyObject
*resultobj
;
39541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39543 PyObject
* obj0
= 0 ;
39544 char *kwnames
[] = {
39545 (char *) "self", NULL
39548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39550 if (SWIG_arg_fail(1)) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39555 wxPyEndAllowThreads(__tstate
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39558 resultobj
= result
;
39565 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39568 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39570 return Py_BuildValue((char *)"");
39572 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
;
39574 wxSizer
*arg1
= (wxSizer
*) 0 ;
39575 PyObject
*arg2
= (PyObject
*) 0 ;
39576 PyObject
* obj0
= 0 ;
39577 PyObject
* obj1
= 0 ;
39578 char *kwnames
[] = {
39579 (char *) "self",(char *) "_self", NULL
39582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39584 if (SWIG_arg_fail(1)) SWIG_fail
;
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39588 wxSizer__setOORInfo(arg1
,arg2
);
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39593 Py_INCREF(Py_None
); resultobj
= Py_None
;
39600 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39601 PyObject
*resultobj
;
39602 wxSizer
*arg1
= (wxSizer
*) 0 ;
39603 PyObject
*arg2
= (PyObject
*) 0 ;
39604 int arg3
= (int) 0 ;
39605 int arg4
= (int) 0 ;
39606 int arg5
= (int) 0 ;
39607 PyObject
*arg6
= (PyObject
*) NULL
;
39608 wxSizerItem
*result
;
39609 PyObject
* obj0
= 0 ;
39610 PyObject
* obj1
= 0 ;
39611 PyObject
* obj2
= 0 ;
39612 PyObject
* obj3
= 0 ;
39613 PyObject
* obj4
= 0 ;
39614 PyObject
* obj5
= 0 ;
39615 char *kwnames
[] = {
39616 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39621 if (SWIG_arg_fail(1)) SWIG_fail
;
39625 arg3
= (int)(SWIG_As_int(obj2
));
39626 if (SWIG_arg_fail(3)) SWIG_fail
;
39631 arg4
= (int)(SWIG_As_int(obj3
));
39632 if (SWIG_arg_fail(4)) SWIG_fail
;
39637 arg5
= (int)(SWIG_As_int(obj4
));
39638 if (SWIG_arg_fail(5)) SWIG_fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39658 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39659 PyObject
*resultobj
;
39660 wxSizer
*arg1
= (wxSizer
*) 0 ;
39662 PyObject
*arg3
= (PyObject
*) 0 ;
39663 int arg4
= (int) 0 ;
39664 int arg5
= (int) 0 ;
39665 int arg6
= (int) 0 ;
39666 PyObject
*arg7
= (PyObject
*) NULL
;
39667 wxSizerItem
*result
;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39670 PyObject
* obj2
= 0 ;
39671 PyObject
* obj3
= 0 ;
39672 PyObject
* obj4
= 0 ;
39673 PyObject
* obj5
= 0 ;
39674 PyObject
* obj6
= 0 ;
39675 char *kwnames
[] = {
39676 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39681 if (SWIG_arg_fail(1)) SWIG_fail
;
39683 arg2
= (int)(SWIG_As_int(obj1
));
39684 if (SWIG_arg_fail(2)) SWIG_fail
;
39689 arg4
= (int)(SWIG_As_int(obj3
));
39690 if (SWIG_arg_fail(4)) SWIG_fail
;
39695 arg5
= (int)(SWIG_As_int(obj4
));
39696 if (SWIG_arg_fail(5)) SWIG_fail
;
39701 arg6
= (int)(SWIG_As_int(obj5
));
39702 if (SWIG_arg_fail(6)) SWIG_fail
;
39709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39710 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39712 wxPyEndAllowThreads(__tstate
);
39713 if (PyErr_Occurred()) SWIG_fail
;
39715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39722 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39723 PyObject
*resultobj
;
39724 wxSizer
*arg1
= (wxSizer
*) 0 ;
39725 PyObject
*arg2
= (PyObject
*) 0 ;
39726 int arg3
= (int) 0 ;
39727 int arg4
= (int) 0 ;
39728 int arg5
= (int) 0 ;
39729 PyObject
*arg6
= (PyObject
*) NULL
;
39730 wxSizerItem
*result
;
39731 PyObject
* obj0
= 0 ;
39732 PyObject
* obj1
= 0 ;
39733 PyObject
* obj2
= 0 ;
39734 PyObject
* obj3
= 0 ;
39735 PyObject
* obj4
= 0 ;
39736 PyObject
* obj5
= 0 ;
39737 char *kwnames
[] = {
39738 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39743 if (SWIG_arg_fail(1)) SWIG_fail
;
39747 arg3
= (int)(SWIG_As_int(obj2
));
39748 if (SWIG_arg_fail(3)) SWIG_fail
;
39753 arg4
= (int)(SWIG_As_int(obj3
));
39754 if (SWIG_arg_fail(4)) SWIG_fail
;
39759 arg5
= (int)(SWIG_As_int(obj4
));
39760 if (SWIG_arg_fail(5)) SWIG_fail
;
39767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39768 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39770 wxPyEndAllowThreads(__tstate
);
39771 if (PyErr_Occurred()) SWIG_fail
;
39773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39780 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39781 PyObject
*resultobj
;
39782 wxSizer
*arg1
= (wxSizer
*) 0 ;
39783 PyObject
*arg2
= (PyObject
*) 0 ;
39785 PyObject
* obj0
= 0 ;
39786 PyObject
* obj1
= 0 ;
39787 char *kwnames
[] = {
39788 (char *) "self",(char *) "item", NULL
39791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39793 if (SWIG_arg_fail(1)) SWIG_fail
;
39796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39797 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39799 wxPyEndAllowThreads(__tstate
);
39800 if (PyErr_Occurred()) SWIG_fail
;
39803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39811 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39812 PyObject
*resultobj
;
39813 wxSizer
*arg1
= (wxSizer
*) 0 ;
39814 PyObject
*arg2
= (PyObject
*) 0 ;
39816 PyObject
* obj0
= 0 ;
39817 PyObject
* obj1
= 0 ;
39818 char *kwnames
[] = {
39819 (char *) "self",(char *) "item", NULL
39822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39824 if (SWIG_arg_fail(1)) SWIG_fail
;
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39842 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39843 PyObject
*resultobj
;
39844 wxSizer
*arg1
= (wxSizer
*) 0 ;
39845 PyObject
*arg2
= (PyObject
*) 0 ;
39846 wxSizerItem
*result
;
39847 PyObject
* obj0
= 0 ;
39848 PyObject
* obj1
= 0 ;
39849 char *kwnames
[] = {
39850 (char *) "self",(char *) "item", NULL
39853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39855 if (SWIG_arg_fail(1)) SWIG_fail
;
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39861 wxPyEndAllowThreads(__tstate
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39871 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39872 PyObject
*resultobj
;
39873 wxSizer
*arg1
= (wxSizer
*) 0 ;
39874 PyObject
*arg2
= (PyObject
*) 0 ;
39877 PyObject
* obj0
= 0 ;
39878 PyObject
* obj1
= 0 ;
39879 PyObject
* obj2
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self",(char *) "item",(char *) "size", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39886 if (SWIG_arg_fail(1)) SWIG_fail
;
39890 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39896 wxPyEndAllowThreads(__tstate
);
39897 if (PyErr_Occurred()) SWIG_fail
;
39899 Py_INCREF(Py_None
); resultobj
= Py_None
;
39906 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39907 PyObject
*resultobj
;
39908 wxSizer
*arg1
= (wxSizer
*) 0 ;
39909 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39910 wxSizerItem
*result
;
39911 PyObject
* obj0
= 0 ;
39912 PyObject
* obj1
= 0 ;
39913 char *kwnames
[] = {
39914 (char *) "self",(char *) "item", NULL
39917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39919 if (SWIG_arg_fail(1)) SWIG_fail
;
39920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39921 if (SWIG_arg_fail(2)) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39936 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39937 PyObject
*resultobj
;
39938 wxSizer
*arg1
= (wxSizer
*) 0 ;
39940 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39941 wxSizerItem
*result
;
39942 PyObject
* obj0
= 0 ;
39943 PyObject
* obj1
= 0 ;
39944 PyObject
* obj2
= 0 ;
39945 char *kwnames
[] = {
39946 (char *) "self",(char *) "index",(char *) "item", NULL
39949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39951 if (SWIG_arg_fail(1)) SWIG_fail
;
39953 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39954 if (SWIG_arg_fail(2)) SWIG_fail
;
39956 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39957 if (SWIG_arg_fail(3)) SWIG_fail
;
39959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39960 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39962 wxPyEndAllowThreads(__tstate
);
39963 if (PyErr_Occurred()) SWIG_fail
;
39965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39972 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39973 PyObject
*resultobj
;
39974 wxSizer
*arg1
= (wxSizer
*) 0 ;
39975 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39976 wxSizerItem
*result
;
39977 PyObject
* obj0
= 0 ;
39978 PyObject
* obj1
= 0 ;
39979 char *kwnames
[] = {
39980 (char *) "self",(char *) "item", NULL
39983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39985 if (SWIG_arg_fail(1)) SWIG_fail
;
39986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39987 if (SWIG_arg_fail(2)) SWIG_fail
;
39989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39990 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39992 wxPyEndAllowThreads(__tstate
);
39993 if (PyErr_Occurred()) SWIG_fail
;
39995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40002 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40003 PyObject
*resultobj
;
40004 wxSizer
*arg1
= (wxSizer
*) 0 ;
40009 PyObject
* obj0
= 0 ;
40010 PyObject
* obj1
= 0 ;
40011 PyObject
* obj2
= 0 ;
40012 PyObject
* obj3
= 0 ;
40013 PyObject
* obj4
= 0 ;
40014 char *kwnames
[] = {
40015 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40020 if (SWIG_arg_fail(1)) SWIG_fail
;
40022 arg2
= (int)(SWIG_As_int(obj1
));
40023 if (SWIG_arg_fail(2)) SWIG_fail
;
40026 arg3
= (int)(SWIG_As_int(obj2
));
40027 if (SWIG_arg_fail(3)) SWIG_fail
;
40030 arg4
= (int)(SWIG_As_int(obj3
));
40031 if (SWIG_arg_fail(4)) SWIG_fail
;
40034 arg5
= (int)(SWIG_As_int(obj4
));
40035 if (SWIG_arg_fail(5)) SWIG_fail
;
40038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40039 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40044 Py_INCREF(Py_None
); resultobj
= Py_None
;
40051 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40052 PyObject
*resultobj
;
40053 wxSizer
*arg1
= (wxSizer
*) 0 ;
40056 PyObject
* obj0
= 0 ;
40057 PyObject
* obj1
= 0 ;
40058 char *kwnames
[] = {
40059 (char *) "self",(char *) "size", NULL
40062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40064 if (SWIG_arg_fail(1)) SWIG_fail
;
40067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40073 wxPyEndAllowThreads(__tstate
);
40074 if (PyErr_Occurred()) SWIG_fail
;
40076 Py_INCREF(Py_None
); resultobj
= Py_None
;
40083 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40084 PyObject
*resultobj
;
40085 wxSizer
*arg1
= (wxSizer
*) 0 ;
40087 PyObject
* obj0
= 0 ;
40088 char *kwnames
[] = {
40089 (char *) "self", NULL
40092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40094 if (SWIG_arg_fail(1)) SWIG_fail
;
40096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40097 result
= (arg1
)->GetSize();
40099 wxPyEndAllowThreads(__tstate
);
40100 if (PyErr_Occurred()) SWIG_fail
;
40103 wxSize
* resultptr
;
40104 resultptr
= new wxSize((wxSize
&)(result
));
40105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40113 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40114 PyObject
*resultobj
;
40115 wxSizer
*arg1
= (wxSizer
*) 0 ;
40117 PyObject
* obj0
= 0 ;
40118 char *kwnames
[] = {
40119 (char *) "self", NULL
40122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40124 if (SWIG_arg_fail(1)) SWIG_fail
;
40126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40127 result
= (arg1
)->GetPosition();
40129 wxPyEndAllowThreads(__tstate
);
40130 if (PyErr_Occurred()) SWIG_fail
;
40133 wxPoint
* resultptr
;
40134 resultptr
= new wxPoint((wxPoint
&)(result
));
40135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40143 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40144 PyObject
*resultobj
;
40145 wxSizer
*arg1
= (wxSizer
*) 0 ;
40147 PyObject
* obj0
= 0 ;
40148 char *kwnames
[] = {
40149 (char *) "self", NULL
40152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40154 if (SWIG_arg_fail(1)) SWIG_fail
;
40156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40157 result
= (arg1
)->GetMinSize();
40159 wxPyEndAllowThreads(__tstate
);
40160 if (PyErr_Occurred()) SWIG_fail
;
40163 wxSize
* resultptr
;
40164 resultptr
= new wxSize((wxSize
&)(result
));
40165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40173 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40174 PyObject
*resultobj
;
40175 wxSizer
*arg1
= (wxSizer
*) 0 ;
40176 PyObject
* obj0
= 0 ;
40177 char *kwnames
[] = {
40178 (char *) "self", NULL
40181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40183 if (SWIG_arg_fail(1)) SWIG_fail
;
40185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40186 (arg1
)->RecalcSizes();
40188 wxPyEndAllowThreads(__tstate
);
40189 if (PyErr_Occurred()) SWIG_fail
;
40191 Py_INCREF(Py_None
); resultobj
= Py_None
;
40198 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40199 PyObject
*resultobj
;
40200 wxSizer
*arg1
= (wxSizer
*) 0 ;
40202 PyObject
* obj0
= 0 ;
40203 char *kwnames
[] = {
40204 (char *) "self", NULL
40207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40209 if (SWIG_arg_fail(1)) SWIG_fail
;
40211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40212 result
= (arg1
)->CalcMin();
40214 wxPyEndAllowThreads(__tstate
);
40215 if (PyErr_Occurred()) SWIG_fail
;
40218 wxSize
* resultptr
;
40219 resultptr
= new wxSize((wxSize
&)(result
));
40220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40228 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40229 PyObject
*resultobj
;
40230 wxSizer
*arg1
= (wxSizer
*) 0 ;
40231 PyObject
* obj0
= 0 ;
40232 char *kwnames
[] = {
40233 (char *) "self", NULL
40236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40238 if (SWIG_arg_fail(1)) SWIG_fail
;
40240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40243 wxPyEndAllowThreads(__tstate
);
40244 if (PyErr_Occurred()) SWIG_fail
;
40246 Py_INCREF(Py_None
); resultobj
= Py_None
;
40253 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40254 PyObject
*resultobj
;
40255 wxSizer
*arg1
= (wxSizer
*) 0 ;
40256 wxWindow
*arg2
= (wxWindow
*) 0 ;
40258 PyObject
* obj0
= 0 ;
40259 PyObject
* obj1
= 0 ;
40260 char *kwnames
[] = {
40261 (char *) "self",(char *) "window", NULL
40264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40266 if (SWIG_arg_fail(1)) SWIG_fail
;
40267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40268 if (SWIG_arg_fail(2)) SWIG_fail
;
40270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40271 result
= (arg1
)->Fit(arg2
);
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40277 wxSize
* resultptr
;
40278 resultptr
= new wxSize((wxSize
&)(result
));
40279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40287 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
;
40289 wxSizer
*arg1
= (wxSizer
*) 0 ;
40290 wxWindow
*arg2
= (wxWindow
*) 0 ;
40291 PyObject
* obj0
= 0 ;
40292 PyObject
* obj1
= 0 ;
40293 char *kwnames
[] = {
40294 (char *) "self",(char *) "window", NULL
40297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40299 if (SWIG_arg_fail(1)) SWIG_fail
;
40300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40301 if (SWIG_arg_fail(2)) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 (arg1
)->FitInside(arg2
);
40306 wxPyEndAllowThreads(__tstate
);
40307 if (PyErr_Occurred()) SWIG_fail
;
40309 Py_INCREF(Py_None
); resultobj
= Py_None
;
40316 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40317 PyObject
*resultobj
;
40318 wxSizer
*arg1
= (wxSizer
*) 0 ;
40319 wxWindow
*arg2
= (wxWindow
*) 0 ;
40320 PyObject
* obj0
= 0 ;
40321 PyObject
* obj1
= 0 ;
40322 char *kwnames
[] = {
40323 (char *) "self",(char *) "window", NULL
40326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40328 if (SWIG_arg_fail(1)) SWIG_fail
;
40329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40330 if (SWIG_arg_fail(2)) SWIG_fail
;
40332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40333 (arg1
)->SetSizeHints(arg2
);
40335 wxPyEndAllowThreads(__tstate
);
40336 if (PyErr_Occurred()) SWIG_fail
;
40338 Py_INCREF(Py_None
); resultobj
= Py_None
;
40345 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
;
40347 wxSizer
*arg1
= (wxSizer
*) 0 ;
40348 wxWindow
*arg2
= (wxWindow
*) 0 ;
40349 PyObject
* obj0
= 0 ;
40350 PyObject
* obj1
= 0 ;
40351 char *kwnames
[] = {
40352 (char *) "self",(char *) "window", NULL
40355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40357 if (SWIG_arg_fail(1)) SWIG_fail
;
40358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40359 if (SWIG_arg_fail(2)) SWIG_fail
;
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 (arg1
)->SetVirtualSizeHints(arg2
);
40364 wxPyEndAllowThreads(__tstate
);
40365 if (PyErr_Occurred()) SWIG_fail
;
40367 Py_INCREF(Py_None
); resultobj
= Py_None
;
40374 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40375 PyObject
*resultobj
;
40376 wxSizer
*arg1
= (wxSizer
*) 0 ;
40377 bool arg2
= (bool) false ;
40378 PyObject
* obj0
= 0 ;
40379 PyObject
* obj1
= 0 ;
40380 char *kwnames
[] = {
40381 (char *) "self",(char *) "deleteWindows", NULL
40384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40386 if (SWIG_arg_fail(1)) SWIG_fail
;
40389 arg2
= (bool)(SWIG_As_bool(obj1
));
40390 if (SWIG_arg_fail(2)) SWIG_fail
;
40394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40395 (arg1
)->Clear(arg2
);
40397 wxPyEndAllowThreads(__tstate
);
40398 if (PyErr_Occurred()) SWIG_fail
;
40400 Py_INCREF(Py_None
); resultobj
= Py_None
;
40407 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40408 PyObject
*resultobj
;
40409 wxSizer
*arg1
= (wxSizer
*) 0 ;
40410 PyObject
* obj0
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self", NULL
40415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40417 if (SWIG_arg_fail(1)) SWIG_fail
;
40419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40420 (arg1
)->DeleteWindows();
40422 wxPyEndAllowThreads(__tstate
);
40423 if (PyErr_Occurred()) SWIG_fail
;
40425 Py_INCREF(Py_None
); resultobj
= Py_None
;
40432 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40433 PyObject
*resultobj
;
40434 wxSizer
*arg1
= (wxSizer
*) 0 ;
40436 PyObject
* obj0
= 0 ;
40437 char *kwnames
[] = {
40438 (char *) "self", NULL
40441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40443 if (SWIG_arg_fail(1)) SWIG_fail
;
40445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40446 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40448 wxPyEndAllowThreads(__tstate
);
40449 if (PyErr_Occurred()) SWIG_fail
;
40451 resultobj
= result
;
40458 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40459 PyObject
*resultobj
;
40460 wxSizer
*arg1
= (wxSizer
*) 0 ;
40461 PyObject
*arg2
= (PyObject
*) 0 ;
40462 bool arg3
= (bool) true ;
40463 bool arg4
= (bool) false ;
40465 PyObject
* obj0
= 0 ;
40466 PyObject
* obj1
= 0 ;
40467 PyObject
* obj2
= 0 ;
40468 PyObject
* obj3
= 0 ;
40469 char *kwnames
[] = {
40470 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40475 if (SWIG_arg_fail(1)) SWIG_fail
;
40479 arg3
= (bool)(SWIG_As_bool(obj2
));
40480 if (SWIG_arg_fail(3)) SWIG_fail
;
40485 arg4
= (bool)(SWIG_As_bool(obj3
));
40486 if (SWIG_arg_fail(4)) SWIG_fail
;
40490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40491 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40493 wxPyEndAllowThreads(__tstate
);
40494 if (PyErr_Occurred()) SWIG_fail
;
40497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40505 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40506 PyObject
*resultobj
;
40507 wxSizer
*arg1
= (wxSizer
*) 0 ;
40508 PyObject
*arg2
= (PyObject
*) 0 ;
40510 PyObject
* obj0
= 0 ;
40511 PyObject
* obj1
= 0 ;
40512 char *kwnames
[] = {
40513 (char *) "self",(char *) "item", NULL
40516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40518 if (SWIG_arg_fail(1)) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40524 wxPyEndAllowThreads(__tstate
);
40525 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40536 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40537 PyObject
*resultobj
;
40538 wxSizer
*arg1
= (wxSizer
*) 0 ;
40540 PyObject
* obj0
= 0 ;
40541 PyObject
* obj1
= 0 ;
40542 char *kwnames
[] = {
40543 (char *) "self",(char *) "show", NULL
40546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40548 if (SWIG_arg_fail(1)) SWIG_fail
;
40550 arg2
= (bool)(SWIG_As_bool(obj1
));
40551 if (SWIG_arg_fail(2)) SWIG_fail
;
40554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40555 (arg1
)->ShowItems(arg2
);
40557 wxPyEndAllowThreads(__tstate
);
40558 if (PyErr_Occurred()) SWIG_fail
;
40560 Py_INCREF(Py_None
); resultobj
= Py_None
;
40567 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40570 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40572 return Py_BuildValue((char *)"");
40574 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
;
40577 char *kwnames
[] = {
40581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 result
= (wxPySizer
*)new wxPySizer();
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40596 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40597 PyObject
*resultobj
;
40598 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40599 PyObject
*arg2
= (PyObject
*) 0 ;
40600 PyObject
*arg3
= (PyObject
*) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 PyObject
* obj1
= 0 ;
40603 PyObject
* obj2
= 0 ;
40604 char *kwnames
[] = {
40605 (char *) "self",(char *) "self",(char *) "_class", NULL
40608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40610 if (SWIG_arg_fail(1)) SWIG_fail
;
40614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40617 wxPyEndAllowThreads(__tstate
);
40618 if (PyErr_Occurred()) SWIG_fail
;
40620 Py_INCREF(Py_None
); resultobj
= Py_None
;
40627 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40630 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40632 return Py_BuildValue((char *)"");
40634 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40635 PyObject
*resultobj
;
40636 int arg1
= (int) wxHORIZONTAL
;
40637 wxBoxSizer
*result
;
40638 PyObject
* obj0
= 0 ;
40639 char *kwnames
[] = {
40640 (char *) "orient", NULL
40643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40646 arg1
= (int)(SWIG_As_int(obj0
));
40647 if (SWIG_arg_fail(1)) SWIG_fail
;
40651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40652 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40654 wxPyEndAllowThreads(__tstate
);
40655 if (PyErr_Occurred()) SWIG_fail
;
40657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40664 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40665 PyObject
*resultobj
;
40666 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40668 PyObject
* obj0
= 0 ;
40669 char *kwnames
[] = {
40670 (char *) "self", NULL
40673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40675 if (SWIG_arg_fail(1)) SWIG_fail
;
40677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40678 result
= (int)(arg1
)->GetOrientation();
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40684 resultobj
= SWIG_From_int((int)(result
));
40692 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40693 PyObject
*resultobj
;
40694 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40696 PyObject
* obj0
= 0 ;
40697 PyObject
* obj1
= 0 ;
40698 char *kwnames
[] = {
40699 (char *) "self",(char *) "orient", NULL
40702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40704 if (SWIG_arg_fail(1)) SWIG_fail
;
40706 arg2
= (int)(SWIG_As_int(obj1
));
40707 if (SWIG_arg_fail(2)) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 (arg1
)->SetOrientation(arg2
);
40713 wxPyEndAllowThreads(__tstate
);
40714 if (PyErr_Occurred()) SWIG_fail
;
40716 Py_INCREF(Py_None
); resultobj
= Py_None
;
40723 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40726 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40728 return Py_BuildValue((char *)"");
40730 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40731 PyObject
*resultobj
;
40732 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40733 int arg2
= (int) wxHORIZONTAL
;
40734 wxStaticBoxSizer
*result
;
40735 PyObject
* obj0
= 0 ;
40736 PyObject
* obj1
= 0 ;
40737 char *kwnames
[] = {
40738 (char *) "box",(char *) "orient", NULL
40741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40743 if (SWIG_arg_fail(1)) SWIG_fail
;
40746 arg2
= (int)(SWIG_As_int(obj1
));
40747 if (SWIG_arg_fail(2)) SWIG_fail
;
40751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40752 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40754 wxPyEndAllowThreads(__tstate
);
40755 if (PyErr_Occurred()) SWIG_fail
;
40757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40764 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40765 PyObject
*resultobj
;
40766 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40767 wxStaticBox
*result
;
40768 PyObject
* obj0
= 0 ;
40769 char *kwnames
[] = {
40770 (char *) "self", NULL
40773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40775 if (SWIG_arg_fail(1)) SWIG_fail
;
40777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40778 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40780 wxPyEndAllowThreads(__tstate
);
40781 if (PyErr_Occurred()) SWIG_fail
;
40784 resultobj
= wxPyMake_wxObject(result
, 0);
40792 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40795 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40797 return Py_BuildValue((char *)"");
40799 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40800 PyObject
*resultobj
;
40801 int arg1
= (int) 1 ;
40802 int arg2
= (int) 0 ;
40803 int arg3
= (int) 0 ;
40804 int arg4
= (int) 0 ;
40805 wxGridSizer
*result
;
40806 PyObject
* obj0
= 0 ;
40807 PyObject
* obj1
= 0 ;
40808 PyObject
* obj2
= 0 ;
40809 PyObject
* obj3
= 0 ;
40810 char *kwnames
[] = {
40811 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40817 arg1
= (int)(SWIG_As_int(obj0
));
40818 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 arg2
= (int)(SWIG_As_int(obj1
));
40824 if (SWIG_arg_fail(2)) SWIG_fail
;
40829 arg3
= (int)(SWIG_As_int(obj2
));
40830 if (SWIG_arg_fail(3)) SWIG_fail
;
40835 arg4
= (int)(SWIG_As_int(obj3
));
40836 if (SWIG_arg_fail(4)) SWIG_fail
;
40840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40841 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40843 wxPyEndAllowThreads(__tstate
);
40844 if (PyErr_Occurred()) SWIG_fail
;
40846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40853 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40854 PyObject
*resultobj
;
40855 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40857 PyObject
* obj0
= 0 ;
40858 PyObject
* obj1
= 0 ;
40859 char *kwnames
[] = {
40860 (char *) "self",(char *) "cols", NULL
40863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40865 if (SWIG_arg_fail(1)) SWIG_fail
;
40867 arg2
= (int)(SWIG_As_int(obj1
));
40868 if (SWIG_arg_fail(2)) SWIG_fail
;
40871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40872 (arg1
)->SetCols(arg2
);
40874 wxPyEndAllowThreads(__tstate
);
40875 if (PyErr_Occurred()) SWIG_fail
;
40877 Py_INCREF(Py_None
); resultobj
= Py_None
;
40884 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40885 PyObject
*resultobj
;
40886 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40888 PyObject
* obj0
= 0 ;
40889 PyObject
* obj1
= 0 ;
40890 char *kwnames
[] = {
40891 (char *) "self",(char *) "rows", NULL
40894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40896 if (SWIG_arg_fail(1)) SWIG_fail
;
40898 arg2
= (int)(SWIG_As_int(obj1
));
40899 if (SWIG_arg_fail(2)) SWIG_fail
;
40902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40903 (arg1
)->SetRows(arg2
);
40905 wxPyEndAllowThreads(__tstate
);
40906 if (PyErr_Occurred()) SWIG_fail
;
40908 Py_INCREF(Py_None
); resultobj
= Py_None
;
40915 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40916 PyObject
*resultobj
;
40917 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40919 PyObject
* obj0
= 0 ;
40920 PyObject
* obj1
= 0 ;
40921 char *kwnames
[] = {
40922 (char *) "self",(char *) "gap", NULL
40925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40927 if (SWIG_arg_fail(1)) SWIG_fail
;
40929 arg2
= (int)(SWIG_As_int(obj1
));
40930 if (SWIG_arg_fail(2)) SWIG_fail
;
40933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40934 (arg1
)->SetVGap(arg2
);
40936 wxPyEndAllowThreads(__tstate
);
40937 if (PyErr_Occurred()) SWIG_fail
;
40939 Py_INCREF(Py_None
); resultobj
= Py_None
;
40946 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40947 PyObject
*resultobj
;
40948 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40950 PyObject
* obj0
= 0 ;
40951 PyObject
* obj1
= 0 ;
40952 char *kwnames
[] = {
40953 (char *) "self",(char *) "gap", NULL
40956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40958 if (SWIG_arg_fail(1)) SWIG_fail
;
40960 arg2
= (int)(SWIG_As_int(obj1
));
40961 if (SWIG_arg_fail(2)) SWIG_fail
;
40964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40965 (arg1
)->SetHGap(arg2
);
40967 wxPyEndAllowThreads(__tstate
);
40968 if (PyErr_Occurred()) SWIG_fail
;
40970 Py_INCREF(Py_None
); resultobj
= Py_None
;
40977 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
;
40979 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40981 PyObject
* obj0
= 0 ;
40982 char *kwnames
[] = {
40983 (char *) "self", NULL
40986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40988 if (SWIG_arg_fail(1)) SWIG_fail
;
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 result
= (int)(arg1
)->GetCols();
40993 wxPyEndAllowThreads(__tstate
);
40994 if (PyErr_Occurred()) SWIG_fail
;
40997 resultobj
= SWIG_From_int((int)(result
));
41005 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41006 PyObject
*resultobj
;
41007 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41009 PyObject
* obj0
= 0 ;
41010 char *kwnames
[] = {
41011 (char *) "self", NULL
41014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41016 if (SWIG_arg_fail(1)) SWIG_fail
;
41018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41019 result
= (int)(arg1
)->GetRows();
41021 wxPyEndAllowThreads(__tstate
);
41022 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= SWIG_From_int((int)(result
));
41033 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41034 PyObject
*resultobj
;
41035 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41037 PyObject
* obj0
= 0 ;
41038 char *kwnames
[] = {
41039 (char *) "self", NULL
41042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41044 if (SWIG_arg_fail(1)) SWIG_fail
;
41046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41047 result
= (int)(arg1
)->GetVGap();
41049 wxPyEndAllowThreads(__tstate
);
41050 if (PyErr_Occurred()) SWIG_fail
;
41053 resultobj
= SWIG_From_int((int)(result
));
41061 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41062 PyObject
*resultobj
;
41063 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41065 PyObject
* obj0
= 0 ;
41066 char *kwnames
[] = {
41067 (char *) "self", NULL
41070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41072 if (SWIG_arg_fail(1)) SWIG_fail
;
41074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41075 result
= (int)(arg1
)->GetHGap();
41077 wxPyEndAllowThreads(__tstate
);
41078 if (PyErr_Occurred()) SWIG_fail
;
41081 resultobj
= SWIG_From_int((int)(result
));
41089 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41092 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41094 return Py_BuildValue((char *)"");
41096 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41097 PyObject
*resultobj
;
41098 int arg1
= (int) 1 ;
41099 int arg2
= (int) 0 ;
41100 int arg3
= (int) 0 ;
41101 int arg4
= (int) 0 ;
41102 wxFlexGridSizer
*result
;
41103 PyObject
* obj0
= 0 ;
41104 PyObject
* obj1
= 0 ;
41105 PyObject
* obj2
= 0 ;
41106 PyObject
* obj3
= 0 ;
41107 char *kwnames
[] = {
41108 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41114 arg1
= (int)(SWIG_As_int(obj0
));
41115 if (SWIG_arg_fail(1)) SWIG_fail
;
41120 arg2
= (int)(SWIG_As_int(obj1
));
41121 if (SWIG_arg_fail(2)) SWIG_fail
;
41126 arg3
= (int)(SWIG_As_int(obj2
));
41127 if (SWIG_arg_fail(3)) SWIG_fail
;
41132 arg4
= (int)(SWIG_As_int(obj3
));
41133 if (SWIG_arg_fail(4)) SWIG_fail
;
41137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41138 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41140 wxPyEndAllowThreads(__tstate
);
41141 if (PyErr_Occurred()) SWIG_fail
;
41143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41150 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41151 PyObject
*resultobj
;
41152 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41154 int arg3
= (int) 0 ;
41155 PyObject
* obj0
= 0 ;
41156 PyObject
* obj1
= 0 ;
41157 PyObject
* obj2
= 0 ;
41158 char *kwnames
[] = {
41159 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41164 if (SWIG_arg_fail(1)) SWIG_fail
;
41166 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41167 if (SWIG_arg_fail(2)) SWIG_fail
;
41171 arg3
= (int)(SWIG_As_int(obj2
));
41172 if (SWIG_arg_fail(3)) SWIG_fail
;
41176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41177 (arg1
)->AddGrowableRow(arg2
,arg3
);
41179 wxPyEndAllowThreads(__tstate
);
41180 if (PyErr_Occurred()) SWIG_fail
;
41182 Py_INCREF(Py_None
); resultobj
= Py_None
;
41189 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41190 PyObject
*resultobj
;
41191 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41193 PyObject
* obj0
= 0 ;
41194 PyObject
* obj1
= 0 ;
41195 char *kwnames
[] = {
41196 (char *) "self",(char *) "idx", NULL
41199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41201 if (SWIG_arg_fail(1)) SWIG_fail
;
41203 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41204 if (SWIG_arg_fail(2)) SWIG_fail
;
41207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41208 (arg1
)->RemoveGrowableRow(arg2
);
41210 wxPyEndAllowThreads(__tstate
);
41211 if (PyErr_Occurred()) SWIG_fail
;
41213 Py_INCREF(Py_None
); resultobj
= Py_None
;
41220 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41221 PyObject
*resultobj
;
41222 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41224 int arg3
= (int) 0 ;
41225 PyObject
* obj0
= 0 ;
41226 PyObject
* obj1
= 0 ;
41227 PyObject
* obj2
= 0 ;
41228 char *kwnames
[] = {
41229 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41234 if (SWIG_arg_fail(1)) SWIG_fail
;
41236 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41237 if (SWIG_arg_fail(2)) SWIG_fail
;
41241 arg3
= (int)(SWIG_As_int(obj2
));
41242 if (SWIG_arg_fail(3)) SWIG_fail
;
41246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41247 (arg1
)->AddGrowableCol(arg2
,arg3
);
41249 wxPyEndAllowThreads(__tstate
);
41250 if (PyErr_Occurred()) SWIG_fail
;
41252 Py_INCREF(Py_None
); resultobj
= Py_None
;
41259 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41260 PyObject
*resultobj
;
41261 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41263 PyObject
* obj0
= 0 ;
41264 PyObject
* obj1
= 0 ;
41265 char *kwnames
[] = {
41266 (char *) "self",(char *) "idx", NULL
41269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41271 if (SWIG_arg_fail(1)) SWIG_fail
;
41273 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41274 if (SWIG_arg_fail(2)) SWIG_fail
;
41277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41278 (arg1
)->RemoveGrowableCol(arg2
);
41280 wxPyEndAllowThreads(__tstate
);
41281 if (PyErr_Occurred()) SWIG_fail
;
41283 Py_INCREF(Py_None
); resultobj
= Py_None
;
41290 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41291 PyObject
*resultobj
;
41292 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41294 PyObject
* obj0
= 0 ;
41295 PyObject
* obj1
= 0 ;
41296 char *kwnames
[] = {
41297 (char *) "self",(char *) "direction", NULL
41300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41302 if (SWIG_arg_fail(1)) SWIG_fail
;
41304 arg2
= (int)(SWIG_As_int(obj1
));
41305 if (SWIG_arg_fail(2)) SWIG_fail
;
41308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41309 (arg1
)->SetFlexibleDirection(arg2
);
41311 wxPyEndAllowThreads(__tstate
);
41312 if (PyErr_Occurred()) SWIG_fail
;
41314 Py_INCREF(Py_None
); resultobj
= Py_None
;
41321 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41322 PyObject
*resultobj
;
41323 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41325 PyObject
* obj0
= 0 ;
41326 char *kwnames
[] = {
41327 (char *) "self", NULL
41330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41332 if (SWIG_arg_fail(1)) SWIG_fail
;
41334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41335 result
= (int)(arg1
)->GetFlexibleDirection();
41337 wxPyEndAllowThreads(__tstate
);
41338 if (PyErr_Occurred()) SWIG_fail
;
41341 resultobj
= SWIG_From_int((int)(result
));
41349 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41350 PyObject
*resultobj
;
41351 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41352 wxFlexSizerGrowMode arg2
;
41353 PyObject
* obj0
= 0 ;
41354 PyObject
* obj1
= 0 ;
41355 char *kwnames
[] = {
41356 (char *) "self",(char *) "mode", NULL
41359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41361 if (SWIG_arg_fail(1)) SWIG_fail
;
41363 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41364 if (SWIG_arg_fail(2)) SWIG_fail
;
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41370 wxPyEndAllowThreads(__tstate
);
41371 if (PyErr_Occurred()) SWIG_fail
;
41373 Py_INCREF(Py_None
); resultobj
= Py_None
;
41380 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41381 PyObject
*resultobj
;
41382 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41383 wxFlexSizerGrowMode result
;
41384 PyObject
* obj0
= 0 ;
41385 char *kwnames
[] = {
41386 (char *) "self", NULL
41389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41391 if (SWIG_arg_fail(1)) SWIG_fail
;
41393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41394 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41396 wxPyEndAllowThreads(__tstate
);
41397 if (PyErr_Occurred()) SWIG_fail
;
41399 resultobj
= SWIG_From_int((result
));
41406 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41407 PyObject
*resultobj
;
41408 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41409 wxArrayInt
*result
;
41410 PyObject
* obj0
= 0 ;
41411 char *kwnames
[] = {
41412 (char *) "self", NULL
41415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41417 if (SWIG_arg_fail(1)) SWIG_fail
;
41419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41421 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41422 result
= (wxArrayInt
*) &_result_ref
;
41425 wxPyEndAllowThreads(__tstate
);
41426 if (PyErr_Occurred()) SWIG_fail
;
41429 resultobj
= PyList_New(0);
41431 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41432 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41433 PyList_Append(resultobj
, val
);
41443 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41444 PyObject
*resultobj
;
41445 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41446 wxArrayInt
*result
;
41447 PyObject
* obj0
= 0 ;
41448 char *kwnames
[] = {
41449 (char *) "self", NULL
41452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41454 if (SWIG_arg_fail(1)) SWIG_fail
;
41456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41458 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41459 result
= (wxArrayInt
*) &_result_ref
;
41462 wxPyEndAllowThreads(__tstate
);
41463 if (PyErr_Occurred()) SWIG_fail
;
41466 resultobj
= PyList_New(0);
41468 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41469 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41470 PyList_Append(resultobj
, val
);
41480 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41483 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41485 return Py_BuildValue((char *)"");
41487 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41488 PyObject
*resultobj
;
41489 wxStdDialogButtonSizer
*result
;
41490 char *kwnames
[] = {
41494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41497 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41499 wxPyEndAllowThreads(__tstate
);
41500 if (PyErr_Occurred()) SWIG_fail
;
41502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41509 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41510 PyObject
*resultobj
;
41511 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41512 wxButton
*arg2
= (wxButton
*) 0 ;
41513 PyObject
* obj0
= 0 ;
41514 PyObject
* obj1
= 0 ;
41515 char *kwnames
[] = {
41516 (char *) "self",(char *) "button", NULL
41519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41521 if (SWIG_arg_fail(1)) SWIG_fail
;
41522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41523 if (SWIG_arg_fail(2)) SWIG_fail
;
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 (arg1
)->AddButton(arg2
);
41528 wxPyEndAllowThreads(__tstate
);
41529 if (PyErr_Occurred()) SWIG_fail
;
41531 Py_INCREF(Py_None
); resultobj
= Py_None
;
41538 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41539 PyObject
*resultobj
;
41540 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41541 PyObject
* obj0
= 0 ;
41542 char *kwnames
[] = {
41543 (char *) "self", NULL
41546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41548 if (SWIG_arg_fail(1)) SWIG_fail
;
41550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 wxPyEndAllowThreads(__tstate
);
41554 if (PyErr_Occurred()) SWIG_fail
;
41556 Py_INCREF(Py_None
); resultobj
= Py_None
;
41563 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41564 PyObject
*resultobj
;
41565 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41566 wxButton
*arg2
= (wxButton
*) 0 ;
41567 PyObject
* obj0
= 0 ;
41568 PyObject
* obj1
= 0 ;
41569 char *kwnames
[] = {
41570 (char *) "self",(char *) "button", NULL
41573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41575 if (SWIG_arg_fail(1)) SWIG_fail
;
41576 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41577 if (SWIG_arg_fail(2)) SWIG_fail
;
41579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41580 (arg1
)->SetAffirmativeButton(arg2
);
41582 wxPyEndAllowThreads(__tstate
);
41583 if (PyErr_Occurred()) SWIG_fail
;
41585 Py_INCREF(Py_None
); resultobj
= Py_None
;
41592 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41593 PyObject
*resultobj
;
41594 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41595 wxButton
*arg2
= (wxButton
*) 0 ;
41596 PyObject
* obj0
= 0 ;
41597 PyObject
* obj1
= 0 ;
41598 char *kwnames
[] = {
41599 (char *) "self",(char *) "button", NULL
41602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41604 if (SWIG_arg_fail(1)) SWIG_fail
;
41605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41606 if (SWIG_arg_fail(2)) SWIG_fail
;
41608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41609 (arg1
)->SetNegativeButton(arg2
);
41611 wxPyEndAllowThreads(__tstate
);
41612 if (PyErr_Occurred()) SWIG_fail
;
41614 Py_INCREF(Py_None
); resultobj
= Py_None
;
41621 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41622 PyObject
*resultobj
;
41623 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41624 wxButton
*arg2
= (wxButton
*) 0 ;
41625 PyObject
* obj0
= 0 ;
41626 PyObject
* obj1
= 0 ;
41627 char *kwnames
[] = {
41628 (char *) "self",(char *) "button", NULL
41631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41633 if (SWIG_arg_fail(1)) SWIG_fail
;
41634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41635 if (SWIG_arg_fail(2)) SWIG_fail
;
41637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41638 (arg1
)->SetCancelButton(arg2
);
41640 wxPyEndAllowThreads(__tstate
);
41641 if (PyErr_Occurred()) SWIG_fail
;
41643 Py_INCREF(Py_None
); resultobj
= Py_None
;
41650 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41651 PyObject
*resultobj
;
41652 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41654 PyObject
* obj0
= 0 ;
41655 char *kwnames
[] = {
41656 (char *) "self", NULL
41659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41661 if (SWIG_arg_fail(1)) SWIG_fail
;
41663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41664 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41670 resultobj
= wxPyMake_wxObject(result
, 0);
41678 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41679 PyObject
*resultobj
;
41680 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41682 PyObject
* obj0
= 0 ;
41683 char *kwnames
[] = {
41684 (char *) "self", NULL
41687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41689 if (SWIG_arg_fail(1)) SWIG_fail
;
41691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41692 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41694 wxPyEndAllowThreads(__tstate
);
41695 if (PyErr_Occurred()) SWIG_fail
;
41698 resultobj
= wxPyMake_wxObject(result
, 0);
41706 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41707 PyObject
*resultobj
;
41708 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41710 PyObject
* obj0
= 0 ;
41711 char *kwnames
[] = {
41712 (char *) "self", NULL
41715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41717 if (SWIG_arg_fail(1)) SWIG_fail
;
41719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41720 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41722 wxPyEndAllowThreads(__tstate
);
41723 if (PyErr_Occurred()) SWIG_fail
;
41726 resultobj
= wxPyMake_wxObject(result
, 0);
41734 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41735 PyObject
*resultobj
;
41736 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41738 PyObject
* obj0
= 0 ;
41739 char *kwnames
[] = {
41740 (char *) "self", NULL
41743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41745 if (SWIG_arg_fail(1)) SWIG_fail
;
41747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41748 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41750 wxPyEndAllowThreads(__tstate
);
41751 if (PyErr_Occurred()) SWIG_fail
;
41754 resultobj
= wxPyMake_wxObject(result
, 0);
41762 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41763 PyObject
*resultobj
;
41764 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41766 PyObject
* obj0
= 0 ;
41767 char *kwnames
[] = {
41768 (char *) "self", NULL
41771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41773 if (SWIG_arg_fail(1)) SWIG_fail
;
41775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41776 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41778 wxPyEndAllowThreads(__tstate
);
41779 if (PyErr_Occurred()) SWIG_fail
;
41782 resultobj
= wxPyMake_wxObject(result
, 0);
41790 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41793 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41795 return Py_BuildValue((char *)"");
41797 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
;
41799 int arg1
= (int) 0 ;
41800 int arg2
= (int) 0 ;
41801 wxGBPosition
*result
;
41802 PyObject
* obj0
= 0 ;
41803 PyObject
* obj1
= 0 ;
41804 char *kwnames
[] = {
41805 (char *) "row",(char *) "col", NULL
41808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41811 arg1
= (int)(SWIG_As_int(obj0
));
41812 if (SWIG_arg_fail(1)) SWIG_fail
;
41817 arg2
= (int)(SWIG_As_int(obj1
));
41818 if (SWIG_arg_fail(2)) SWIG_fail
;
41822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41823 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41825 wxPyEndAllowThreads(__tstate
);
41826 if (PyErr_Occurred()) SWIG_fail
;
41828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41835 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41836 PyObject
*resultobj
;
41837 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41839 PyObject
* obj0
= 0 ;
41840 char *kwnames
[] = {
41841 (char *) "self", NULL
41844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41846 if (SWIG_arg_fail(1)) SWIG_fail
;
41848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41849 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41851 wxPyEndAllowThreads(__tstate
);
41852 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= SWIG_From_int((int)(result
));
41863 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41864 PyObject
*resultobj
;
41865 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41867 PyObject
* obj0
= 0 ;
41868 char *kwnames
[] = {
41869 (char *) "self", NULL
41872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41874 if (SWIG_arg_fail(1)) SWIG_fail
;
41876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41877 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41879 wxPyEndAllowThreads(__tstate
);
41880 if (PyErr_Occurred()) SWIG_fail
;
41883 resultobj
= SWIG_From_int((int)(result
));
41891 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41892 PyObject
*resultobj
;
41893 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41895 PyObject
* obj0
= 0 ;
41896 PyObject
* obj1
= 0 ;
41897 char *kwnames
[] = {
41898 (char *) "self",(char *) "row", NULL
41901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41903 if (SWIG_arg_fail(1)) SWIG_fail
;
41905 arg2
= (int)(SWIG_As_int(obj1
));
41906 if (SWIG_arg_fail(2)) SWIG_fail
;
41909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41910 (arg1
)->SetRow(arg2
);
41912 wxPyEndAllowThreads(__tstate
);
41913 if (PyErr_Occurred()) SWIG_fail
;
41915 Py_INCREF(Py_None
); resultobj
= Py_None
;
41922 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41923 PyObject
*resultobj
;
41924 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41926 PyObject
* obj0
= 0 ;
41927 PyObject
* obj1
= 0 ;
41928 char *kwnames
[] = {
41929 (char *) "self",(char *) "col", NULL
41932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41934 if (SWIG_arg_fail(1)) SWIG_fail
;
41936 arg2
= (int)(SWIG_As_int(obj1
));
41937 if (SWIG_arg_fail(2)) SWIG_fail
;
41940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41941 (arg1
)->SetCol(arg2
);
41943 wxPyEndAllowThreads(__tstate
);
41944 if (PyErr_Occurred()) SWIG_fail
;
41946 Py_INCREF(Py_None
); resultobj
= Py_None
;
41953 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41954 PyObject
*resultobj
;
41955 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41956 wxGBPosition
*arg2
= 0 ;
41958 wxGBPosition temp2
;
41959 PyObject
* obj0
= 0 ;
41960 PyObject
* obj1
= 0 ;
41961 char *kwnames
[] = {
41962 (char *) "self",(char *) "other", NULL
41965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41967 if (SWIG_arg_fail(1)) SWIG_fail
;
41970 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41974 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41976 wxPyEndAllowThreads(__tstate
);
41977 if (PyErr_Occurred()) SWIG_fail
;
41980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41988 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41989 PyObject
*resultobj
;
41990 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41991 wxGBPosition
*arg2
= 0 ;
41993 wxGBPosition temp2
;
41994 PyObject
* obj0
= 0 ;
41995 PyObject
* obj1
= 0 ;
41996 char *kwnames
[] = {
41997 (char *) "self",(char *) "other", NULL
42000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42002 if (SWIG_arg_fail(1)) SWIG_fail
;
42005 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42009 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42011 wxPyEndAllowThreads(__tstate
);
42012 if (PyErr_Occurred()) SWIG_fail
;
42015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42023 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42024 PyObject
*resultobj
;
42025 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42026 int arg2
= (int) 0 ;
42027 int arg3
= (int) 0 ;
42028 PyObject
* obj0
= 0 ;
42029 PyObject
* obj1
= 0 ;
42030 PyObject
* obj2
= 0 ;
42031 char *kwnames
[] = {
42032 (char *) "self",(char *) "row",(char *) "col", NULL
42035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42037 if (SWIG_arg_fail(1)) SWIG_fail
;
42040 arg2
= (int)(SWIG_As_int(obj1
));
42041 if (SWIG_arg_fail(2)) SWIG_fail
;
42046 arg3
= (int)(SWIG_As_int(obj2
));
42047 if (SWIG_arg_fail(3)) SWIG_fail
;
42051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42052 wxGBPosition_Set(arg1
,arg2
,arg3
);
42054 wxPyEndAllowThreads(__tstate
);
42055 if (PyErr_Occurred()) SWIG_fail
;
42057 Py_INCREF(Py_None
); resultobj
= Py_None
;
42064 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42065 PyObject
*resultobj
;
42066 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42068 PyObject
* obj0
= 0 ;
42069 char *kwnames
[] = {
42070 (char *) "self", NULL
42073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42075 if (SWIG_arg_fail(1)) SWIG_fail
;
42077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42078 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42080 wxPyEndAllowThreads(__tstate
);
42081 if (PyErr_Occurred()) SWIG_fail
;
42083 resultobj
= result
;
42090 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42093 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42095 return Py_BuildValue((char *)"");
42097 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42098 PyObject
*resultobj
;
42099 int arg1
= (int) 1 ;
42100 int arg2
= (int) 1 ;
42102 PyObject
* obj0
= 0 ;
42103 PyObject
* obj1
= 0 ;
42104 char *kwnames
[] = {
42105 (char *) "rowspan",(char *) "colspan", NULL
42108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42111 arg1
= (int)(SWIG_As_int(obj0
));
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42117 arg2
= (int)(SWIG_As_int(obj1
));
42118 if (SWIG_arg_fail(2)) SWIG_fail
;
42122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42123 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42125 wxPyEndAllowThreads(__tstate
);
42126 if (PyErr_Occurred()) SWIG_fail
;
42128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42135 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42136 PyObject
*resultobj
;
42137 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42139 PyObject
* obj0
= 0 ;
42140 char *kwnames
[] = {
42141 (char *) "self", NULL
42144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42146 if (SWIG_arg_fail(1)) SWIG_fail
;
42148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42149 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42151 wxPyEndAllowThreads(__tstate
);
42152 if (PyErr_Occurred()) SWIG_fail
;
42155 resultobj
= SWIG_From_int((int)(result
));
42163 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42164 PyObject
*resultobj
;
42165 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42167 PyObject
* obj0
= 0 ;
42168 char *kwnames
[] = {
42169 (char *) "self", NULL
42172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42174 if (SWIG_arg_fail(1)) SWIG_fail
;
42176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42177 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42179 wxPyEndAllowThreads(__tstate
);
42180 if (PyErr_Occurred()) SWIG_fail
;
42183 resultobj
= SWIG_From_int((int)(result
));
42191 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42192 PyObject
*resultobj
;
42193 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42195 PyObject
* obj0
= 0 ;
42196 PyObject
* obj1
= 0 ;
42197 char *kwnames
[] = {
42198 (char *) "self",(char *) "rowspan", NULL
42201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42203 if (SWIG_arg_fail(1)) SWIG_fail
;
42205 arg2
= (int)(SWIG_As_int(obj1
));
42206 if (SWIG_arg_fail(2)) SWIG_fail
;
42209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42210 (arg1
)->SetRowspan(arg2
);
42212 wxPyEndAllowThreads(__tstate
);
42213 if (PyErr_Occurred()) SWIG_fail
;
42215 Py_INCREF(Py_None
); resultobj
= Py_None
;
42222 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42223 PyObject
*resultobj
;
42224 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42226 PyObject
* obj0
= 0 ;
42227 PyObject
* obj1
= 0 ;
42228 char *kwnames
[] = {
42229 (char *) "self",(char *) "colspan", NULL
42232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42234 if (SWIG_arg_fail(1)) SWIG_fail
;
42236 arg2
= (int)(SWIG_As_int(obj1
));
42237 if (SWIG_arg_fail(2)) SWIG_fail
;
42240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42241 (arg1
)->SetColspan(arg2
);
42243 wxPyEndAllowThreads(__tstate
);
42244 if (PyErr_Occurred()) SWIG_fail
;
42246 Py_INCREF(Py_None
); resultobj
= Py_None
;
42253 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42254 PyObject
*resultobj
;
42255 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42256 wxGBSpan
*arg2
= 0 ;
42259 PyObject
* obj0
= 0 ;
42260 PyObject
* obj1
= 0 ;
42261 char *kwnames
[] = {
42262 (char *) "self",(char *) "other", NULL
42265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42267 if (SWIG_arg_fail(1)) SWIG_fail
;
42270 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42274 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42276 wxPyEndAllowThreads(__tstate
);
42277 if (PyErr_Occurred()) SWIG_fail
;
42280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42288 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42289 PyObject
*resultobj
;
42290 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42291 wxGBSpan
*arg2
= 0 ;
42294 PyObject
* obj0
= 0 ;
42295 PyObject
* obj1
= 0 ;
42296 char *kwnames
[] = {
42297 (char *) "self",(char *) "other", NULL
42300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42302 if (SWIG_arg_fail(1)) SWIG_fail
;
42305 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42309 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42311 wxPyEndAllowThreads(__tstate
);
42312 if (PyErr_Occurred()) SWIG_fail
;
42315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42323 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42324 PyObject
*resultobj
;
42325 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42326 int arg2
= (int) 1 ;
42327 int arg3
= (int) 1 ;
42328 PyObject
* obj0
= 0 ;
42329 PyObject
* obj1
= 0 ;
42330 PyObject
* obj2
= 0 ;
42331 char *kwnames
[] = {
42332 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42337 if (SWIG_arg_fail(1)) SWIG_fail
;
42340 arg2
= (int)(SWIG_As_int(obj1
));
42341 if (SWIG_arg_fail(2)) SWIG_fail
;
42346 arg3
= (int)(SWIG_As_int(obj2
));
42347 if (SWIG_arg_fail(3)) SWIG_fail
;
42351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42352 wxGBSpan_Set(arg1
,arg2
,arg3
);
42354 wxPyEndAllowThreads(__tstate
);
42355 if (PyErr_Occurred()) SWIG_fail
;
42357 Py_INCREF(Py_None
); resultobj
= Py_None
;
42364 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42365 PyObject
*resultobj
;
42366 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42368 PyObject
* obj0
= 0 ;
42369 char *kwnames
[] = {
42370 (char *) "self", NULL
42373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42375 if (SWIG_arg_fail(1)) SWIG_fail
;
42377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42378 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42380 wxPyEndAllowThreads(__tstate
);
42381 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= result
;
42390 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42393 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42395 return Py_BuildValue((char *)"");
42397 static int _wrap_DefaultSpan_set(PyObject
*) {
42398 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42403 static PyObject
*_wrap_DefaultSpan_get(void) {
42406 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42411 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42412 PyObject
*resultobj
;
42413 wxGBSizerItem
*result
;
42414 char *kwnames
[] = {
42418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42421 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42423 wxPyEndAllowThreads(__tstate
);
42424 if (PyErr_Occurred()) SWIG_fail
;
42426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42433 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42434 PyObject
*resultobj
;
42435 wxWindow
*arg1
= (wxWindow
*) 0 ;
42436 wxGBPosition
*arg2
= 0 ;
42437 wxGBSpan
*arg3
= 0 ;
42440 PyObject
*arg6
= (PyObject
*) NULL
;
42441 wxGBSizerItem
*result
;
42442 wxGBPosition temp2
;
42444 PyObject
* obj0
= 0 ;
42445 PyObject
* obj1
= 0 ;
42446 PyObject
* obj2
= 0 ;
42447 PyObject
* obj3
= 0 ;
42448 PyObject
* obj4
= 0 ;
42449 PyObject
* obj5
= 0 ;
42450 char *kwnames
[] = {
42451 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42456 if (SWIG_arg_fail(1)) SWIG_fail
;
42459 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42463 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42466 arg4
= (int)(SWIG_As_int(obj3
));
42467 if (SWIG_arg_fail(4)) SWIG_fail
;
42470 arg5
= (int)(SWIG_As_int(obj4
));
42471 if (SWIG_arg_fail(5)) SWIG_fail
;
42477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42478 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42480 wxPyEndAllowThreads(__tstate
);
42481 if (PyErr_Occurred()) SWIG_fail
;
42483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42490 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42491 PyObject
*resultobj
;
42492 wxSizer
*arg1
= (wxSizer
*) 0 ;
42493 wxGBPosition
*arg2
= 0 ;
42494 wxGBSpan
*arg3
= 0 ;
42497 PyObject
*arg6
= (PyObject
*) NULL
;
42498 wxGBSizerItem
*result
;
42499 wxGBPosition temp2
;
42501 PyObject
* obj0
= 0 ;
42502 PyObject
* obj1
= 0 ;
42503 PyObject
* obj2
= 0 ;
42504 PyObject
* obj3
= 0 ;
42505 PyObject
* obj4
= 0 ;
42506 PyObject
* obj5
= 0 ;
42507 char *kwnames
[] = {
42508 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42513 if (SWIG_arg_fail(1)) SWIG_fail
;
42516 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42520 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42523 arg4
= (int)(SWIG_As_int(obj3
));
42524 if (SWIG_arg_fail(4)) SWIG_fail
;
42527 arg5
= (int)(SWIG_As_int(obj4
));
42528 if (SWIG_arg_fail(5)) SWIG_fail
;
42534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42535 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42537 wxPyEndAllowThreads(__tstate
);
42538 if (PyErr_Occurred()) SWIG_fail
;
42540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42547 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42548 PyObject
*resultobj
;
42551 wxGBPosition
*arg3
= 0 ;
42552 wxGBSpan
*arg4
= 0 ;
42555 PyObject
*arg7
= (PyObject
*) NULL
;
42556 wxGBSizerItem
*result
;
42557 wxGBPosition temp3
;
42559 PyObject
* obj0
= 0 ;
42560 PyObject
* obj1
= 0 ;
42561 PyObject
* obj2
= 0 ;
42562 PyObject
* obj3
= 0 ;
42563 PyObject
* obj4
= 0 ;
42564 PyObject
* obj5
= 0 ;
42565 PyObject
* obj6
= 0 ;
42566 char *kwnames
[] = {
42567 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42572 arg1
= (int)(SWIG_As_int(obj0
));
42573 if (SWIG_arg_fail(1)) SWIG_fail
;
42576 arg2
= (int)(SWIG_As_int(obj1
));
42577 if (SWIG_arg_fail(2)) SWIG_fail
;
42581 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42585 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42588 arg5
= (int)(SWIG_As_int(obj4
));
42589 if (SWIG_arg_fail(5)) SWIG_fail
;
42592 arg6
= (int)(SWIG_As_int(obj5
));
42593 if (SWIG_arg_fail(6)) SWIG_fail
;
42599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42600 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42602 wxPyEndAllowThreads(__tstate
);
42603 if (PyErr_Occurred()) SWIG_fail
;
42605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42612 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42613 PyObject
*resultobj
;
42614 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42615 wxGBPosition result
;
42616 PyObject
* obj0
= 0 ;
42617 char *kwnames
[] = {
42618 (char *) "self", NULL
42621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42623 if (SWIG_arg_fail(1)) SWIG_fail
;
42625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42626 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42628 wxPyEndAllowThreads(__tstate
);
42629 if (PyErr_Occurred()) SWIG_fail
;
42632 wxGBPosition
* resultptr
;
42633 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42642 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42643 PyObject
*resultobj
;
42644 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42646 PyObject
* obj0
= 0 ;
42647 char *kwnames
[] = {
42648 (char *) "self", NULL
42651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42653 if (SWIG_arg_fail(1)) SWIG_fail
;
42655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42656 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42658 wxPyEndAllowThreads(__tstate
);
42659 if (PyErr_Occurred()) SWIG_fail
;
42662 wxGBSpan
* resultptr
;
42663 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42672 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42673 PyObject
*resultobj
;
42674 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42675 wxGBPosition
*arg2
= 0 ;
42677 wxGBPosition temp2
;
42678 PyObject
* obj0
= 0 ;
42679 PyObject
* obj1
= 0 ;
42680 char *kwnames
[] = {
42681 (char *) "self",(char *) "pos", NULL
42684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42686 if (SWIG_arg_fail(1)) SWIG_fail
;
42689 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42693 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42695 wxPyEndAllowThreads(__tstate
);
42696 if (PyErr_Occurred()) SWIG_fail
;
42699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42707 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42708 PyObject
*resultobj
;
42709 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42710 wxGBSpan
*arg2
= 0 ;
42713 PyObject
* obj0
= 0 ;
42714 PyObject
* obj1
= 0 ;
42715 char *kwnames
[] = {
42716 (char *) "self",(char *) "span", NULL
42719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42721 if (SWIG_arg_fail(1)) SWIG_fail
;
42724 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42728 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42730 wxPyEndAllowThreads(__tstate
);
42731 if (PyErr_Occurred()) SWIG_fail
;
42734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42742 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42743 PyObject
*resultobj
;
42744 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42745 wxGBSizerItem
*arg2
= 0 ;
42747 PyObject
* obj0
= 0 ;
42748 PyObject
* obj1
= 0 ;
42749 char *kwnames
[] = {
42750 (char *) "self",(char *) "other", NULL
42753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42755 if (SWIG_arg_fail(1)) SWIG_fail
;
42757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42758 if (SWIG_arg_fail(2)) SWIG_fail
;
42759 if (arg2
== NULL
) {
42760 SWIG_null_ref("wxGBSizerItem");
42762 if (SWIG_arg_fail(2)) SWIG_fail
;
42765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42766 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42768 wxPyEndAllowThreads(__tstate
);
42769 if (PyErr_Occurred()) SWIG_fail
;
42772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42780 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42781 PyObject
*resultobj
;
42782 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42783 wxGBPosition
*arg2
= 0 ;
42784 wxGBSpan
*arg3
= 0 ;
42786 wxGBPosition temp2
;
42788 PyObject
* obj0
= 0 ;
42789 PyObject
* obj1
= 0 ;
42790 PyObject
* obj2
= 0 ;
42791 char *kwnames
[] = {
42792 (char *) "self",(char *) "pos",(char *) "span", NULL
42795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42797 if (SWIG_arg_fail(1)) SWIG_fail
;
42800 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42804 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42808 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42810 wxPyEndAllowThreads(__tstate
);
42811 if (PyErr_Occurred()) SWIG_fail
;
42814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42822 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42823 PyObject
*resultobj
;
42824 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42825 wxGBPosition result
;
42826 PyObject
* obj0
= 0 ;
42827 char *kwnames
[] = {
42828 (char *) "self", NULL
42831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42833 if (SWIG_arg_fail(1)) SWIG_fail
;
42835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42836 result
= wxGBSizerItem_GetEndPos(arg1
);
42838 wxPyEndAllowThreads(__tstate
);
42839 if (PyErr_Occurred()) SWIG_fail
;
42842 wxGBPosition
* resultptr
;
42843 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42852 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42853 PyObject
*resultobj
;
42854 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42855 wxGridBagSizer
*result
;
42856 PyObject
* obj0
= 0 ;
42857 char *kwnames
[] = {
42858 (char *) "self", NULL
42861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42863 if (SWIG_arg_fail(1)) SWIG_fail
;
42865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42866 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42868 wxPyEndAllowThreads(__tstate
);
42869 if (PyErr_Occurred()) SWIG_fail
;
42871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42878 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42879 PyObject
*resultobj
;
42880 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42881 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42882 PyObject
* obj0
= 0 ;
42883 PyObject
* obj1
= 0 ;
42884 char *kwnames
[] = {
42885 (char *) "self",(char *) "sizer", NULL
42888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42890 if (SWIG_arg_fail(1)) SWIG_fail
;
42891 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42892 if (SWIG_arg_fail(2)) SWIG_fail
;
42894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42895 (arg1
)->SetGBSizer(arg2
);
42897 wxPyEndAllowThreads(__tstate
);
42898 if (PyErr_Occurred()) SWIG_fail
;
42900 Py_INCREF(Py_None
); resultobj
= Py_None
;
42907 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42910 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42912 return Py_BuildValue((char *)"");
42914 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42915 PyObject
*resultobj
;
42916 int arg1
= (int) 0 ;
42917 int arg2
= (int) 0 ;
42918 wxGridBagSizer
*result
;
42919 PyObject
* obj0
= 0 ;
42920 PyObject
* obj1
= 0 ;
42921 char *kwnames
[] = {
42922 (char *) "vgap",(char *) "hgap", NULL
42925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42928 arg1
= (int)(SWIG_As_int(obj0
));
42929 if (SWIG_arg_fail(1)) SWIG_fail
;
42934 arg2
= (int)(SWIG_As_int(obj1
));
42935 if (SWIG_arg_fail(2)) SWIG_fail
;
42939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42940 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42942 wxPyEndAllowThreads(__tstate
);
42943 if (PyErr_Occurred()) SWIG_fail
;
42945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42952 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42953 PyObject
*resultobj
;
42954 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42955 PyObject
*arg2
= (PyObject
*) 0 ;
42956 wxGBPosition
*arg3
= 0 ;
42957 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42958 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42959 int arg5
= (int) 0 ;
42960 int arg6
= (int) 0 ;
42961 PyObject
*arg7
= (PyObject
*) NULL
;
42962 wxGBSizerItem
*result
;
42963 wxGBPosition temp3
;
42965 PyObject
* obj0
= 0 ;
42966 PyObject
* obj1
= 0 ;
42967 PyObject
* obj2
= 0 ;
42968 PyObject
* obj3
= 0 ;
42969 PyObject
* obj4
= 0 ;
42970 PyObject
* obj5
= 0 ;
42971 PyObject
* obj6
= 0 ;
42972 char *kwnames
[] = {
42973 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42978 if (SWIG_arg_fail(1)) SWIG_fail
;
42982 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42987 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42992 arg5
= (int)(SWIG_As_int(obj4
));
42993 if (SWIG_arg_fail(5)) SWIG_fail
;
42998 arg6
= (int)(SWIG_As_int(obj5
));
42999 if (SWIG_arg_fail(6)) SWIG_fail
;
43006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43007 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43009 wxPyEndAllowThreads(__tstate
);
43010 if (PyErr_Occurred()) SWIG_fail
;
43012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43019 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43020 PyObject
*resultobj
;
43021 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43022 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43023 wxGBSizerItem
*result
;
43024 PyObject
* obj0
= 0 ;
43025 PyObject
* obj1
= 0 ;
43026 char *kwnames
[] = {
43027 (char *) "self",(char *) "item", NULL
43030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
43031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43032 if (SWIG_arg_fail(1)) SWIG_fail
;
43033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43034 if (SWIG_arg_fail(2)) SWIG_fail
;
43036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43037 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43039 wxPyEndAllowThreads(__tstate
);
43040 if (PyErr_Occurred()) SWIG_fail
;
43042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43049 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43050 PyObject
*resultobj
;
43051 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43055 PyObject
* obj0
= 0 ;
43056 PyObject
* obj1
= 0 ;
43057 PyObject
* obj2
= 0 ;
43058 char *kwnames
[] = {
43059 (char *) "self",(char *) "row",(char *) "col", NULL
43062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43064 if (SWIG_arg_fail(1)) SWIG_fail
;
43066 arg2
= (int)(SWIG_As_int(obj1
));
43067 if (SWIG_arg_fail(2)) SWIG_fail
;
43070 arg3
= (int)(SWIG_As_int(obj2
));
43071 if (SWIG_arg_fail(3)) SWIG_fail
;
43074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43075 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43077 wxPyEndAllowThreads(__tstate
);
43078 if (PyErr_Occurred()) SWIG_fail
;
43081 wxSize
* resultptr
;
43082 resultptr
= new wxSize((wxSize
&)(result
));
43083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43091 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43092 PyObject
*resultobj
;
43093 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43095 PyObject
* obj0
= 0 ;
43096 char *kwnames
[] = {
43097 (char *) "self", NULL
43100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43102 if (SWIG_arg_fail(1)) SWIG_fail
;
43104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43105 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43107 wxPyEndAllowThreads(__tstate
);
43108 if (PyErr_Occurred()) SWIG_fail
;
43111 wxSize
* resultptr
;
43112 resultptr
= new wxSize((wxSize
&)(result
));
43113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43121 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43122 PyObject
*resultobj
;
43123 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43126 PyObject
* obj0
= 0 ;
43127 PyObject
* obj1
= 0 ;
43128 char *kwnames
[] = {
43129 (char *) "self",(char *) "sz", NULL
43132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43134 if (SWIG_arg_fail(1)) SWIG_fail
;
43137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43141 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43143 wxPyEndAllowThreads(__tstate
);
43144 if (PyErr_Occurred()) SWIG_fail
;
43146 Py_INCREF(Py_None
); resultobj
= Py_None
;
43153 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43154 PyObject
*resultobj
;
43155 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43156 wxWindow
*arg2
= (wxWindow
*) 0 ;
43157 wxGBPosition result
;
43158 PyObject
* obj0
= 0 ;
43159 PyObject
* obj1
= 0 ;
43161 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43163 if (SWIG_arg_fail(1)) SWIG_fail
;
43164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43165 if (SWIG_arg_fail(2)) SWIG_fail
;
43167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43168 result
= (arg1
)->GetItemPosition(arg2
);
43170 wxPyEndAllowThreads(__tstate
);
43171 if (PyErr_Occurred()) SWIG_fail
;
43174 wxGBPosition
* resultptr
;
43175 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43184 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43185 PyObject
*resultobj
;
43186 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43187 wxSizer
*arg2
= (wxSizer
*) 0 ;
43188 wxGBPosition result
;
43189 PyObject
* obj0
= 0 ;
43190 PyObject
* obj1
= 0 ;
43192 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43194 if (SWIG_arg_fail(1)) SWIG_fail
;
43195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43196 if (SWIG_arg_fail(2)) SWIG_fail
;
43198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43199 result
= (arg1
)->GetItemPosition(arg2
);
43201 wxPyEndAllowThreads(__tstate
);
43202 if (PyErr_Occurred()) SWIG_fail
;
43205 wxGBPosition
* resultptr
;
43206 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43215 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43216 PyObject
*resultobj
;
43217 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43219 wxGBPosition result
;
43220 PyObject
* obj0
= 0 ;
43221 PyObject
* obj1
= 0 ;
43223 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43225 if (SWIG_arg_fail(1)) SWIG_fail
;
43227 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43228 if (SWIG_arg_fail(2)) SWIG_fail
;
43231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43232 result
= (arg1
)->GetItemPosition(arg2
);
43234 wxPyEndAllowThreads(__tstate
);
43235 if (PyErr_Occurred()) SWIG_fail
;
43238 wxGBPosition
* resultptr
;
43239 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43248 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43253 argc
= PyObject_Length(args
);
43254 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43255 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43261 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43271 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43279 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43287 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43297 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43305 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43313 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43321 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43323 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43328 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43333 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43334 PyObject
*resultobj
;
43335 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43336 wxWindow
*arg2
= (wxWindow
*) 0 ;
43337 wxGBPosition
*arg3
= 0 ;
43339 wxGBPosition temp3
;
43340 PyObject
* obj0
= 0 ;
43341 PyObject
* obj1
= 0 ;
43342 PyObject
* obj2
= 0 ;
43344 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43346 if (SWIG_arg_fail(1)) SWIG_fail
;
43347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43348 if (SWIG_arg_fail(2)) SWIG_fail
;
43351 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43355 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43357 wxPyEndAllowThreads(__tstate
);
43358 if (PyErr_Occurred()) SWIG_fail
;
43361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43369 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43370 PyObject
*resultobj
;
43371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43372 wxSizer
*arg2
= (wxSizer
*) 0 ;
43373 wxGBPosition
*arg3
= 0 ;
43375 wxGBPosition temp3
;
43376 PyObject
* obj0
= 0 ;
43377 PyObject
* obj1
= 0 ;
43378 PyObject
* obj2
= 0 ;
43380 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43382 if (SWIG_arg_fail(1)) SWIG_fail
;
43383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43384 if (SWIG_arg_fail(2)) SWIG_fail
;
43387 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43391 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43393 wxPyEndAllowThreads(__tstate
);
43394 if (PyErr_Occurred()) SWIG_fail
;
43397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43405 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43406 PyObject
*resultobj
;
43407 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43409 wxGBPosition
*arg3
= 0 ;
43411 wxGBPosition temp3
;
43412 PyObject
* obj0
= 0 ;
43413 PyObject
* obj1
= 0 ;
43414 PyObject
* obj2
= 0 ;
43416 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43418 if (SWIG_arg_fail(1)) SWIG_fail
;
43420 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43421 if (SWIG_arg_fail(2)) SWIG_fail
;
43425 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43429 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43431 wxPyEndAllowThreads(__tstate
);
43432 if (PyErr_Occurred()) SWIG_fail
;
43435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43443 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43448 argc
= PyObject_Length(args
);
43449 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43450 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43456 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43466 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43475 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43478 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43497 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43506 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43509 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43518 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43526 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43529 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43532 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43538 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43543 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43544 PyObject
*resultobj
;
43545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43546 wxWindow
*arg2
= (wxWindow
*) 0 ;
43548 PyObject
* obj0
= 0 ;
43549 PyObject
* obj1
= 0 ;
43551 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43553 if (SWIG_arg_fail(1)) SWIG_fail
;
43554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43555 if (SWIG_arg_fail(2)) SWIG_fail
;
43557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43558 result
= (arg1
)->GetItemSpan(arg2
);
43560 wxPyEndAllowThreads(__tstate
);
43561 if (PyErr_Occurred()) SWIG_fail
;
43564 wxGBSpan
* resultptr
;
43565 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43574 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43575 PyObject
*resultobj
;
43576 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43577 wxSizer
*arg2
= (wxSizer
*) 0 ;
43579 PyObject
* obj0
= 0 ;
43580 PyObject
* obj1
= 0 ;
43582 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43584 if (SWIG_arg_fail(1)) SWIG_fail
;
43585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43586 if (SWIG_arg_fail(2)) SWIG_fail
;
43588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43589 result
= (arg1
)->GetItemSpan(arg2
);
43591 wxPyEndAllowThreads(__tstate
);
43592 if (PyErr_Occurred()) SWIG_fail
;
43595 wxGBSpan
* resultptr
;
43596 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43605 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43606 PyObject
*resultobj
;
43607 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43610 PyObject
* obj0
= 0 ;
43611 PyObject
* obj1
= 0 ;
43613 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43615 if (SWIG_arg_fail(1)) SWIG_fail
;
43617 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43618 if (SWIG_arg_fail(2)) SWIG_fail
;
43621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43622 result
= (arg1
)->GetItemSpan(arg2
);
43624 wxPyEndAllowThreads(__tstate
);
43625 if (PyErr_Occurred()) SWIG_fail
;
43628 wxGBSpan
* resultptr
;
43629 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43638 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43643 argc
= PyObject_Length(args
);
43644 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43661 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43669 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43687 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43695 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43711 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43713 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43718 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43723 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43724 PyObject
*resultobj
;
43725 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43726 wxWindow
*arg2
= (wxWindow
*) 0 ;
43727 wxGBSpan
*arg3
= 0 ;
43730 PyObject
* obj0
= 0 ;
43731 PyObject
* obj1
= 0 ;
43732 PyObject
* obj2
= 0 ;
43734 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43736 if (SWIG_arg_fail(1)) SWIG_fail
;
43737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43738 if (SWIG_arg_fail(2)) SWIG_fail
;
43741 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43745 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43747 wxPyEndAllowThreads(__tstate
);
43748 if (PyErr_Occurred()) SWIG_fail
;
43751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43759 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43760 PyObject
*resultobj
;
43761 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43762 wxSizer
*arg2
= (wxSizer
*) 0 ;
43763 wxGBSpan
*arg3
= 0 ;
43766 PyObject
* obj0
= 0 ;
43767 PyObject
* obj1
= 0 ;
43768 PyObject
* obj2
= 0 ;
43770 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43772 if (SWIG_arg_fail(1)) SWIG_fail
;
43773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43774 if (SWIG_arg_fail(2)) SWIG_fail
;
43777 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43781 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43783 wxPyEndAllowThreads(__tstate
);
43784 if (PyErr_Occurred()) SWIG_fail
;
43787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43795 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43796 PyObject
*resultobj
;
43797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43799 wxGBSpan
*arg3
= 0 ;
43802 PyObject
* obj0
= 0 ;
43803 PyObject
* obj1
= 0 ;
43804 PyObject
* obj2
= 0 ;
43806 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43808 if (SWIG_arg_fail(1)) SWIG_fail
;
43810 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43811 if (SWIG_arg_fail(2)) SWIG_fail
;
43815 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43819 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43821 wxPyEndAllowThreads(__tstate
);
43822 if (PyErr_Occurred()) SWIG_fail
;
43825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43833 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43838 argc
= PyObject_Length(args
);
43839 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43840 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43856 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43865 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43868 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43877 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43887 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43896 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43899 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43908 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43916 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43919 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43922 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43928 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43933 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43934 PyObject
*resultobj
;
43935 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43936 wxWindow
*arg2
= (wxWindow
*) 0 ;
43937 wxGBSizerItem
*result
;
43938 PyObject
* obj0
= 0 ;
43939 PyObject
* obj1
= 0 ;
43941 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43943 if (SWIG_arg_fail(1)) SWIG_fail
;
43944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43945 if (SWIG_arg_fail(2)) SWIG_fail
;
43947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43948 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43950 wxPyEndAllowThreads(__tstate
);
43951 if (PyErr_Occurred()) SWIG_fail
;
43953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43960 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43961 PyObject
*resultobj
;
43962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43963 wxSizer
*arg2
= (wxSizer
*) 0 ;
43964 wxGBSizerItem
*result
;
43965 PyObject
* obj0
= 0 ;
43966 PyObject
* obj1
= 0 ;
43968 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43970 if (SWIG_arg_fail(1)) SWIG_fail
;
43971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43972 if (SWIG_arg_fail(2)) SWIG_fail
;
43974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43975 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43977 wxPyEndAllowThreads(__tstate
);
43978 if (PyErr_Occurred()) SWIG_fail
;
43980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43987 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43992 argc
= PyObject_Length(args
);
43993 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43994 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44000 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44010 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44018 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44026 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44036 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44044 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44049 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44054 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44055 PyObject
*resultobj
;
44056 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44057 wxGBPosition
*arg2
= 0 ;
44058 wxGBSizerItem
*result
;
44059 wxGBPosition temp2
;
44060 PyObject
* obj0
= 0 ;
44061 PyObject
* obj1
= 0 ;
44062 char *kwnames
[] = {
44063 (char *) "self",(char *) "pos", NULL
44066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44068 if (SWIG_arg_fail(1)) SWIG_fail
;
44071 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44075 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44077 wxPyEndAllowThreads(__tstate
);
44078 if (PyErr_Occurred()) SWIG_fail
;
44080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44087 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44088 PyObject
*resultobj
;
44089 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44090 wxPoint
*arg2
= 0 ;
44091 wxGBSizerItem
*result
;
44093 PyObject
* obj0
= 0 ;
44094 PyObject
* obj1
= 0 ;
44095 char *kwnames
[] = {
44096 (char *) "self",(char *) "pt", NULL
44099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44101 if (SWIG_arg_fail(1)) SWIG_fail
;
44104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44108 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44110 wxPyEndAllowThreads(__tstate
);
44111 if (PyErr_Occurred()) SWIG_fail
;
44113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44120 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44121 PyObject
*resultobj
;
44122 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44123 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44124 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44126 PyObject
* obj0
= 0 ;
44127 PyObject
* obj1
= 0 ;
44128 PyObject
* obj2
= 0 ;
44129 char *kwnames
[] = {
44130 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44135 if (SWIG_arg_fail(1)) SWIG_fail
;
44136 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44137 if (SWIG_arg_fail(2)) SWIG_fail
;
44139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44140 if (SWIG_arg_fail(3)) SWIG_fail
;
44143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44144 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44146 wxPyEndAllowThreads(__tstate
);
44147 if (PyErr_Occurred()) SWIG_fail
;
44150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44158 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44159 PyObject
*resultobj
;
44160 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44161 wxGBPosition
*arg2
= 0 ;
44162 wxGBSpan
*arg3
= 0 ;
44163 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44165 wxGBPosition temp2
;
44167 PyObject
* obj0
= 0 ;
44168 PyObject
* obj1
= 0 ;
44169 PyObject
* obj2
= 0 ;
44170 PyObject
* obj3
= 0 ;
44171 char *kwnames
[] = {
44172 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44177 if (SWIG_arg_fail(1)) SWIG_fail
;
44180 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44184 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44187 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44188 if (SWIG_arg_fail(4)) SWIG_fail
;
44191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44192 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44194 wxPyEndAllowThreads(__tstate
);
44195 if (PyErr_Occurred()) SWIG_fail
;
44198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44206 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44209 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44211 return Py_BuildValue((char *)"");
44213 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44214 PyObject
*resultobj
;
44215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44216 wxRelationship arg2
;
44217 wxWindow
*arg3
= (wxWindow
*) 0 ;
44219 int arg5
= (int) 0 ;
44220 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44221 PyObject
* obj0
= 0 ;
44222 PyObject
* obj1
= 0 ;
44223 PyObject
* obj2
= 0 ;
44224 PyObject
* obj3
= 0 ;
44225 PyObject
* obj4
= 0 ;
44226 PyObject
* obj5
= 0 ;
44227 char *kwnames
[] = {
44228 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44233 if (SWIG_arg_fail(1)) SWIG_fail
;
44235 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44236 if (SWIG_arg_fail(2)) SWIG_fail
;
44238 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44239 if (SWIG_arg_fail(3)) SWIG_fail
;
44241 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44242 if (SWIG_arg_fail(4)) SWIG_fail
;
44246 arg5
= (int)(SWIG_As_int(obj4
));
44247 if (SWIG_arg_fail(5)) SWIG_fail
;
44252 arg6
= (int)(SWIG_As_int(obj5
));
44253 if (SWIG_arg_fail(6)) SWIG_fail
;
44257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44258 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44260 wxPyEndAllowThreads(__tstate
);
44261 if (PyErr_Occurred()) SWIG_fail
;
44263 Py_INCREF(Py_None
); resultobj
= Py_None
;
44270 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44271 PyObject
*resultobj
;
44272 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44273 wxWindow
*arg2
= (wxWindow
*) 0 ;
44274 int arg3
= (int) 0 ;
44275 PyObject
* obj0
= 0 ;
44276 PyObject
* obj1
= 0 ;
44277 PyObject
* obj2
= 0 ;
44278 char *kwnames
[] = {
44279 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44284 if (SWIG_arg_fail(1)) SWIG_fail
;
44285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44286 if (SWIG_arg_fail(2)) SWIG_fail
;
44289 arg3
= (int)(SWIG_As_int(obj2
));
44290 if (SWIG_arg_fail(3)) SWIG_fail
;
44294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44295 (arg1
)->LeftOf(arg2
,arg3
);
44297 wxPyEndAllowThreads(__tstate
);
44298 if (PyErr_Occurred()) SWIG_fail
;
44300 Py_INCREF(Py_None
); resultobj
= Py_None
;
44307 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44308 PyObject
*resultobj
;
44309 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44310 wxWindow
*arg2
= (wxWindow
*) 0 ;
44311 int arg3
= (int) 0 ;
44312 PyObject
* obj0
= 0 ;
44313 PyObject
* obj1
= 0 ;
44314 PyObject
* obj2
= 0 ;
44315 char *kwnames
[] = {
44316 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44321 if (SWIG_arg_fail(1)) SWIG_fail
;
44322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44323 if (SWIG_arg_fail(2)) SWIG_fail
;
44326 arg3
= (int)(SWIG_As_int(obj2
));
44327 if (SWIG_arg_fail(3)) SWIG_fail
;
44331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44332 (arg1
)->RightOf(arg2
,arg3
);
44334 wxPyEndAllowThreads(__tstate
);
44335 if (PyErr_Occurred()) SWIG_fail
;
44337 Py_INCREF(Py_None
); resultobj
= Py_None
;
44344 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44345 PyObject
*resultobj
;
44346 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44347 wxWindow
*arg2
= (wxWindow
*) 0 ;
44348 int arg3
= (int) 0 ;
44349 PyObject
* obj0
= 0 ;
44350 PyObject
* obj1
= 0 ;
44351 PyObject
* obj2
= 0 ;
44352 char *kwnames
[] = {
44353 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44358 if (SWIG_arg_fail(1)) SWIG_fail
;
44359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44360 if (SWIG_arg_fail(2)) SWIG_fail
;
44363 arg3
= (int)(SWIG_As_int(obj2
));
44364 if (SWIG_arg_fail(3)) SWIG_fail
;
44368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44369 (arg1
)->Above(arg2
,arg3
);
44371 wxPyEndAllowThreads(__tstate
);
44372 if (PyErr_Occurred()) SWIG_fail
;
44374 Py_INCREF(Py_None
); resultobj
= Py_None
;
44381 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44382 PyObject
*resultobj
;
44383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44384 wxWindow
*arg2
= (wxWindow
*) 0 ;
44385 int arg3
= (int) 0 ;
44386 PyObject
* obj0
= 0 ;
44387 PyObject
* obj1
= 0 ;
44388 PyObject
* obj2
= 0 ;
44389 char *kwnames
[] = {
44390 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44395 if (SWIG_arg_fail(1)) SWIG_fail
;
44396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44397 if (SWIG_arg_fail(2)) SWIG_fail
;
44400 arg3
= (int)(SWIG_As_int(obj2
));
44401 if (SWIG_arg_fail(3)) SWIG_fail
;
44405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44406 (arg1
)->Below(arg2
,arg3
);
44408 wxPyEndAllowThreads(__tstate
);
44409 if (PyErr_Occurred()) SWIG_fail
;
44411 Py_INCREF(Py_None
); resultobj
= Py_None
;
44418 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44419 PyObject
*resultobj
;
44420 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44421 wxWindow
*arg2
= (wxWindow
*) 0 ;
44423 int arg4
= (int) 0 ;
44424 PyObject
* obj0
= 0 ;
44425 PyObject
* obj1
= 0 ;
44426 PyObject
* obj2
= 0 ;
44427 PyObject
* obj3
= 0 ;
44428 char *kwnames
[] = {
44429 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44434 if (SWIG_arg_fail(1)) SWIG_fail
;
44435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44436 if (SWIG_arg_fail(2)) SWIG_fail
;
44438 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44439 if (SWIG_arg_fail(3)) SWIG_fail
;
44443 arg4
= (int)(SWIG_As_int(obj3
));
44444 if (SWIG_arg_fail(4)) SWIG_fail
;
44448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44449 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44451 wxPyEndAllowThreads(__tstate
);
44452 if (PyErr_Occurred()) SWIG_fail
;
44454 Py_INCREF(Py_None
); resultobj
= Py_None
;
44461 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44462 PyObject
*resultobj
;
44463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44464 wxWindow
*arg2
= (wxWindow
*) 0 ;
44467 PyObject
* obj0
= 0 ;
44468 PyObject
* obj1
= 0 ;
44469 PyObject
* obj2
= 0 ;
44470 PyObject
* obj3
= 0 ;
44471 char *kwnames
[] = {
44472 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44477 if (SWIG_arg_fail(1)) SWIG_fail
;
44478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44479 if (SWIG_arg_fail(2)) SWIG_fail
;
44481 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44482 if (SWIG_arg_fail(3)) SWIG_fail
;
44485 arg4
= (int)(SWIG_As_int(obj3
));
44486 if (SWIG_arg_fail(4)) SWIG_fail
;
44489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44490 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44492 wxPyEndAllowThreads(__tstate
);
44493 if (PyErr_Occurred()) SWIG_fail
;
44495 Py_INCREF(Py_None
); resultobj
= Py_None
;
44502 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44503 PyObject
*resultobj
;
44504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44506 PyObject
* obj0
= 0 ;
44507 PyObject
* obj1
= 0 ;
44508 char *kwnames
[] = {
44509 (char *) "self",(char *) "val", NULL
44512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44514 if (SWIG_arg_fail(1)) SWIG_fail
;
44516 arg2
= (int)(SWIG_As_int(obj1
));
44517 if (SWIG_arg_fail(2)) SWIG_fail
;
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44521 (arg1
)->Absolute(arg2
);
44523 wxPyEndAllowThreads(__tstate
);
44524 if (PyErr_Occurred()) SWIG_fail
;
44526 Py_INCREF(Py_None
); resultobj
= Py_None
;
44533 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44534 PyObject
*resultobj
;
44535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44536 PyObject
* obj0
= 0 ;
44537 char *kwnames
[] = {
44538 (char *) "self", NULL
44541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44543 if (SWIG_arg_fail(1)) SWIG_fail
;
44545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44546 (arg1
)->Unconstrained();
44548 wxPyEndAllowThreads(__tstate
);
44549 if (PyErr_Occurred()) SWIG_fail
;
44551 Py_INCREF(Py_None
); resultobj
= Py_None
;
44558 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44559 PyObject
*resultobj
;
44560 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44561 PyObject
* obj0
= 0 ;
44562 char *kwnames
[] = {
44563 (char *) "self", NULL
44566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44568 if (SWIG_arg_fail(1)) SWIG_fail
;
44570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44573 wxPyEndAllowThreads(__tstate
);
44574 if (PyErr_Occurred()) SWIG_fail
;
44576 Py_INCREF(Py_None
); resultobj
= Py_None
;
44583 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44584 PyObject
*resultobj
;
44585 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44587 PyObject
* obj0
= 0 ;
44588 char *kwnames
[] = {
44589 (char *) "self", NULL
44592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44594 if (SWIG_arg_fail(1)) SWIG_fail
;
44596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44597 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44599 wxPyEndAllowThreads(__tstate
);
44600 if (PyErr_Occurred()) SWIG_fail
;
44603 resultobj
= wxPyMake_wxObject(result
, 0);
44611 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44612 PyObject
*resultobj
;
44613 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44615 PyObject
* obj0
= 0 ;
44616 char *kwnames
[] = {
44617 (char *) "self", NULL
44620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44622 if (SWIG_arg_fail(1)) SWIG_fail
;
44624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44625 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44627 wxPyEndAllowThreads(__tstate
);
44628 if (PyErr_Occurred()) SWIG_fail
;
44630 resultobj
= SWIG_From_int((result
));
44637 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44638 PyObject
*resultobj
;
44639 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44641 PyObject
* obj0
= 0 ;
44642 PyObject
* obj1
= 0 ;
44643 char *kwnames
[] = {
44644 (char *) "self",(char *) "which", NULL
44647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44649 if (SWIG_arg_fail(1)) SWIG_fail
;
44651 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44652 if (SWIG_arg_fail(2)) SWIG_fail
;
44655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44656 (arg1
)->SetEdge((wxEdge
)arg2
);
44658 wxPyEndAllowThreads(__tstate
);
44659 if (PyErr_Occurred()) SWIG_fail
;
44661 Py_INCREF(Py_None
); resultobj
= Py_None
;
44668 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44669 PyObject
*resultobj
;
44670 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44672 PyObject
* obj0
= 0 ;
44673 PyObject
* obj1
= 0 ;
44674 char *kwnames
[] = {
44675 (char *) "self",(char *) "v", NULL
44678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44680 if (SWIG_arg_fail(1)) SWIG_fail
;
44682 arg2
= (int)(SWIG_As_int(obj1
));
44683 if (SWIG_arg_fail(2)) SWIG_fail
;
44686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44687 (arg1
)->SetValue(arg2
);
44689 wxPyEndAllowThreads(__tstate
);
44690 if (PyErr_Occurred()) SWIG_fail
;
44692 Py_INCREF(Py_None
); resultobj
= Py_None
;
44699 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44700 PyObject
*resultobj
;
44701 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44703 PyObject
* obj0
= 0 ;
44704 char *kwnames
[] = {
44705 (char *) "self", NULL
44708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44710 if (SWIG_arg_fail(1)) SWIG_fail
;
44712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44713 result
= (int)(arg1
)->GetMargin();
44715 wxPyEndAllowThreads(__tstate
);
44716 if (PyErr_Occurred()) SWIG_fail
;
44719 resultobj
= SWIG_From_int((int)(result
));
44727 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44728 PyObject
*resultobj
;
44729 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44731 PyObject
* obj0
= 0 ;
44732 PyObject
* obj1
= 0 ;
44733 char *kwnames
[] = {
44734 (char *) "self",(char *) "m", NULL
44737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44739 if (SWIG_arg_fail(1)) SWIG_fail
;
44741 arg2
= (int)(SWIG_As_int(obj1
));
44742 if (SWIG_arg_fail(2)) SWIG_fail
;
44745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44746 (arg1
)->SetMargin(arg2
);
44748 wxPyEndAllowThreads(__tstate
);
44749 if (PyErr_Occurred()) SWIG_fail
;
44751 Py_INCREF(Py_None
); resultobj
= Py_None
;
44758 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44759 PyObject
*resultobj
;
44760 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44762 PyObject
* obj0
= 0 ;
44763 char *kwnames
[] = {
44764 (char *) "self", NULL
44767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44769 if (SWIG_arg_fail(1)) SWIG_fail
;
44771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44772 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44774 wxPyEndAllowThreads(__tstate
);
44775 if (PyErr_Occurred()) SWIG_fail
;
44778 resultobj
= SWIG_From_int((int)(result
));
44786 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44787 PyObject
*resultobj
;
44788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44790 PyObject
* obj0
= 0 ;
44791 char *kwnames
[] = {
44792 (char *) "self", NULL
44795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44797 if (SWIG_arg_fail(1)) SWIG_fail
;
44799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44800 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44802 wxPyEndAllowThreads(__tstate
);
44803 if (PyErr_Occurred()) SWIG_fail
;
44806 resultobj
= SWIG_From_int((int)(result
));
44814 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44815 PyObject
*resultobj
;
44816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44818 PyObject
* obj0
= 0 ;
44819 char *kwnames
[] = {
44820 (char *) "self", NULL
44823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44825 if (SWIG_arg_fail(1)) SWIG_fail
;
44827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44828 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44830 wxPyEndAllowThreads(__tstate
);
44831 if (PyErr_Occurred()) SWIG_fail
;
44834 resultobj
= SWIG_From_int((int)(result
));
44842 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44843 PyObject
*resultobj
;
44844 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44846 PyObject
* obj0
= 0 ;
44847 char *kwnames
[] = {
44848 (char *) "self", NULL
44851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44853 if (SWIG_arg_fail(1)) SWIG_fail
;
44855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44856 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44858 wxPyEndAllowThreads(__tstate
);
44859 if (PyErr_Occurred()) SWIG_fail
;
44862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44870 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44871 PyObject
*resultobj
;
44872 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44874 PyObject
* obj0
= 0 ;
44875 PyObject
* obj1
= 0 ;
44876 char *kwnames
[] = {
44877 (char *) "self",(char *) "d", NULL
44880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44882 if (SWIG_arg_fail(1)) SWIG_fail
;
44884 arg2
= (bool)(SWIG_As_bool(obj1
));
44885 if (SWIG_arg_fail(2)) SWIG_fail
;
44888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44889 (arg1
)->SetDone(arg2
);
44891 wxPyEndAllowThreads(__tstate
);
44892 if (PyErr_Occurred()) SWIG_fail
;
44894 Py_INCREF(Py_None
); resultobj
= Py_None
;
44901 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44902 PyObject
*resultobj
;
44903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44904 wxRelationship result
;
44905 PyObject
* obj0
= 0 ;
44906 char *kwnames
[] = {
44907 (char *) "self", NULL
44910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44912 if (SWIG_arg_fail(1)) SWIG_fail
;
44914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44915 result
= (wxRelationship
)(arg1
)->GetRelationship();
44917 wxPyEndAllowThreads(__tstate
);
44918 if (PyErr_Occurred()) SWIG_fail
;
44920 resultobj
= SWIG_From_int((result
));
44927 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44928 PyObject
*resultobj
;
44929 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44930 wxRelationship arg2
;
44931 PyObject
* obj0
= 0 ;
44932 PyObject
* obj1
= 0 ;
44933 char *kwnames
[] = {
44934 (char *) "self",(char *) "r", NULL
44937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44939 if (SWIG_arg_fail(1)) SWIG_fail
;
44941 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44942 if (SWIG_arg_fail(2)) SWIG_fail
;
44945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44946 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44948 wxPyEndAllowThreads(__tstate
);
44949 if (PyErr_Occurred()) SWIG_fail
;
44951 Py_INCREF(Py_None
); resultobj
= Py_None
;
44958 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44959 PyObject
*resultobj
;
44960 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44961 wxWindow
*arg2
= (wxWindow
*) 0 ;
44963 PyObject
* obj0
= 0 ;
44964 PyObject
* obj1
= 0 ;
44965 char *kwnames
[] = {
44966 (char *) "self",(char *) "otherW", NULL
44969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44971 if (SWIG_arg_fail(1)) SWIG_fail
;
44972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44973 if (SWIG_arg_fail(2)) SWIG_fail
;
44975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44976 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44978 wxPyEndAllowThreads(__tstate
);
44979 if (PyErr_Occurred()) SWIG_fail
;
44982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44990 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44991 PyObject
*resultobj
;
44992 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44993 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44994 wxWindow
*arg3
= (wxWindow
*) 0 ;
44996 PyObject
* obj0
= 0 ;
44997 PyObject
* obj1
= 0 ;
44998 PyObject
* obj2
= 0 ;
44999 char *kwnames
[] = {
45000 (char *) "self",(char *) "constraints",(char *) "win", NULL
45003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45005 if (SWIG_arg_fail(1)) SWIG_fail
;
45006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45007 if (SWIG_arg_fail(2)) SWIG_fail
;
45008 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45009 if (SWIG_arg_fail(3)) SWIG_fail
;
45011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45012 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45014 wxPyEndAllowThreads(__tstate
);
45015 if (PyErr_Occurred()) SWIG_fail
;
45018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45026 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45027 PyObject
*resultobj
;
45028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45030 wxWindow
*arg3
= (wxWindow
*) 0 ;
45031 wxWindow
*arg4
= (wxWindow
*) 0 ;
45033 PyObject
* obj0
= 0 ;
45034 PyObject
* obj1
= 0 ;
45035 PyObject
* obj2
= 0 ;
45036 PyObject
* obj3
= 0 ;
45037 char *kwnames
[] = {
45038 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45043 if (SWIG_arg_fail(1)) SWIG_fail
;
45045 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45046 if (SWIG_arg_fail(2)) SWIG_fail
;
45048 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45049 if (SWIG_arg_fail(3)) SWIG_fail
;
45050 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45051 if (SWIG_arg_fail(4)) SWIG_fail
;
45053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45054 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45056 wxPyEndAllowThreads(__tstate
);
45057 if (PyErr_Occurred()) SWIG_fail
;
45060 resultobj
= SWIG_From_int((int)(result
));
45068 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45071 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45073 return Py_BuildValue((char *)"");
45075 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45076 PyObject
*resultobj
;
45077 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45078 wxIndividualLayoutConstraint
*result
;
45079 PyObject
* obj0
= 0 ;
45080 char *kwnames
[] = {
45081 (char *) "self", NULL
45084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45086 if (SWIG_arg_fail(1)) SWIG_fail
;
45087 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45096 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45097 PyObject
*resultobj
;
45098 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45099 wxIndividualLayoutConstraint
*result
;
45100 PyObject
* obj0
= 0 ;
45101 char *kwnames
[] = {
45102 (char *) "self", NULL
45105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45107 if (SWIG_arg_fail(1)) SWIG_fail
;
45108 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45117 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45118 PyObject
*resultobj
;
45119 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45120 wxIndividualLayoutConstraint
*result
;
45121 PyObject
* obj0
= 0 ;
45122 char *kwnames
[] = {
45123 (char *) "self", NULL
45126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45128 if (SWIG_arg_fail(1)) SWIG_fail
;
45129 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45138 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45139 PyObject
*resultobj
;
45140 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45141 wxIndividualLayoutConstraint
*result
;
45142 PyObject
* obj0
= 0 ;
45143 char *kwnames
[] = {
45144 (char *) "self", NULL
45147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45149 if (SWIG_arg_fail(1)) SWIG_fail
;
45150 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45159 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45160 PyObject
*resultobj
;
45161 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45162 wxIndividualLayoutConstraint
*result
;
45163 PyObject
* obj0
= 0 ;
45164 char *kwnames
[] = {
45165 (char *) "self", NULL
45168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45170 if (SWIG_arg_fail(1)) SWIG_fail
;
45171 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45180 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45181 PyObject
*resultobj
;
45182 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45183 wxIndividualLayoutConstraint
*result
;
45184 PyObject
* obj0
= 0 ;
45185 char *kwnames
[] = {
45186 (char *) "self", NULL
45189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45191 if (SWIG_arg_fail(1)) SWIG_fail
;
45192 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45201 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45202 PyObject
*resultobj
;
45203 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45204 wxIndividualLayoutConstraint
*result
;
45205 PyObject
* obj0
= 0 ;
45206 char *kwnames
[] = {
45207 (char *) "self", NULL
45210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45212 if (SWIG_arg_fail(1)) SWIG_fail
;
45213 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45222 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45223 PyObject
*resultobj
;
45224 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45225 wxIndividualLayoutConstraint
*result
;
45226 PyObject
* obj0
= 0 ;
45227 char *kwnames
[] = {
45228 (char *) "self", NULL
45231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45233 if (SWIG_arg_fail(1)) SWIG_fail
;
45234 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45243 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45244 PyObject
*resultobj
;
45245 wxLayoutConstraints
*result
;
45246 char *kwnames
[] = {
45250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45253 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45255 wxPyEndAllowThreads(__tstate
);
45256 if (PyErr_Occurred()) SWIG_fail
;
45258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45265 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45266 PyObject
*resultobj
;
45267 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45268 wxWindow
*arg2
= (wxWindow
*) 0 ;
45269 int *arg3
= (int *) 0 ;
45273 PyObject
* obj0
= 0 ;
45274 PyObject
* obj1
= 0 ;
45275 char *kwnames
[] = {
45276 (char *) "self",(char *) "win", NULL
45279 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45282 if (SWIG_arg_fail(1)) SWIG_fail
;
45283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45284 if (SWIG_arg_fail(2)) SWIG_fail
;
45286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45287 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45289 wxPyEndAllowThreads(__tstate
);
45290 if (PyErr_Occurred()) SWIG_fail
;
45293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45295 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45296 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45303 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45304 PyObject
*resultobj
;
45305 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45307 PyObject
* obj0
= 0 ;
45308 char *kwnames
[] = {
45309 (char *) "self", NULL
45312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45314 if (SWIG_arg_fail(1)) SWIG_fail
;
45316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45317 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45319 wxPyEndAllowThreads(__tstate
);
45320 if (PyErr_Occurred()) SWIG_fail
;
45323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45331 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45334 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45336 return Py_BuildValue((char *)"");
45338 static PyMethodDef SwigMethods
[] = {
45339 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45340 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45341 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45344 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45365 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45378 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45393 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45447 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45475 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45496 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45504 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45505 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45529 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45533 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45539 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45549 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45559 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45566 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45646 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45648 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45650 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45652 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45654 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45658 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45660 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45662 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45664 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45666 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45670 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45684 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45702 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45705 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45708 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45720 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45725 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45737 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45800 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45807 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45843 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45859 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45861 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45863 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45866 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45870 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45873 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45876 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45878 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45883 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45891 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45895 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45898 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45900 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45904 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45921 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45923 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45926 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45928 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45932 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45947 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45950 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45953 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45957 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45964 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45969 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45974 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45978 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46023 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46043 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46050 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46054 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46064 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46236 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46278 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46293 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46296 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46351 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46378 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46422 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46430 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46449 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46450 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46487 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46517 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46520 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46524 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46526 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46527 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46537 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46549 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46561 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46564 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46571 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46581 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46595 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46602 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46603 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46604 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46605 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46606 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46611 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46638 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46650 { NULL
, NULL
, 0, NULL
}
46654 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46656 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46657 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46659 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46660 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46662 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46663 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46665 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46666 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46668 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46669 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46671 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46672 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46674 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46675 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46677 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46678 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46680 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46681 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46683 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46684 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46686 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46689 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46690 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46692 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46693 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46695 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46696 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46698 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46699 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46701 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46702 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46704 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46705 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46707 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46708 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46710 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46711 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46713 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46716 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46717 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46719 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46722 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46723 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46725 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46726 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46728 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46729 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46731 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46732 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46734 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46735 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46737 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46738 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46740 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46743 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46744 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46746 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46747 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46749 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46750 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46752 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46753 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46755 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46756 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46758 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46759 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46761 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46762 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46764 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46765 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46767 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46768 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46770 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46773 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46774 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46776 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46777 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46779 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46782 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46783 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46785 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46786 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46788 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46789 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46791 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46792 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46794 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46795 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46797 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46798 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46800 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46801 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46803 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46804 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46806 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46807 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46809 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46810 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46812 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46813 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46815 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46818 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46819 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46821 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46822 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46824 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46825 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46827 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46828 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46830 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46831 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46833 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46834 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46836 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46837 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46839 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46840 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46842 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46843 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46845 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46846 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46848 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46849 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46851 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46852 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46854 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46855 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46857 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46858 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46860 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46861 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46863 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46864 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46866 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46867 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46869 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46870 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46872 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46873 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46875 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46876 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46878 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46879 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46881 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46882 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46884 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46885 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46887 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46888 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46890 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46891 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46893 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46894 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46896 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46897 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46899 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46900 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46902 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46903 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46905 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46908 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46909 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46911 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46912 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46914 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46915 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46917 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46918 return (void *)((wxObject
*) ((wxSizer
*) x
));
46920 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46921 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46923 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46926 static void *_p_wxEventTo_p_wxObject(void *x
) {
46927 return (void *)((wxObject
*) ((wxEvent
*) x
));
46929 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46930 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46932 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46933 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46935 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46936 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46938 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46939 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46941 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46942 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46944 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46945 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46947 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46948 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46950 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46951 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46953 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46954 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46956 static void *_p_wxControlTo_p_wxObject(void *x
) {
46957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46959 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46960 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46962 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46963 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46965 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46966 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46968 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46969 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46971 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46974 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46975 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46977 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46978 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46980 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46983 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46984 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46986 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46989 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46990 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46992 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46993 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46995 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46996 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46998 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46999 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47001 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47002 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47004 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47005 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47007 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47008 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47010 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47011 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47013 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47014 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47016 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47019 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47022 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47025 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47026 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47028 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47029 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47031 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47032 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47034 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47035 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47037 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47038 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47040 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47041 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47043 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47044 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47046 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47047 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47049 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47050 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47052 static void *_p_wxImageTo_p_wxObject(void *x
) {
47053 return (void *)((wxObject
*) ((wxImage
*) x
));
47055 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47056 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47058 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47059 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47061 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47062 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47064 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47065 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47067 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47070 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47071 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47073 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47076 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47077 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47079 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47082 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47083 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47085 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47086 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47088 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47089 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47091 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47092 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47094 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47095 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47097 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47100 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47101 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47103 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47104 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47106 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47107 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47109 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47112 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47115 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47118 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47119 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47121 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47122 return (void *)((wxWindow
*) ((wxControl
*) x
));
47124 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47125 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47127 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47128 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47130 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47131 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47133 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47134 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47136 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47137 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47139 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47140 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47142 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47143 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47145 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47146 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47148 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47149 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47151 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47152 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47154 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47155 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47157 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47158 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47160 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}};
47161 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}};
47162 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}};
47163 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}};
47164 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}};
47165 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}};
47166 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}};
47167 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}};
47168 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}};
47169 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}};
47170 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}};
47171 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}};
47172 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}};
47173 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}};
47174 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}};
47175 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}};
47176 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}};
47177 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}};
47178 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}};
47179 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}};
47180 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}};
47181 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}};
47182 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}};
47183 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}};
47184 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}};
47185 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}};
47186 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}};
47187 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}};
47188 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}};
47189 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}};
47190 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}};
47191 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}};
47192 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}};
47193 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}};
47194 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}};
47195 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}};
47196 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}};
47197 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}};
47198 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}};
47199 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}};
47200 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}};
47201 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}};
47202 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}};
47203 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}};
47204 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}};
47205 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}};
47206 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}};
47207 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}};
47208 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}};
47209 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}};
47210 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}};
47211 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}};
47212 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}};
47213 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}};
47214 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}};
47215 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}};
47216 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}};
47217 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}};
47218 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}};
47219 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}};
47220 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}};
47221 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}};
47222 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}};
47223 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}};
47224 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}};
47225 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}};
47226 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}};
47227 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}};
47228 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}};
47229 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}};
47230 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}};
47231 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}};
47232 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}};
47233 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}};
47234 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}};
47235 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}};
47236 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}};
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 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}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47289 static swig_type_info
*swig_types_initial
[] = {
47290 _swigt__p_wxLayoutConstraints
,
47291 _swigt__p_wxRealPoint
,
47292 _swigt__p_wxSizerItem
,
47293 _swigt__p_wxGBSizerItem
,
47294 _swigt__p_wxScrollEvent
,
47295 _swigt__p_wxEventLoop
,
47296 _swigt__p_wxIndividualLayoutConstraint
,
47298 _swigt__p_wxBoxSizer
,
47299 _swigt__p_wxStaticBoxSizer
,
47300 _swigt__p_wxGridBagSizer
,
47301 _swigt__p_wxAcceleratorEntry
,
47302 _swigt__p_wxUpdateUIEvent
,
47306 _swigt__p_wxGridSizer
,
47307 _swigt__p_wxFlexGridSizer
,
47308 _swigt__p_wxInitDialogEvent
,
47309 _swigt__p_wxItemContainer
,
47310 _swigt__p_wxNcPaintEvent
,
47311 _swigt__p_wxPaintEvent
,
47312 _swigt__p_wxSysColourChangedEvent
,
47313 _swigt__p_wxMouseCaptureChangedEvent
,
47314 _swigt__p_wxDisplayChangedEvent
,
47315 _swigt__p_wxPaletteChangedEvent
,
47316 _swigt__p_wxControl
,
47318 _swigt__p_wxMenuBarBase
,
47319 _swigt__p_wxSetCursorEvent
,
47320 _swigt__p_wxFSFile
,
47323 _swigt__std__ptrdiff_t
,
47324 _swigt__p_wxRegion
,
47325 _swigt__p_wxPoint2D
,
47329 _swigt__p_wxPySizer
,
47330 _swigt__p_wxVisualAttributes
,
47331 _swigt__p_wxNotifyEvent
,
47332 _swigt__p_wxPyEvent
,
47333 _swigt__p_wxPropagationDisabler
,
47334 _swigt__p_form_ops_t
,
47335 _swigt__p_wxAppTraits
,
47336 _swigt__p_wxArrayString
,
47337 _swigt__p_wxShowEvent
,
47338 _swigt__p_wxToolTip
,
47339 _swigt__p_wxMoveEvent
,
47340 _swigt__p_wxSizeEvent
,
47341 _swigt__p_wxActivateEvent
,
47342 _swigt__p_wxIconizeEvent
,
47343 _swigt__p_wxMaximizeEvent
,
47344 _swigt__p_wxQueryNewPaletteEvent
,
47345 _swigt__p_wxWindowCreateEvent
,
47346 _swigt__p_wxIdleEvent
,
47347 _swigt__p_wxDateEvent
,
47348 _swigt__p_wxMenuItem
,
47349 _swigt__p_wxStaticBox
,
47351 _swigt__p_wxDuplexMode
,
47352 _swigt__p_wxTIFFHandler
,
47353 _swigt__p_wxXPMHandler
,
47354 _swigt__p_wxPNMHandler
,
47355 _swigt__p_wxJPEGHandler
,
47356 _swigt__p_wxPCXHandler
,
47357 _swigt__p_wxGIFHandler
,
47358 _swigt__p_wxPNGHandler
,
47359 _swigt__p_wxANIHandler
,
47360 _swigt__p_wxMemoryFSHandler
,
47361 _swigt__p_wxZipFSHandler
,
47362 _swigt__p_wxInternetFSHandler
,
47363 _swigt__p_wxPyFileSystemHandler
,
47364 _swigt__p_wxEvtHandler
,
47365 _swigt__p_wxCURHandler
,
47366 _swigt__p_wxICOHandler
,
47367 _swigt__p_wxBMPHandler
,
47368 _swigt__p_wxImageHandler
,
47369 _swigt__p_wxFileSystemHandler
,
47371 _swigt__p_wxButton
,
47372 _swigt__p_wxGBSpan
,
47373 _swigt__p_wxPropagateOnce
,
47374 _swigt__p_wxAcceleratorTable
,
47375 _swigt__p_wxStdDialogButtonSizer
,
47377 _swigt__p_wxGBPosition
,
47380 _swigt__p_wxScrollWinEvent
,
47381 _swigt__p_wxPaperSize
,
47382 _swigt__p_wxImageHistogram
,
47384 _swigt__p_wxCursor
,
47385 _swigt__p_wxObject
,
47386 _swigt__p_wxInputStream
,
47387 _swigt__p_wxOutputStream
,
47388 _swigt__p_wxPyInputStream
,
47389 _swigt__p_wxDateTime
,
47390 _swigt__p_wxKeyEvent
,
47391 _swigt__p_wxNavigationKeyEvent
,
47392 _swigt__p_wxWindowDestroyEvent
,
47393 _swigt__p_unsigned_long
,
47394 _swigt__p_wxWindow
,
47395 _swigt__p_wxMenuBar
,
47396 _swigt__p_wxFileSystem
,
47397 _swigt__p_wxBitmap
,
47398 _swigt__unsigned_int
,
47399 _swigt__p_unsigned_int
,
47400 _swigt__p_wxMenuEvent
,
47401 _swigt__p_wxContextMenuEvent
,
47402 _swigt__p_unsigned_char
,
47403 _swigt__p_wxEraseEvent
,
47404 _swigt__p_wxMouseEvent
,
47405 _swigt__p_wxCloseEvent
,
47407 _swigt__p_wxCommandEvent
,
47408 _swigt__p_wxPyCommandEvent
,
47409 _swigt__p_wxPyDropTarget
,
47410 _swigt__p_wxQuantize
,
47411 _swigt__p_wxFocusEvent
,
47412 _swigt__p_wxChildFocusEvent
,
47413 _swigt__p_wxDropFilesEvent
,
47414 _swigt__p_wxControlWithItems
,
47415 _swigt__p_wxColour
,
47416 _swigt__p_wxValidator
,
47417 _swigt__p_wxPyValidator
,
47422 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47424 static swig_const_info swig_const_table
[] = {
47425 {0, 0, 0, 0.0, 0, 0}};
47436 /* Python-specific SWIG API */
47437 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47438 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47439 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47441 /* -----------------------------------------------------------------------------
47442 * global variable support code.
47443 * ----------------------------------------------------------------------------- */
47445 typedef struct swig_globalvar
{
47446 char *name
; /* Name of global variable */
47447 PyObject
*(*get_attr
)(); /* Return the current value */
47448 int (*set_attr
)(PyObject
*); /* Set the value */
47449 struct swig_globalvar
*next
;
47452 typedef struct swig_varlinkobject
{
47454 swig_globalvar
*vars
;
47455 } swig_varlinkobject
;
47458 swig_varlink_repr(swig_varlinkobject
*v
) {
47460 return PyString_FromString("<Swig global variables>");
47464 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47465 swig_globalvar
*var
;
47467 fprintf(fp
,"Swig global variables { ");
47468 for (var
= v
->vars
; var
; var
=var
->next
) {
47469 fprintf(fp
,"%s", var
->name
);
47470 if (var
->next
) fprintf(fp
,", ");
47472 fprintf(fp
," }\n");
47477 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47478 swig_globalvar
*var
= v
->vars
;
47480 if (strcmp(var
->name
,n
) == 0) {
47481 return (*var
->get_attr
)();
47485 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47490 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47491 swig_globalvar
*var
= v
->vars
;
47493 if (strcmp(var
->name
,n
) == 0) {
47494 return (*var
->set_attr
)(p
);
47498 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47502 static PyTypeObject varlinktype
= {
47503 PyObject_HEAD_INIT(0)
47504 0, /* Number of items in variable part (ob_size) */
47505 (char *)"swigvarlink", /* Type name (tp_name) */
47506 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47507 0, /* Itemsize (tp_itemsize) */
47508 0, /* Deallocator (tp_dealloc) */
47509 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47510 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47511 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47512 0, /* tp_compare */
47513 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47514 0, /* tp_as_number */
47515 0, /* tp_as_sequence */
47516 0, /* tp_as_mapping */
47520 0, /* tp_getattro */
47521 0, /* tp_setattro */
47522 0, /* tp_as_buffer */
47525 #if PY_VERSION_HEX >= 0x02000000
47526 0, /* tp_traverse */
47529 #if PY_VERSION_HEX >= 0x02010000
47530 0, /* tp_richcompare */
47531 0, /* tp_weaklistoffset */
47533 #if PY_VERSION_HEX >= 0x02020000
47534 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47536 #if PY_VERSION_HEX >= 0x02030000
47539 #ifdef COUNT_ALLOCS
47540 0,0,0,0 /* tp_alloc -> tp_next */
47544 /* Create a variable linking object for use later */
47546 SWIG_Python_newvarlink(void) {
47547 swig_varlinkobject
*result
= 0;
47548 result
= PyMem_NEW(swig_varlinkobject
,1);
47549 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47550 result
->ob_type
= &varlinktype
;
47552 result
->ob_refcnt
= 0;
47553 Py_XINCREF((PyObject
*) result
);
47554 return ((PyObject
*) result
);
47558 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47559 swig_varlinkobject
*v
;
47560 swig_globalvar
*gv
;
47561 v
= (swig_varlinkobject
*) p
;
47562 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47563 gv
->name
= (char *) malloc(strlen(name
)+1);
47564 strcpy(gv
->name
,name
);
47565 gv
->get_attr
= get_attr
;
47566 gv
->set_attr
= set_attr
;
47567 gv
->next
= v
->vars
;
47571 /* -----------------------------------------------------------------------------
47572 * constants/methods manipulation
47573 * ----------------------------------------------------------------------------- */
47575 /* Install Constants */
47577 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47580 for (i
= 0; constants
[i
].type
; i
++) {
47581 switch(constants
[i
].type
) {
47583 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47585 case SWIG_PY_FLOAT
:
47586 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47588 case SWIG_PY_STRING
:
47589 if (constants
[i
].pvalue
) {
47590 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47592 Py_INCREF(Py_None
);
47596 case SWIG_PY_POINTER
:
47597 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47599 case SWIG_PY_BINARY
:
47600 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47607 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47613 /* -----------------------------------------------------------------------------*/
47614 /* Fix SwigMethods to carry the callback ptrs when needed */
47615 /* -----------------------------------------------------------------------------*/
47618 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47619 swig_const_info
*const_table
,
47620 swig_type_info
**types
,
47621 swig_type_info
**types_initial
) {
47623 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47624 char *c
= methods
[i
].ml_doc
;
47625 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47627 swig_const_info
*ci
= 0;
47628 char *name
= c
+ 10;
47629 for (j
= 0; const_table
[j
].type
; j
++) {
47630 if (strncmp(const_table
[j
].name
, name
,
47631 strlen(const_table
[j
].name
)) == 0) {
47632 ci
= &(const_table
[j
]);
47637 size_t shift
= (ci
->ptype
) - types
;
47638 swig_type_info
*ty
= types_initial
[shift
];
47639 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47640 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47641 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47643 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47644 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47646 strncpy(buff
, "swig_ptr: ", 10);
47648 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47649 methods
[i
].ml_doc
= ndoc
;
47655 /* -----------------------------------------------------------------------------*
47656 * Initialize type list
47657 * -----------------------------------------------------------------------------*/
47659 #if PY_MAJOR_VERSION < 2
47660 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47661 is copied out of Python/modsupport.c in python version 2.3.4 */
47663 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47666 if (!PyModule_Check(m
)) {
47667 PyErr_SetString(PyExc_TypeError
,
47668 "PyModule_AddObject() needs module as first arg");
47672 PyErr_SetString(PyExc_TypeError
,
47673 "PyModule_AddObject() needs non-NULL value");
47677 dict
= PyModule_GetDict(m
);
47678 if (dict
== NULL
) {
47679 /* Internal error -- modules must have a dict! */
47680 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47681 PyModule_GetName(m
));
47684 if (PyDict_SetItemString(dict
, name
, o
))
47691 static swig_type_info
**
47692 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47693 static PyMethodDef swig_empty_runtime_method_table
[] = {
47695 NULL
, NULL
, 0, NULL
47699 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47700 swig_empty_runtime_method_table
);
47701 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47702 if (pointer
&& module) {
47703 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47705 return type_list_handle
;
47708 static swig_type_info
**
47709 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47710 swig_type_info
**type_pointer
;
47712 /* first check if module already created */
47713 type_pointer
= SWIG_Python_GetTypeListHandle();
47714 if (type_pointer
) {
47715 return type_pointer
;
47717 /* create a new module and variable */
47718 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47726 /* -----------------------------------------------------------------------------*
47727 * Partial Init method
47728 * -----------------------------------------------------------------------------*/
47730 #ifdef SWIG_LINK_RUNTIME
47734 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47740 SWIGEXPORT(void) SWIG_init(void) {
47741 static PyObject
*SWIG_globals
= 0;
47742 static int typeinit
= 0;
47745 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47747 /* Fix SwigMethods to carry the callback ptrs when needed */
47748 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47750 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47751 d
= PyModule_GetDict(m
);
47754 #ifdef SWIG_LINK_RUNTIME
47755 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47757 # ifndef SWIG_STATIC_RUNTIME
47758 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47761 for (i
= 0; swig_types_initial
[i
]; i
++) {
47762 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47766 SWIG_InstallConstants(d
,swig_const_table
);
47769 #ifndef wxPyUSE_EXPORT
47770 // Make our API structure a CObject so other modules can import it
47771 // from this module.
47772 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47773 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47778 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47781 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47784 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47787 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47790 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47793 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47796 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47799 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47802 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47805 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47808 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47811 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47814 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47817 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47820 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47823 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47826 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47829 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47832 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47835 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47838 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47841 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47844 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47847 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47850 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47853 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47856 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47859 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47862 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47865 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47868 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47871 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47874 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47877 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47880 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47883 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47886 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47889 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47892 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47895 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47898 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47901 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47904 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47907 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47910 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47913 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47916 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47919 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47922 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47925 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47928 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47931 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47934 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47937 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47940 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47943 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47946 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47949 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47952 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47955 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47958 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47961 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47964 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47967 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47970 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47973 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47976 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47979 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47982 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47985 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47988 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47991 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47994 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47997 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48000 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48003 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48006 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48009 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48012 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48015 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48018 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48021 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48024 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48027 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48030 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48033 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48036 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48039 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48042 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48045 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48048 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48051 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48054 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48057 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48060 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48063 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48066 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48069 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48072 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48075 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48078 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48081 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48084 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48087 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48090 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48093 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48096 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48099 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48102 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48105 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48108 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48111 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48114 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48117 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48120 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48123 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48126 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48129 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48132 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48135 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48138 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48141 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48144 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48147 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48150 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48153 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48156 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48159 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48162 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48165 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48168 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48171 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48174 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48177 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48180 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48183 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48186 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48189 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48192 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48195 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48198 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48201 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48204 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48207 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48210 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48213 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48216 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48219 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48222 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48225 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48228 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48231 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48234 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48237 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48240 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48243 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48246 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48249 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48252 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48255 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48258 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48261 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48264 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48267 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48270 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48273 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48276 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48279 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48282 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48285 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48288 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48291 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48294 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48297 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48300 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48303 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48306 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48309 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48312 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48315 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48318 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48321 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48324 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48327 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48330 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48333 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48336 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48339 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48342 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48345 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48348 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48351 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48354 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48357 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48360 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48363 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48366 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48369 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48372 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48375 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48378 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48381 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48384 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48387 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48390 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48393 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48396 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48399 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48402 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48405 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48408 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48411 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48414 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48417 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48420 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48423 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48426 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48429 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48432 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48435 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48438 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48441 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48444 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48447 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48450 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48453 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48456 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48459 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48462 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48465 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48468 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48471 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48474 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48477 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48480 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48483 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48486 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48489 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48492 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48495 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48498 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48501 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48504 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48507 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48510 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48513 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48516 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48519 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48522 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48525 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48528 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48531 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48534 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48537 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48540 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48543 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48546 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48549 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48552 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48555 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48558 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48561 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48564 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48567 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48570 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48573 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48576 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48579 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48582 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48585 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48588 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48591 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48594 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48597 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48600 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48603 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48606 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48609 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48612 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48615 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48618 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48621 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48624 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48627 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48630 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48633 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48636 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48639 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48642 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48645 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48648 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48651 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48654 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48657 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48660 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48663 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48666 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48669 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48672 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48675 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48678 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48681 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48684 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48687 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48690 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48693 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48696 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48699 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48702 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48705 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48708 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48711 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48714 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48717 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48720 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48723 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48726 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48729 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48732 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48735 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48738 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48741 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48744 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48747 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48750 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48753 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48756 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48759 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48762 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48765 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48768 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48771 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48774 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48777 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48780 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48783 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48786 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48789 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48792 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48795 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48798 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48801 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48804 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48807 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48810 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48813 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48816 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48819 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48822 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48825 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48828 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48831 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48834 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48837 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48840 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48843 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48846 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48849 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48852 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48855 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48858 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48861 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48864 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48867 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48870 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48873 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48876 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48879 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48882 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48885 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48888 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48891 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48894 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48897 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48900 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48903 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48906 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48909 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48912 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48915 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48918 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48921 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48924 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48927 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48930 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48933 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48936 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48939 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48942 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48945 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48948 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48951 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48954 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48957 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48960 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48963 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48966 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48969 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48972 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48975 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48978 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48981 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48984 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48987 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48990 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48993 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48996 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48999 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49002 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49005 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49008 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49011 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49014 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49017 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49020 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49023 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49026 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49029 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49032 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49035 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49038 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49041 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49044 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49047 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49050 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49053 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49056 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49059 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49062 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49065 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49068 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49071 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49074 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49077 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49080 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49083 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49086 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49089 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49092 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49095 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49098 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49101 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49104 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49107 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49110 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49113 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49116 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49119 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49122 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49125 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49128 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49131 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49134 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49137 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49140 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49143 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49146 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49149 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49152 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49155 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49158 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49161 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49164 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49167 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49170 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49173 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49176 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49179 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49182 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49185 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49188 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49191 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49194 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49197 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49200 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49203 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49206 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49209 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49212 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49215 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49218 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49221 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49224 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49227 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49230 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49233 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49236 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49239 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49242 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49245 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49248 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49251 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49254 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49257 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49260 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49263 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49266 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49269 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49272 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49275 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49278 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49281 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49284 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49287 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49290 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49293 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49296 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49299 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49302 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49305 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49308 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49311 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49314 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49317 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49320 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49323 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49326 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49329 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49332 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49335 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49338 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49341 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49344 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49347 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49350 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49353 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49356 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49359 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49362 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49365 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49368 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49371 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49374 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49377 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49380 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49383 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49386 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49389 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49392 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49395 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49398 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49401 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49404 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49407 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49410 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49413 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49416 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49419 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49422 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49425 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49428 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49431 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49434 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49436 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49437 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49439 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49442 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49445 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49448 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49451 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49454 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49457 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49460 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49463 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49466 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49469 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49472 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49475 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49478 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49481 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49484 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49487 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49490 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49493 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49496 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49499 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49502 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49505 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49508 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49511 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49514 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49517 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49520 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49523 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49526 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49529 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49532 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49535 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49538 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49541 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49544 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49547 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49550 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49553 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49556 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49559 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49562 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49565 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49568 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49571 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49574 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49577 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49580 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49583 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49586 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49589 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49591 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49592 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49594 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49597 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49600 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49603 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49606 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49609 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49612 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49615 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49617 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49618 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49619 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49620 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49621 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49622 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49623 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49624 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49625 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49626 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49628 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49631 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49633 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49634 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49635 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49636 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49637 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49638 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49640 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49643 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49646 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49649 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49652 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49655 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49658 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49661 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49664 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49667 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49670 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49673 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49676 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49679 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49682 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49685 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49687 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49688 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49689 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49690 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49691 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49692 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49695 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49696 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49698 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49699 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49700 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49701 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49702 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49703 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49706 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49707 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49708 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49709 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49710 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49711 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49712 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49713 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49714 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49715 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49716 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49717 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49718 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49719 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49720 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49721 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49722 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49723 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49724 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49725 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49726 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49727 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49728 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49729 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49730 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49731 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49732 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49733 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49734 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49735 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49736 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49737 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49738 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49739 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49740 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49741 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49742 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49743 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49744 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49745 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49746 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49747 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49748 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49749 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49750 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49751 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49752 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49756 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49757 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49758 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49759 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49760 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49761 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49762 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49763 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49764 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49765 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49766 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49767 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49768 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49769 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49770 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49771 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49772 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49773 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49774 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49775 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49776 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49777 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49778 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49779 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49780 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49781 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49782 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49783 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49784 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49785 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49786 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49787 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49788 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49789 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49790 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49791 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49792 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49793 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49794 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
49795 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49796 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49797 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49798 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49799 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49801 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49803 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49806 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49809 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49812 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49815 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49818 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49821 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49824 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49827 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49830 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49833 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49836 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49839 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49841 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49843 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49846 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49849 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49852 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49855 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49858 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49860 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49861 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49863 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49866 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49869 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49872 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49875 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49877 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49878 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49880 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49883 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49886 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49888 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49890 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49893 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49896 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49899 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49902 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49905 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49908 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49911 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49914 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49917 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49920 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49923 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49926 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49929 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49932 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49935 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49938 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49941 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49944 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49947 // Initialize threading, some globals and such
49951 // Although these are defined in __version__ they need to be here too so
49952 // that an assert can be done to ensure that the wxPython and the wxWindows
49954 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49955 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49956 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));